summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-1.3.3.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-1.3.3.tex')
-rw-r--r--Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-1.3.3.tex29
1 files changed, 29 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-1.3.3.tex b/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-1.3.3.tex
new file mode 100644
index 00000000000..5bf623549a2
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-1.3.3.tex
@@ -0,0 +1,29 @@
+\input{preamble-standalone.ltx}
+\begin{document}
+
+% Ex. No. 10 (Section 1.3.3 : Complete but minimal example)
+
+\begin{tikzpicture}[scale=1,ra/.style={fill=gray!20}]
+ % fixed points
+ \tkzDefPoint(0,0){A}
+ \tkzDefPoint(1,0){I}
+ % calculation
+ \tkzDefPointBy[homothety=center A ratio 10 ](I) \tkzGetPoint{B}
+ \tkzDefMidPoint(A,B) \tkzGetPoint{M}
+ \tkzDefPointWith[orthogonal](I,M) \tkzGetPoint{H}
+ \tkzInterLC(I,H)(M,B) \tkzGetSecondPoint{C}
+ \tkzDrawSegment[style=orange](I,C)
+ \tkzDrawArc(M,B)(A)
+ \tkzDrawSegment[dim={$1$,-16pt,}](A,I)
+ \tkzDrawSegment[dim={$a/2$,-10pt,}](I,M)
+ \tkzDrawSegment[dim={$a/2$,-16pt,}](M,B)
+ \tkzMarkRightAngle[ra](A,I,C)
+ \tkzDrawPoints(I,A,B,C,M)
+ \tkzLabelPoint[left](A){$A(0,0)$}
+ \tkzLabelPoints[above right](I,M)
+ \tkzLabelPoints[above left](C)
+ \tkzLabelPoint[right](B){$B(10,0)$}
+ \tkzLabelSegment[right=4pt](I,C){$\sqrt{a^2}=a \ (a>0)$}
+\end{tikzpicture}
+
+\end{document} \ No newline at end of file