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

% Ex. No. 125 (Section 17.1.2 : Use of \tkzcname{tkzDefSquare} to obtain an isosceles right-angled triangle)

\begin{tikzpicture}[scale=1]
  \tkzDefPoint(0,0){A}
  \tkzDefPoint(3,0){B}
  \tkzDefSquare(A,B) \tkzGetFirstPoint{C}
  \tkzDrawPolygon[color=blue,fill=blue!30](A,B,C)
\end{tikzpicture}

\end{document}