I am trying to put a regular polygon in to a circle. The endpoints of the pentagon should be on my circle. Is there a way I can do this? I have found a method, but is there an easier way? I had to use GeoGeobra and manual put in points. Here is the code I used.
Code: Select all
\documentclass{article}
\usepackage{pst-eucl}
\usepackage{pst-poly}
\usepackage{pstricks-add}
\begin{document}
\pstGeonode[PointName=none,CurveType=polygon,PointSymbol=none,fillstyle=solid,fillcolor=gray](-0.31,1.9){I}(-1.9,0.32){D}(-0.89,-1.69){E}(1.34,-1.34){F}(1.69,0.88){J}
\pstCircleABC[PointName=none]{I}{D}{E}{F}{O}
\end{document}