Retour

asterix.tex

Télécharger le fichier Fichier PDF
Image PNG
\documentclass{article}
\usepackage{pst-anamorphosis-add}
\usepackage[a4paper]{geometry}
\pagestyle{empty}
\begin{document}
\begin{center}
\begin{pspicture}[showgrid](-4,-6)(8,6)
\pscircle[doubleline=true]{3}
\psframe[fillstyle=solid,fillcolor={[rgb]{0.675 0.935 1}}](-2,-2)(2,2)
\psset{Yv=0,Xv=10}
\pslineA[fillstyle=solid,fillcolor={[rgb]{0.675 0.935 1}}](-2,-2)(-2,2)(2,2)(2,-2)(-2,-2)
\psset{linestyle=dotted}
\psanamorphosis{asterix.eps}
\multido{\n=-2.00+0.50}{9}{%
    \pnode(! \n\space -2.00){A}
    \pnode(! \n\space 2.00){B}
    \psline(A)(B)
    \pslineA(A)(B)
    }
\multido{\N=-2.00+0.50}{9}{%
    \pnode(!-2.0 \N){A}
    \pnode(!2.0 \N){B}
    \pslineA(A)(B)
    \psline(A)(B)
    }
\pstextA[fontsize=20,fillcolor=black](-1.75,1.25){A}
\pstextA[fontsize=20,fillcolor=black](-1.75,0.75){s}
\pstextA[fontsize=20,fillcolor=black](-1.75,0.25){t}
\pstextA[fontsize=20,fillcolor=black](-1.75,-0.25){é}
\pstextA[fontsize=20,fillcolor=black](-1.75,-0.75){r}
\pstextA[fontsize=20,fillcolor=black](-1.75,-1.25){i}
\pstextA[fontsize=20,fillcolor=black](-1.75,-1.75){x}
\end{pspicture}
\end{center}
\end{document}