mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-26 06:48:04 +02:00
changed color; used ultra thick arrows
This commit is contained in:
parent
2a408597cb
commit
2dc005e085
1 changed files with 6 additions and 3 deletions
|
@ -3,6 +3,9 @@
|
||||||
\usetikzlibrary{shapes, calc, shapes, arrows}
|
\usetikzlibrary{shapes, calc, shapes, arrows}
|
||||||
\usepackage{amsmath,amssymb}
|
\usepackage{amsmath,amssymb}
|
||||||
|
|
||||||
|
\usepackage{xcolor}
|
||||||
|
\definecolor{xvectorcolor}{HTML}{77933C}
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
\begin{tikzpicture}[]
|
\begin{tikzpicture}[]
|
||||||
% Punkte
|
% Punkte
|
||||||
|
@ -12,9 +15,9 @@
|
||||||
|
|
||||||
% Draw the triangle
|
% Draw the triangle
|
||||||
\path[fill=blue!10, fill=blue!10] (A) -- (B) -- (C) -- (A);
|
\path[fill=blue!10, fill=blue!10] (A) -- (B) -- (C) -- (A);
|
||||||
\draw[->, very thick,fill=gray!10, green!80, arrows={-latex}] (A) -- (C) node[sloped,midway,above] {$x$};
|
\draw[->, ultra thick,fill=gray!10, xvectorcolor, arrows={-latex}] (A) -- (C) node[sloped,midway,above] {$x$};
|
||||||
\draw[->, very thick,fill=gray!10, blue!80, arrows={-latex}] (C) -- (B) node[sloped,midway,above] {$y$};
|
\draw[->, ultra thick,fill=gray!10, blue!80, arrows={-latex}] (C) -- (B) node[sloped,midway,above] {$y$};
|
||||||
\draw[->, very thick,fill=gray!10, red!80, arrows={-latex}] (A) -- (B) node[sloped,midway,above] {$z = x + 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\|$};
|
\coordinate (A) -- (B) node[sloped,midway,below] {$\|z\| = \|x+y\| \leq \|x\| + \|y\|$};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue