Debian Codegraph @

texmf-dist/doc/latex/tkz-elements/examples/tkz-elements-demo_5.tex

raw
1 % !TEX TS-program = lualatex
2 % Created by Alain Matthes on 2024-12-25.
3 % Copyright (c) 2024 AlterMundus.
4 \documentclass[margin = 12pt]{standalone}
5 \usepackage[mini]{tkz-euclide}
6 \usepackage{tkz-elements}
7
8 \begin{document}
9
10 \directlua{loadfile("lua/" .. tex.jobname .. ".lua")(1.4)}
11
12 \begin{tikzpicture}
13 \tkzGetNodes
14 \tkzFillPolygon[lightgray!30](A,B,C)
15 \foreach \n/\c in {1/red,2/orange,3/yellow,4/green,5/blue,6/violet}
16 {
17 \tkzFillCircle[\c!30,opacity=.4](c\n,t\n)
18 \tkzDrawCircle[thick,\c](c\n,t\n)
19 }
20 \tkzDrawPolygon[thick](A,B,C)
21 \tkzDrawPoints(A,B,C)
22 \end{tikzpicture}
23
24 \end{document}
25