summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-11-1-1.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-11-1-1.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-11-1-1.tex17
1 files changed, 17 insertions, 0 deletions
diff --git a/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-11-1-1.tex b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-11-1-1.tex
new file mode 100644
index 0000000000..c2f47fac43
--- /dev/null
+++ b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-11-1-1.tex
@@ -0,0 +1,17 @@
+\input{preamble-standalone.ltx}
+\begin{document}
+
+% Ex. No. 49 (Section 11.1.1 : \tkzcname{tkzDefPointWith} et \tkzname{colinear at})
+
+\begin{tikzpicture}[scale=1.2,
+ vect/.style={->,shorten >=3pt,>=latex'}]
+ \tkzDefPoint(2,3){A} \tkzDefPoint(4,2){B}
+ \tkzDefPoint(0,1){C}
+ \tkzDefPointWith[colinear=at C](A,B)
+ \tkzGetPoint{D}
+ \tkzDrawPoints[color=red](A,B,C,D)
+ \tkzLabelPoints[above right=3pt](A,B,C,D)
+ \tkzDrawSegments[vect](A,B C,D)
+\end{tikzpicture}
+
+\end{document}