summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-5-0.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-5-0.tex')
-rw-r--r--Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-5-0.tex16
1 files changed, 16 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-5-0.tex b/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-5-0.tex
new file mode 100644
index 00000000000..ac826cc80a7
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-5-0.tex
@@ -0,0 +1,16 @@
+\begin{tikzpicture}
+ \tkzInit
+ \tkzDefPoint(1,5){A} \tkzDefPoint(5,2){B}
+ \tkzDrawSegment(A,B)
+ \tkzFindSlopeAngle(A,B)\tkzGetAngle{tkzang}
+ \tkzDefPointBy[rotation= center A angle \tkzang ](B)
+ \tkzGetPoint{C}
+ \tkzDefPointBy[rotation= center A angle -\tkzang ](B)
+ \tkzGetPoint{D}
+ \tkzCompass[length=1,dashed,color=red](A,C)
+ \tkzCompass[delta=10,Maroon](B,C)
+ \tkzDrawPoints(A,B,C,D)
+ \tkzLabelPoints(B,C,D)
+ \tkzLabelPoints[above left](A)
+ \tkzDrawSegments[style=dashed,color=bistre](A,C A,D)
+\end{tikzpicture}