[pstricks] pstricks and \ColoredOverlappedSurfaces

Hendri Adriaens Hendri at uvt.nl
Thu Feb 24 12:08:18 CET 2005


There are several issues with this.

1) The \newrgbcolor macro in pstricks.sty does
not define \color at LightBlue which is expected
by the subsequent decoding macros of Denis.
We can solve this by doing:
\makeatletter
\def\newrgbcolor#1#2{%
  \expandafter\gdef\csname #1\endcsname{\color{#1}}%  HV 2004-03-31
  \newrgbcolorx{#1}#2\@@
  \expandafter\gdef\csname color@#1\endcsname{#2 setrgbcolor}%  HA
2005-02-24
}
\makeatother
before defining colors.

This will make the original Mixed-Colors.tex
work again. However, the code by Denis won't
allow us to mix green with gray.

2) xcolor can mix colors from different models
and it has a very simple interface. I modified
the Mixed-Colors.tex (see Mixed-ColorsHA.tex
attached) to the current state of techniques.
The example has become very simple since all the
decoding and mixing macros have gone. See the
first example to check that even mixing green
and gray works.

-Hendri.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Mixed-ColorsHA.tex
Type: application/octet-stream
Size: 2661 bytes
Desc: not available
Url : http://tug.org/pipermail/pstricks/attachments/20050224/711bba33/attachment.obj 


More information about the PSTricks mailing list