[pstricks] Where to place definitions in raw postscript

Herbert Voss Herbert.Voss at alumni.TU-Berlin.DE
Tue Feb 8 14:24:58 CET 2005


> The following code does _not_ work. I get errors when viewing the
> ps-file with gv

\documentclass{article}
\usepackage{pstricks}
\begin{document}
\begin{pspicture}(5,5)
\SpecialCoor
\pstVerb { /testvar 1.5 def }
\psline(! 0 testvar)%
       (! testvar testvar)
\end{pspicture}
\end{document}

Herbert



-- 
Dr.-Ing Herbert Voss
Herbert.Voss at alumni.TU-Berlin.DE






More information about the PSTricks mailing list