summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-5.2.2.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-5.2.2.tex')
-rw-r--r--Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-5.2.2.tex24
1 files changed, 24 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-5.2.2.tex b/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-5.2.2.tex
new file mode 100644
index 00000000000..4d9a504efa2
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-5.2.2.tex
@@ -0,0 +1,24 @@
+\input{preamble-standalone.ltx}
+\begin{document}
+
+% Ex. No. 34 (Section 5.2.2 : Using \tkzcname{tkzDefBarycentricPoint} with three points)
+
+\begin{tikzpicture}[scale=.8]
+ \tkzDefPoint(2,1){A}
+ \tkzDefPoint(5,3){B}
+ \tkzDefPoint(0,6){C}
+ \tkzDefBarycentricPoint(A=1,B=1,C=1)
+ \tkzGetPoint{M}
+ \tkzDefMidPoint(A,B) \tkzGetPoint{C'}
+ \tkzDefMidPoint(A,C) \tkzGetPoint{B'}
+ \tkzDefMidPoint(C,B) \tkzGetPoint{A'}
+ \tkzDrawPolygon(A,B,C)
+ \tkzDrawPoints(A',B',C')
+ \tkzDrawPoints(A,B,C,M)
+ \tkzDrawLines[add=0 and 1](A,M B,M C,M)
+ \tkzLabelPoint(M){$M$}
+ \tkzAutoLabelPoints[center=M](A,B,C)
+ \tkzAutoLabelPoints[center=M,above right](A',B',C')
+\end{tikzpicture}
+
+\end{document} \ No newline at end of file