summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-14.2.1.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-14.2.1.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-14.2.1.tex18
1 files changed, 18 insertions, 0 deletions
diff --git a/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-14.2.1.tex b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-14.2.1.tex
new file mode 100644
index 0000000000..dcb8fe001d
--- /dev/null
+++ b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-14.2.1.tex
@@ -0,0 +1,18 @@
+\input{preamble-standalone.ltx}
+\begin{document}
+
+% Ex. No. 100 (Section 14.2.1 : Place an arrow on segment)
+
+\begin{tikzpicture}
+ \tikzset{
+ arr/.style={postaction=decorate,
+ decoration={markings,
+ mark=at position .5 with {\arrow[thick]{#1}}
+ }}}
+ \tkzDefPoint(0,0){A}
+ \tkzDefPoint(4,-4){B}
+ \tkzDrawSegments[arr=stealth](A,B)
+ \tkzDrawPoints(A,B)
+\end{tikzpicture}
+
+\end{document} \ No newline at end of file