[texhax] help

Bob Tennent rdt at cs.queensu.ca
Fri Mar 21 00:55:53 CET 2014


Try this:

\documentclass{article}
\usepackage{pstricks}
\begin{document}

\pstVerb{ 1234321 srand }
\begin{pspicture}[showgrid](-2,-2)(2,2)
\psframe*[linecolor=blue,opacity=!Rand](2,2)
\psframe*[linecolor=red,opacity=!Rand](-1,-1)(1,1)
\psframe*[linecolor=green,opacity=!Rand](-2,-2)(0,0)
\end{pspicture}

\end{document}

with latex, followed by dvips, followed, if you want, by ps2pdf.

Bob T.



More information about the texhax mailing list