summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-10.1.8.tex
blob: a157dfdc05c8d98f95789a27069fb33763f8f29f (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. 67 (Section 10.1.8 : Option  \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}