summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-22-4-1.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-22-4-1.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-22-4-1.tex16
1 files changed, 16 insertions, 0 deletions
diff --git a/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-22-4-1.tex b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-22-4-1.tex
new file mode 100644
index 0000000000..6ddd6bb111
--- /dev/null
+++ b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-22-4-1.tex
@@ -0,0 +1,16 @@
+\input{preamble-standalone.ltx}
+\begin{document}
+
+% Ex. No. 162 (Section 22.4.1 : Exemple de marquage d'un angle droit)
+
+\begin{tikzpicture}
+ \tkzDefPoints{0/0/A,3/1/B,0.9/-1.2/P}
+ \tkzDefPointBy[projection = onto B--A](P) \tkzGetPoint{H}
+ \tkzDrawLines[add=.5 and .5](P,H)
+ \tkzMarkRightAngle[fill=blue!20,size=.5,draw](A,H,P)
+ \tkzDrawPoints[](A,B,P,H)
+ \tkzDrawLines[add=.5 and .5](A,B)
+ \tkzMarkRightAngle[fill=red!20,size=.8](B,H,P)
+\end{tikzpicture}
+
+\end{document}