summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-elements/examples/tkz-elements-demo_4.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-elements/examples/tkz-elements-demo_4.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-elements/examples/tkz-elements-demo_4.tex7
1 files changed, 4 insertions, 3 deletions
diff --git a/macros/latex/contrib/tkz/tkz-elements/examples/tkz-elements-demo_4.tex b/macros/latex/contrib/tkz/tkz-elements/examples/tkz-elements-demo_4.tex
index 5dcf23e1ba..de8e4d335d 100644
--- a/macros/latex/contrib/tkz/tkz-elements/examples/tkz-elements-demo_4.tex
+++ b/macros/latex/contrib/tkz/tkz-elements/examples/tkz-elements-demo_4.tex
@@ -7,7 +7,7 @@
\usepackage{tkz-elements}
\begin{document}
-\begin{tkzelements}
+\directlua{
scale = 2
z.A = point: new(0,0)
z.B = point: new(5,0)
@@ -17,13 +17,14 @@
z.E,z.F,z.G = get_points (T.EFG)
z.S = T.ABC: medial (): circum_circle ().south
z.O = T.ABC: medial ().circumcenter
-\end{tkzelements}
+}
\begin{tikzpicture}
\tkzGetNodes
\tkzDrawPolygons(A,B,C E,F,G)
\tkzDrawCircle(O,E)
\tkzDrawPoints(A,B,C,O,S,E,F,G)
- \tkzLabelPoints(A,B,O,S,E,F,G)
+ \tkzLabelPoints(A,B,O,S,G)
+ \tkzLabelPoints[above](E,F)
\tkzLabelPoints[above](C)
\end{tikzpicture}