2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00
LaTeX-examples/documents/gallery/dot-product-1.tex

21 lines
555 B
TeX
Raw Normal View History

2012-09-28 12:18:33 +02:00
\documentclass[varwidth=true, border=2pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows,positioning}
\begin{document}
\begin{tikzpicture}
\tikzset{
%Define standard arrow tip
>=stealth',
% Define arrow style
pil/.style={->,thick}
}
\draw[fill=green!30] (0,0) -- (90:.75cm) arc (90:27:.75cm);
\draw[pil,color=black] (0,0) -- node[right=2pt] {$\vec a$} (27:2.2cm);
\draw[pil,color=black] (0,0) -- node[near end, right=-3pt] {$\vec b$} (90:2cm);
\draw(60:0.5cm) node {$\varphi$};
\end{tikzpicture}
\end{document}