diff --git a/tikz/vector-triangle-inequality/vector-triangle-inequality.svg b/tikz/vector-triangle-inequality/vector-triangle-inequality.svg deleted file mode 100644 index a63ce5f..0000000 --- a/tikz/vector-triangle-inequality/vector-triangle-inequality.svg +++ /dev/null @@ -1,429 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tikz/vector-triangle-inequality/vector-triangle-inequality.tex b/tikz/vector-triangle-inequality/vector-triangle-inequality.tex index 0c2938c..3cd061a 100644 --- a/tikz/vector-triangle-inequality/vector-triangle-inequality.tex +++ b/tikz/vector-triangle-inequality/vector-triangle-inequality.tex @@ -7,20 +7,17 @@ \definecolor{xvectorcolor}{HTML}{77933C} \begin{document} -\begin{tikzpicture}[] +\begin{tikzpicture}[font=\boldmath]\large % Punkte \coordinate (A) at (0,0) {}; \coordinate (B) at (5,0) {}; \coordinate (C) at (2,2) {}; % Draw the triangle - \path[fill=blue!10, fill=blue!10] (A) -- (B) -- (C) -- (A); - \draw[->, ultra thick,fill=gray!10, xvectorcolor, arrows={-latex}] (A) -- (C) node[sloped,midway,above] {$x$}; - \draw[->, ultra thick,fill=gray!10, blue!80, arrows={-latex}] (C) -- (B) node[sloped,midway,above] {$y$}; - \draw[->, ultra thick,fill=gray!10, red!80, arrows={-latex}] (A) -- (B) node[sloped,midway,above] {$z = x + y$}; - \coordinate (A) -- (B) node[sloped,midway,below] {$\|z\| = \|x+y\| \leq \|x\| + \|y\|$}; - - - + \path[fill=blue!10, fill=blue!5] (A) -- (B) -- (C) -- (A); + \draw[->, ultra thick, xvectorcolor, arrows={-latex}] (A) -- (C) node[sloped,midway,above] {$\mathsf{x}$}; + \draw[->, ultra thick, blue!80, arrows={-latex}] (C) -- (B) node[sloped,midway,above] {$\mathsf{y}$}; + \draw[->, ultra thick, red!80, arrows={-latex}] (A) -- (B) node[sloped,midway,above] {$\mathsf{z = x+y}$}; + %\coordinate (A) -- (B) node[sloped,midway,below] {$\mathsf{\|z\| = \|x+y\| \leq \|x\| + \|y\|}$}; \end{tikzpicture} \end{document}