diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-08-1-1.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-08-1-1.tex | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-08-1-1.tex b/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-08-1-1.tex new file mode 100644 index 00000000000..60d9222e9c0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tkz-euclide/examples/tkzEuclide-08-1-1.tex @@ -0,0 +1,24 @@ +\input{preamble-standalone.ltx} +\begin{document} + +% Ex. No. 38 (Section 8.1.1 : Use of option \tkzname{pos} 1) + + \begin{tikzpicture} + \tkzDefPoints{0/0/A,4/0/B} + \tkzDrawLine[red](A,B) + \tkzDefPointOnLine[pos=1.2](A,B) + \tkzGetPoint{P} + \tkzDefPointOnLine[pos=-0.2](A,B) + \tkzGetPoint{R} + \tkzDefPointOnLine[pos=0.5](A,B) + \tkzGetPoint{S} + \tkzDrawPoints(A,B,P) + \tkzLabelPoints(A,B) + \tkzLabelPoint[above](P){pos=$1.2$} + \tkzLabelPoint[above](R){pos=$-.2$} + \tkzLabelPoint[above](S){pos=$.5$} + \tkzDrawPoints(A,B,P,R,S) + \tkzLabelPoints(A,B) +\end{tikzpicture} + +\end{document} |