[pstricks] unexpected interference of \renewcommand with \psclip

Toche, Patrick ptoche at cityu.edu.hk
Fri Nov 4 07:01:30 CET 2011


Thanks Werner!

This has got to be the easiest fix and most quickly solved problem ever!

Patrick.


This is not limited to using \renewcommand. Instead, you need to end
off each \renewcommand with a '%' to avoid TeX from inserting a
so-called "spurious space". You already do this with your other
pstricks-related environments:

\pscustom[...]%

\renewcommand{\xa}{1}%
\renewcommand{\ya}{2}%
\renewcommand{\xb}{3}%
\renewcommand{\yb}{4}%
\renewcommand{\xc}{5}%
\renewcommand{\yc}{6}%

\psclip{%
...

Werner



More information about the PSTricks mailing list