%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -*- Mode: Latex -*- %%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% t-poly1.tex --- Test file for PSTricks polygons (`pst-poly')
%%                 Test of variation of PolyNbSides and PolyOffset
%%
%% Author          : Denis GIROU (CNRS/IDRIS - France) <Denis.Girou@idris.fr>
%% Created the     : 1996
%% Last mod. by    : Denis GIROU (CNRS/IDRIS - France) <Denis.Girou@idris.fr>
%% Last mod. the   : Fri Feb 20 22:52:59 1998
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass{article}

\usepackage[dvips]{pstcol}
\usepackage{pst-poly}
\usepackage[baw,pstricks]{fvrb-ex} % Example environments with `fancyvrb'

% Example environments with numbers and frame and 7cm for the graphic
\fvset{numbers=left,frame=single,xrightmargin=7cm}

\textwidth=21cm

\pagestyle{empty}

\begin{document}

\newcounter{MyCount}

\begin{CenterExample}
  \hspace{-9.5cm}
  \multido{\i=3+1}{6}{%
    \PstPolygon[PolyNbSides=§HLCBWzµ\i¶]\hspace{5mm}}
  \PstPolygon[PolyNbSides=§HLCBWzµ30¶]
\end{CenterExample}

\begin{CenterExample}
  \hspace{-9.5cm}
  \multido{\i=3+2}{6}{%
    \PstPolygon[PolyOffset=§HLCBWzµ2¶,PolyNbSides=§HLCBWzµ\i¶]\hspace{5mm}}
  \PstPolygon[PolyOffset=§HLCBWzµ2¶,PolyNbSides=§HLCBWzµ31¶]
\end{CenterExample}

\begin{CenterExample}
  \hspace{-9.5cm}
  \multido{\i=3+1}{7}{%
    \PstPolygon[PolyOffset=§HLCBWzµ3¶,PolyNbSides=§HLCBWzµ\i¶]\hspace{5mm}}
\end{CenterExample}

\begin{CenterExample}
  \hspace{-9.5cm}
  \multido{\i=5+1}{7}{%
    \PstPolygon[PolyOffset=§HLCBWzµ4¶,PolyNbSides=§HLCBWzµ\i¶]\hspace{5mm}}
\end{CenterExample}

\clearpage
\begin{CenterExample}
  \hspace{-9.5cm}
  \multido{\i=5+2}{7}{%
    \PstPolygon[PolyOffset=§HLCBWzµ5¶,PolyNbSides=§HLCBWzµ\i¶]\hspace{5mm}}
\end{CenterExample}

\begin{CenterExample}
  \hspace{-9.5cm}
  \multido{\i=5+2}{7}{%
    \PstPolygon[PolyOffset=§HLCBWzµ7¶,PolyNbSides=§HLCBWzµ\i¶]\hspace{5mm}}
\end{CenterExample}

\begin{CenterExample}
  \hspace{-9.5cm}
  \multido{\i=5+2}{7}{%
    \PstPolygon[PolyOffset=§HLCBWzµ8¶,PolyNbSides=§HLCBWzµ\i¶]\hspace{5mm}}
\end{CenterExample}

\begin{CenterExample}
  \hspace{-9.5cm}
  \multido{\i=1+1}{7}{%
    \PstPolygon[PolyOffset=§HLCBWzµ\i¶,PolyNbSides=§HLCBWzµ5¶]\hspace{5mm}}
\end{CenterExample}

\clearpage
\begin{CenterExample}
  \hspace{-9.5cm}
  \multido{\i=1+1}{7}{%
    \PstPolygon[PolyOffset=§HLCBWzµ\i¶,PolyNbSides=§HLCBWzµ7¶]\hspace{5mm}}
\end{CenterExample}

\begin{CenterExample}
  \hspace{-9.5cm}
  \multido{\i=5+1}{7}{%
    \PstPolygon[§HLCBWzµPolyCurves¶,PolyIntermediatePoint=§HLCBWzµ0.1¶,PolyNbSides=§HLCBWzµ\i¶]
    \hspace{5mm}}
\end{CenterExample}

\begin{CenterExample}
  \hspace{-9.5cm}
  \multido{\i=5+1}{7}{%
    \PstPolygon[§HLCBWzµPolyCurves¶,PolyIntermediatePoint=§HLCBWzµ0.2¶,
                PolyOffset=§HLCBWzµ2¶,PolyNbSides=§HLCBWzµ\i¶]\hspace{5mm}}
\end{CenterExample}

\begin{CenterExample}
  \hspace{-9.5cm}
  \multido{\i=5+2}{7}{%
    \PstPolygon[§HLCBWzµPolyCurves¶,PolyIntermediatePoint=§HLCBWzµ0.1¶,
                PolyOffset=§HLCBWzµ3¶,PolyNbSides=§HLCBWzµ\i¶]\hspace{5mm}}
\end{CenterExample}

\end{document}
