summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-14-1-5.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-14-1-5.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-14-1-5.tex15
1 files changed, 15 insertions, 0 deletions
diff --git a/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-14-1-5.tex b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-14-1-5.tex
new file mode 100644
index 0000000000..0fa5586acc
--- /dev/null
+++ b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-14-1-5.tex
@@ -0,0 +1,15 @@
+\input{preamble-standalone.ltx}
+\begin{document}
+
+% Ex. No. 78 (Section 14.1.5 : Altitudes in a triangle)
+
+\begin{tikzpicture}[scale=1.25]
+ \tkzDefPoint(0,0){A} \tkzDefPoint(4,0){B}
+ \tkzDefPoint(1,3){C} \tkzDrawPolygon(A,B,C)
+ \tkzSetUpLine[color=magenta]
+ \tkzDrawLine[altitude](B,C,A)
+ \tkzDrawLine[altitude](C,A,B)
+ \tkzDrawLine[altitude](A,B,C)
+\end{tikzpicture}
+
+\end{document}