\input{preamble-standalone.ltx}
\begin{document}

% Ex. No. 56 (Section 11.1.8 : \tkzcname{tkzDefPointWith}  \tkzname{orthogonal normed}, K=1)

\begin{tikzpicture}[scale=1.2,
  vect/.style={->,shorten >=3pt,>=latex'}]
  \tkzDefPoint(2,3){A}   \tkzDefPoint(4,2){B}
  \tkzDefPointWith[orthogonal normed](A,B)
  \tkzGetPoint{C}
  \tkzDrawPoints[color=red](A,B,C)
  \tkzDrawSegments[vect](A,B A,C)
  \tkzMarkRightAngle[fill=gray!20](B,A,C)
\end{tikzpicture}

\end{document}
