summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-base/examples/tkzBase-11-3-1.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-base/examples/tkzBase-11-3-1.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-base/examples/tkzBase-11-3-1.tex22
1 files changed, 22 insertions, 0 deletions
diff --git a/macros/latex/contrib/tkz/tkz-base/examples/tkzBase-11-3-1.tex b/macros/latex/contrib/tkz/tkz-base/examples/tkzBase-11-3-1.tex
new file mode 100644
index 0000000000..a6ea1b43c4
--- /dev/null
+++ b/macros/latex/contrib/tkz/tkz-base/examples/tkzBase-11-3-1.tex
@@ -0,0 +1,22 @@
+\input{preamble-standalone.ltx}
+\begin{document}
+
+% Ex. No. 88 (Section 11.3.1 : Exemple d'utilisation de \tkzcname{tkzFindSlopeAngle})
+
+\begin{tikzpicture}
+ \tkzInit
+ \tkzDefPoint(0,0){A} \tkzDefPoint(3,2){B}
+ \tkzDefLine[mediator](A,B) \tkzGetPoints{I}{J}
+ \tkzCalcLength[cm](A,B) \tkzGetLength{dAB}
+ \tkzFindSlopeAngle(A,B) \tkzGetAngle{tkzangle}
+ \begin{scope}[rotate=\tkzangle]
+ \tikzset{arc/.style={color=gray,delta=10}}
+ \tkzDrawArc[R,arc](B,3/4*\dAB)(120,240)
+ \tkzDrawArc[R,arc](A,3/4*\dAB)(-45,60)
+ \tkzDrawLine(I,J) \tkzDrawSegment(A,B)
+\end{scope}
+ \tkzDrawPoints(A,B,I,J) \tkzLabelPoints(A,B)
+ \tkzLabelPoints[right](I,J)
+\end{tikzpicture}
+
+\end{document}