summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-base/examples/tkzBase-8.2.1.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-base/examples/tkzBase-8.2.1.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-base/examples/tkzBase-8.2.1.tex17
1 files changed, 17 insertions, 0 deletions
diff --git a/macros/latex/contrib/tkz/tkz-base/examples/tkzBase-8.2.1.tex b/macros/latex/contrib/tkz/tkz-base/examples/tkzBase-8.2.1.tex
new file mode 100644
index 0000000000..46ac455fc6
--- /dev/null
+++ b/macros/latex/contrib/tkz/tkz-base/examples/tkzBase-8.2.1.tex
@@ -0,0 +1,17 @@
+\input{preamble-standalone.ltx}
+\begin{document}
+
+% Ex. No. 57 (Section 8.2.1 : Rotation with \tkzname{shift} and \tkzname{scope})
+
+\begin{tikzpicture}[scale=.75,rotate=90]
+ \tkzDefPoint[label=right:$A_n$](2,3){A}
+ \begin{scope}[shift={(A)}]
+ \tkzDefPoint[label= right:$B_n$](31:3){B}
+ \tkzDefPoint[label= right:$C_n$](158:3){C}
+ \end{scope}
+ \tkzDrawSegments[color=red,%
+ line width=1pt](A,B A,C)
+ \tkzDrawPoints[color=red](A,B,C)
+\end{tikzpicture}
+
+\end{document} \ No newline at end of file