1 2 3 4 5 6 7 8 9 10 11 12
\input{preamble-standalone.ltx} \begin{document} % Ex. No. 21 (Section 4.5 : Create a square) \begin{tikzpicture}[scale=1] \tkzDefPoints{0/0/A,2/0/B,2/2/C,0/2/D} \tkzDrawPolygon(A,...,D) \tkzDrawPoints(A,B,C,D) \end{tikzpicture} \end{document}