summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-10-3.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-10-3.tex')
-rw-r--r--Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-10-3.tex11
1 files changed, 11 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-10-3.tex b/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-10-3.tex
new file mode 100644
index 00000000000..600cc01cfc2
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-10-3.tex
@@ -0,0 +1,11 @@
+\begin{tikzpicture}[>=latex]
+ \tkzDefPoint(1,4){a}
+ \tkzDefPoint(3,2){b}
+ \tkzDefPoint(1,1){c}
+ \tkzDrawSegment[->,red](a,b)
+ \tkzGetPointCoord(c){c}
+ \draw[color=blue,->](a) -- ([shift=(b)]\cx,\cy) ;
+ \draw[color=purple,->](b) -- ([shift=(b)]\cx,\cy) ;
+ \tkzDrawSegment[->,blue](a,c)
+ \tkzDrawSegment[->,purple](b,c)
+\end{tikzpicture}