summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-base/examples/tkzBase-08-1-1.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-base/examples/tkzBase-08-1-1.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-base/examples/tkzBase-08-1-1.tex14
1 files changed, 14 insertions, 0 deletions
diff --git a/macros/latex/contrib/tkz/tkz-base/examples/tkzBase-08-1-1.tex b/macros/latex/contrib/tkz/tkz-base/examples/tkzBase-08-1-1.tex
new file mode 100644
index 0000000000..538d1c8a5e
--- /dev/null
+++ b/macros/latex/contrib/tkz/tkz-base/examples/tkzBase-08-1-1.tex
@@ -0,0 +1,14 @@
+\input{preamble-standalone.ltx}
+\begin{document}
+
+% Ex. No. 48 (Section 8.1.1 : Utilisation de \tkzname{shift})
+
+\begin{tikzpicture}[trim left=-1cm]
+ \tkzDefPoint(2,3){A}
+ \tkzDefPoint[shift={(2,3)}](31:3){B}
+ \tkzDefPoint[shift={(2,3)}](158:3){C}
+ \tkzDrawSegments[color=red,line width=1pt](A,B A,C)
+ \tkzDrawPoints[color=red](A,B,C)
+\end{tikzpicture}
+
+\end{document}