2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00
LaTeX-examples/tikz/coordinate-system-1/coordinate-system-1.tex

26 lines
697 B
TeX
Raw Normal View History

2014-01-23 12:12:01 +01:00
\documentclass[varwidth=true, border=2pt]{standalone}
\usepackage{tkz-euclide}
\usepackage{tikz}
\usetikzlibrary{patterns}
\begin{document}
\usetkzobj{all}
\begin{tikzpicture}
\tkzSetUpPoint[shape=circle,size=10,color=black,fill=black]
\tkzSetUpLine[line width=1]
\tkzDefPoints{0/0/O, 1/0/X, 0/1/Y, 2/1/P}
\tkzMarkAngle[fill=green!20,size=0.3cm,opacity=.5](X,O,Y)
\tkzLabelAngle[pos=0.15](X,O,Y){$\cdot$}
2014-01-23 12:12:01 +01:00
\tkzDrawLine[add=3 and 2](O,X)
\tkzLabelLine[below,pos=3](O,X){$g_1$}
\tkzLabelLine[right,pos=3](O,Y){$g_2$}
\tkzDrawLine[add=3 and 2](O,Y)
\tkzLabelPoint(P){$P$}
\node at ($(-2,2)$){$X$};
\tkzDrawPoints(P)
\end{tikzpicture}
\end{document}