summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-31.2.2.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-31.2.2.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-31.2.2.tex23
1 files changed, 23 insertions, 0 deletions
diff --git a/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-31.2.2.tex b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-31.2.2.tex
new file mode 100644
index 0000000000..73cd6a54c9
--- /dev/null
+++ b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-31.2.2.tex
@@ -0,0 +1,23 @@
+\input{preamble-standalone.ltx}
+\begin{document}
+
+% Ex. No. 247 (Section 31.2.2 : Use of \tkzcname{tkzSetUpPoint} inside a group)
+
+\begin{tikzpicture}
+ \tkzInit[ymin=-0.5,ymax=3,xmin=-0.5,xmax=7]
+ \tkzDefPoint(0,0){A}
+ \tkzDefPoint(02.25,04.25){B}
+ \tkzDefPoint(4,0){C}
+ \tkzDefPoint(3,2){D}
+ \tkzDrawSegments(A,B A,C A,D)
+ {\tkzSetUpPoint[shape=cross out,
+ fill= teal!50,
+ size=4,color=teal]
+ \tkzDrawPoints(A,B)}
+ \tkzSetUpPoint[fill= teal!50,size=4,
+ color=teal]
+ \tkzDrawPoints(C,D)
+ \tkzLabelPoints(A,B,C,D)
+\end{tikzpicture}
+
+\end{document} \ No newline at end of file