[pstricks] Colored text with pstricks in plain TeX

Herbert Voss Herbert.Voss at FU-Berlin.DE
Fri Oct 16 11:46:56 CEST 2009


Christoph Bersch schrieb:

> % PSTricks and color, does not work, Postscript error!
> %
> \input color
> \input pstricks
> \color{red} redtext
> \textcolor{blue}{blue text}
> \pspicture(3,3)
> \psline[linecolor=red](1,1)(3,3)
> \endpspicture
> \bye

When writing TeX code then don't use LaTeX syntax!

\input color
\input pstricks
\red redtext
{\blue blue text}
\pspicture(3,3)
\psline[linecolor=red](1,1)(3,3)
\endpspicture
\bye


Herbert



More information about the PSTricks mailing list