summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-9.2.0.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-9.2.0.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-9.2.0.tex16
1 files changed, 16 insertions, 0 deletions
diff --git a/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-9.2.0.tex b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-9.2.0.tex
new file mode 100644
index 0000000000..4b83d72a9a
--- /dev/null
+++ b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-9.2.0.tex
@@ -0,0 +1,16 @@
+\input{preamble-standalone.ltx}
+\begin{document}
+
+% Ex. No. 50 (Section 9.2 : Example of translation)
+
+\begin{tikzpicture}[>=latex]
+ \tkzDefPoint(0,0){A} \tkzDefPoint(3,1){B}
+ \tkzDefPoint(3,0){C}
+ \tkzDefPointBy[translation= from B to A](C)
+ \tkzGetPoint{D}
+ \tkzDrawPoints[teal](A,B,C,D)
+ \tkzLabelPoints[color=teal](A,B,C,D)
+ \tkzDrawSegments[orange,->](A,B D,C)
+\end{tikzpicture}
+
+\end{document} \ No newline at end of file