Debian Codegraph @

texmf-dist/doc/latex/tkz-elements/examples/tkz-elements-demo_2.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 \begin{document}
8
9 \directlua{dofile("lua/" .. tex.jobname .. ".lua")}
10
11 \begin{tikzpicture}[ scale = .6]
12 \tkzGetNodes
13 \tkzFillCircles[purple!30](O,xa)
14 \tkzFillCircles[teal!30](Ja,Ea Jb,Eb Jc,Ec)
15 \tkzFillCircles[cyan!20](S,a)
16 \tkzFillCircles[purple!30](N,Ea)
17 \tkzDrawPoints(xa,xb,xc)
18 \tkzClipCircle(O,xa)
19 \tkzDrawLines[add=3 and 3](A,B A,C B,C)
20 \tkzDrawCircles(Ja,Ea Jb,Eb Jc,Ec S,a O,xa N,Ea)
21 \tkzDrawPoints(O,A,B,C,S,Ea,Eb,Ec,N)
22 \tkzDrawSegments[dashed](S,xa S,xb S,xc)
23 \tkzLabelPoints(O,N,A,B)
24 \tkzLabelPoints[right](S,C)
25 \end{tikzpicture}
26
27 \end{document}
28
29 % The Feuerbach triangle is the triangle formed by the three points of tangency of the nine-point circle with the excircles