mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-26 06:48:04 +02:00
18 lines
561 B
TeX
18 lines
561 B
TeX
\documentclass[varwidth=true, border=2pt]{standalone}
|
|
\usepackage{tikz}
|
|
\usetikzlibrary{arrows,positioning}
|
|
\tikzset{
|
|
%Define standard arrow tip
|
|
>=stealth',
|
|
% Define arrow style
|
|
pil/.style={->,thick}
|
|
}
|
|
|
|
\begin{document}
|
|
\begin{tikzpicture}
|
|
\draw[fill=gray!30, label=$a$] (0,0) -- node[above, near start] {$\cdot$} (0.5,0)
|
|
arc (0:90:0.5cm);
|
|
\draw[pil] (0,0) -- node[near end, above] {$\vec e_1$} (2cm, 0);
|
|
\draw[pil] (0,0) -- node[near end, right] {$\vec e_2$} (0, 2cm);
|
|
\end{tikzpicture}
|
|
\end{document}
|