[pstricks] color and pst-optexp

Christoph Bersch christoph at bersch.net
Sat Nov 29 21:44:34 CET 2014

Dear Patrice,

Am 29.11.2014 um 07:29 schrieb Patrice MÉGRET:
> I have still a small trouble that I think is coming from pst-optexp:
> in the code sample below, I use \color{blue} to type the text in
> blue. The text before the picture is indeed in blue but after the
> picture, it is switched to black if the optical components in the
> picture are on. If I comment out the optical components, the text
> after the picture is in blue as it should.

thank you for the minimal example. I could track this down to the 
\psrotate macro from pstricks-add. This is used to rotate the optical 
components (also used if the angle is zero).

The following example shows the same effect, the text after the 
pspicture is black instead of blue:

Some text before the picture.


Some text after the picture.

I tested using

pstricks-add.tex    2014/07/22 v3.75 `PSTricks-add' (hv)

However, I cannot see, where the problem might be.

Best regards,

More information about the PSTricks mailing list