Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

📚 The CoCalc Library - books, templates and other resources

132934 views
License: OTHER
1
\documentclass[varwidth=true, border=2pt]{standalone}
2
\usepackage{tikz}
3
\usetikzlibrary{arrows,positioning}
4
\tikzset{
5
%Define standard arrow tip
6
>=stealth',
7
% Define arrow style
8
pil/.style={->,thick}
9
}
10
11
\begin{document}
12
\begin{tikzpicture}
13
\draw[fill=gray!30, label=$a$] (0,0) -- node[above, near start] {$\cdot$} (0.5,0)
14
arc (0:90:0.5cm);
15
\draw[pil] (0,0) -- node[near end, above] {$\vec e_1$} (2cm, 0);
16
\draw[pil] (0,0) -- node[near end, right] {$\vec e_2$} (0, 2cm);
17
\end{tikzpicture}
18
\end{document}
19
20