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-3-1.tex
2012-09-28 21:25:50 +02:00

23 lines
627 B
TeX

\documentclass[varwidth=true, border=2pt]{standalone}
\usepackage{gensymb}
\usepackage{tikz}
\usetikzlibrary{arrows,positioning,decorations.pathreplacing,shapes}
\tikzset{
%Define standard arrow tip
>=stealth',
% Define arrow style
pil/.style={->,thick}
}
\begin{document}
\begin{tikzpicture}
\tikzset{
%Define standard arrow tip
>=stealth',
% Define arrow style
pil/.style={->,thick}
}
\draw[pil] (0,0) -- node[near end, above] {$\vec a$} (3cm, 0cm);
\draw[pil] (0,0.5cm) -- node[near end, above] {$\vec b$} (2cm,0.5cm);
\end{tikzpicture}
\end{document}