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

% Ex. No. 139 (Section 17.10.2 : Option \tkzname{side})

\begin{tikzpicture}[scale=1]
    \tkzDefPoints{-4/0/A, -1/0/B}
    \tkzDefRegPolygon[side,sides=5,name=P](A,B)
    \tkzDrawPolygon[thick](P1,P...,P5)
\end{tikzpicture}

\end{document}