[pstricks] color string

caapv 208 caapv208 at yahoo.co.jp
Sun Feb 18 08:30:32 CET 2007


With the code below, the first occurrence of \psfillcolor
prints "white", while the second prints "gray 1":

 \documentclass{article}
 \usepackage{pstricks}
 \begin{document}
 \psfillcolor
 \psset{fillcolor=white}
 \psfillcolor
 \end{document}

On the other hand, with the code below, they both prints
"white":

 \documentclass[noxcolor]{article}
 \usepackage{pstricks}
 \begin{document}
 \psfillcolor
 \psset{fillcolor=white}
 \psfillcolor
 \end{document}

Is there a way to obtain the current fill color in a
consistent format (either "white" or "gray 1" is OK),
which can be used regardless of the package option to
pstricks?

TIA
Regards,
SMiyata

--------------------------------------
Start Yahoo! Auction now! Check out the cool campaign
http://pr.mail.yahoo.co.jp/auction/




More information about the PSTricks mailing list