summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-euclide/examples/tkzeuclide-23-2-8.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-01-25 03:01:31 +0000
committerNorbert Preining <norbert@preining.info>2020-01-25 03:01:31 +0000
commit75672286990bb55c7b46277f845d14eafcf2ba61 (patch)
tree29456eb5880d5a2629b2ae329423c9ceaaaf6887 /macros/latex/contrib/tkz/tkz-euclide/examples/tkzeuclide-23-2-8.tex
parente1192611f0655a1ccaff0dff2f53c7c65fa5db07 (diff)
CTAN sync 202001250301
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-euclide/examples/tkzeuclide-23-2-8.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-euclide/examples/tkzeuclide-23-2-8.tex15
1 files changed, 15 insertions, 0 deletions
diff --git a/macros/latex/contrib/tkz/tkz-euclide/examples/tkzeuclide-23-2-8.tex b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzeuclide-23-2-8.tex
new file mode 100644
index 0000000000..d25d796e12
--- /dev/null
+++ b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzeuclide-23-2-8.tex
@@ -0,0 +1,15 @@
+\begin{tikzpicture}[scale=.75]
+ \tkzDefPoints{0/0/A,8/0/B,4/0/I}
+ \tkzDefSquare(A,B) \tkzGetPoints{C}{D}
+ \tkzInterLC(I,C)(I,B)\tkzGetPoints{E'}{E}
+ \tkzInterLC(I,D)(I,B)\tkzGetPoints{F'}{F}
+ \tkzDefPointsBy[projection = onto A--B](E,F){H,G}
+ \tkzDefPointsBy[symmetry = center H](I){J}
+ \tkzDefSquare(H,J)\tkzGetPoints{K}{L}
+ \tkzDrawSector[fill=Maroon!30](I,B)(A)
+ \tkzFillPolygon[color=red!40](H,E,F,G)
+ \tkzFillPolygon[color=blue!40](H,J,K,L)
+ \tkzDrawPolySeg[color=red](H,E,F,G)
+ \tkzDrawPolySeg[color=red](J,K,L)
+ \tkzDrawPoints(E,G,H,F,J,K,L)
+\end{tikzpicture}