1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
\input{preamble-standalone.ltx}
\begin{document}
% Ex. No. 52 (Section 11.1.4 : \tkzcname{tkzDefPointWith} et \tkzname{orthogonal})
\begin{tikzpicture}[scale=1.2,
vect/.style={->,shorten >=3pt,>=latex'}]
\tkzDefPoint(2,3){A}
\tkzDefPoint(4,2){B}
\tkzDefPointWith[orthogonal,K=-1](A,B)
\tkzGetPoint{C}
\tkzDrawPoints[color=red](A,B,C)
\tkzLabelPoints[right=3pt](A,B,C)
\tkzDrawSegments[vect](A,B A,C)
\tkzMarkRightAngle(B,A,C)
\end{tikzpicture}
\end{document}
|