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/geometry-4/geometry-4.tex
2014-01-14 15:54:24 +01:00

21 lines
568 B
TeX

\documentclass[varwidth=true, border=2pt]{standalone}
\usepackage{tkz-euclide}
\begin{document}
\usetkzobj{all}
\begin{tikzpicture}
\tkzSetUpPoint[shape=circle,size=10,color=black,fill=black]
\tkzSetUpLine[line width=1]
\tkzDefPoints{0/0/P, 4/1/Q, 2/3/A, 0/3/B}
\tkzDrawSegments(P,Q Q,A A,P)
\tkzDrawSegments[dashed](P,B B,Q)
\tkzDrawLine(P,Q)
\tkzDrawPoints(P,Q,A,B)
\tkzLabelPoint[below](P){$P$}
\tkzLabelPoint[below](Q){$Q$}
\tkzLabelPoint[above](A){$A$}
\tkzLabelPoint[above](B){$B$}
\end{tikzpicture}
\end{document}