[PSTricks] what about being able to write \psset{textcolor=white}?

Christophe Broult christophe.broult at info.unicaen.fr
Tue Aug 11 19:30:57 CEST 1998


-----------------------------------------------------------------------------
This is the PSTricks mailing list, devoted to discussions about computational
graphics in (La)TeX using the PSTricks package from Timothy van Zandt.
For help using this mailing list, see instructions at the end of message.
-----------------------------------------------------------------------------


Hi,

I like to use \newpsstyle so I use the same parameters for different
objects. So far I am able to write

\newpsstyle{mystyle}{fillcolor=red,linecolor=black}

but it seems that there is no PSTricks key to set the text color. 
Using the following lines 

\makeatletter
\def\psset at textcolor#1{\color{#1}}%\pst at getcolor{#1}\pslinecolor}
\makeatother

I can write 

\newpsstyle{mystyle}{fillcolor=red,linecolor=black,textcolor=white}

and get the expected behavior.

Is there another way to obtain the same result? If not, I think this
is something useful that should be added to standard PSTricks.

Chris

-- 
// Chris Broult http://www.info.unicaen.fr/lpv


-----------------------------------------------------------------------------
The list interface (subscription, information, access to the archives) is on:
http://www.tug.org/cgi-bin/lwgate/pstricks
Otherway to unsubscribe, send mail to pstricks-request at mail.tug.org
with a blank subject and in body the line unsubscribe <email-address>
-----------------------------------------------------------------------------



More information about the PSTricks mailing list