summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-30.1.4.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-30.1.4.tex')
-rw-r--r--Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-30.1.4.tex31
1 files changed, 31 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-30.1.4.tex b/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-30.1.4.tex
new file mode 100644
index 00000000000..e2c28fa15da
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-30.1.4.tex
@@ -0,0 +1,31 @@
+\input{preamble-standalone.ltx}
+\begin{document}
+
+% Ex. No. 229 (Section 30.1.4 : Triangle altitudes)
+
+\begin{tikzpicture}[scale=.8]
+ \tkzDefPoint(0,0){C}
+ \tkzDefPoint(7,0){B}
+ \tkzDefPoint(5,6){A}
+ \tkzDrawPolygon(A,B,C)
+ \tkzDefMidPoint(C,B)
+ \tkzGetPoint{I}
+ \tkzDrawArc(I,B)(C)
+ \tkzInterLC(A,C)(I,B)
+ \tkzGetSecondPoint{B'}
+ \tkzInterLC(A,B)(I,B)
+ \tkzGetFirstPoint{C'}
+ \tkzInterLL(B,B')(C,C')
+ \tkzGetPoint{H}
+ \tkzInterLL(A,H)(C,B)
+ \tkzGetPoint{A'}
+ \tkzDefCircle[circum](A,B',C')
+ \tkzGetPoint{O}
+ \tkzDrawCircle[color=red](O,A)
+ \tkzDrawSegments[color=orange](B,B' C,C' A,A')
+ \tkzMarkRightAngles(C,B',B B,C',C C,A',A)
+ \tkzDrawPoints(A,B,C,A',B',C',H)
+ \tkzLabelPoints(A,B,C,A',B',C',H)
+\end{tikzpicture}
+
+\end{document} \ No newline at end of file