Retour

asterixobelix.tex

Télécharger le fichier Fichier PDF
Image PNG
\documentclass{article}
\usepackage{pst-anamorphosis-add}
\usepackage[a4paper,hmargin=1cm]{geometry}
\pagestyle{empty}
\begin{document}
\begin{center}
\begin{pspicture}[showgrid](-9,-12)(9,6)
\pscircle[doubleline=true]{3}
\psframe[fillstyle=solid,fillcolor={[rgb]{0.675 0.935 1}}](-2,-2)(2,2)
\psset{Yv=-100,Xv=0}
\pslineA[fillstyle=solid,fillcolor={[rgb]{0.675 0.935 1}}](-2,-2)(-2,2)(2,2)(2,-2)(-2,-2)
\psset{linestyle=dotted}
\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)
    }
\psanamorphosis{asterixobelix.eps}
\pstextA[fontsize=30,fillcolor=black,scale=1.25 1](0,4.5){Astérix}
\pstextA[fontsize=20,fillcolor=black](0,3.5){et}
\pstextA[fontsize=30,fillcolor=black,scale=1.25 1](0,2.5){Obélix}
\end{pspicture}
\end{center}
\end{document}