summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-11-1-11.tex
blob: 2977b90624faad08b4051c4b90270432095e53d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
\input{preamble-standalone.ltx}
\begin{document}

% Ex. No. 59 (Section 11.1.11 : \tkzcname{tkzDefPointWith}  \tkzname{linear normed})

\begin{tikzpicture}[scale=1.2]
 \tkzDefPoint(1,3){A}   \tkzDefPoint(4,2){B}
 \tkzDefPointWith[linear normed](A,B)
 \tkzGetPoint{C}
 \tkzDrawPoints[color=red](A,B,C)
 \tkzDrawSegment(A,B)
 \tkzLabelSegment(A,C){$1$}
 \tkzLabelPoints[above right=3pt](A,B,C)
\end{tikzpicture}

\end{document}