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{gensymb}
3
\usepackage{tikz}
4
\usetikzlibrary{arrows,positioning,decorations.pathreplacing,shapes}
5
\tikzset{
6
%Define standard arrow tip
7
>=stealth',
8
% Define arrow style
9
pil/.style={->,thick}
10
}
11
12
\begin{document}
13
\begin{tikzpicture}
14
\tikzset{
15
%Define standard arrow tip
16
>=stealth',
17
% Define arrow style
18
pil/.style={->,thick}
19
}
20
\draw[pil] (0,0) -- node[near end, above] {$\vec a$} (3cm, 0cm);
21
\draw[pil] (0,0.5cm) -- node[near end, above] {$\vec b$} (2cm,0.5cm);
22
\end{tikzpicture}
23
\end{document}
24
25