summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-01-6-1.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-01-6-1.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-01-6-1.tex25
1 files changed, 25 insertions, 0 deletions
diff --git a/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-01-6-1.tex b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-01-6-1.tex
new file mode 100644
index 0000000000..ea6d953b25
--- /dev/null
+++ b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-01-6-1.tex
@@ -0,0 +1,25 @@
+\input{preamble-standalone.ltx}
+\begin{document}
+
+% Ex. No. 7 (Section 1.6.1 : Let's look at a classic example)
+
+ \begin{tikzpicture}[scale=.5]
+ % fixed points
+ \tkzDefPoint(0,0){A}
+ \tkzDefPoint(5,2){B}
+ % calculus
+ \tkzInterCC(A,B)(B,A)
+ \tkzGetPoints{C}{D}
+ % drawings
+ \tkzDrawCircles[gray,dashed](A,B B,A)
+ \tkzDrawPolygon(A,B,C)
+ \tkzDrawPoints(A,...,D)
+ % marking
+ \tkzMarkSegments[mark=s||](A,B B,C C,A)
+ % labelling
+ \tkzLabelSegments[swap](A,B){$c$}
+ \tkzLabelPoints(A,B,D)
+ \tkzLabelPoints[above](C)
+\end{tikzpicture}
+
+\end{document}