[pstricks] Colored text with pstricks in plain TeX

Herbert Voss Herbert.Voss at FU-Berlin.DE
Fri Oct 16 14:32:18 CEST 2009


Christoph Bersch schrieb:

> I am completely reworking the PSTricks driver for gnuplot to support all
> features and give full color support using 'xcolor'. But this would be
> usable only with LaTeX.
> To retain basic color support also for use with TeX I was hoping that I
> could use the same makros \textcolor and \color in plain TeX.
> 
> I have to see how I can manage this.

\input pstricks
\def\color#1{\csname#1\endcsname}
\def\textcolor#1#2{{\color{#1}#2}}

HErbert


More information about the PSTricks mailing list