[pstricks] \NormalCoor bug report

John Frampton j.frampton at neu.edu
Tue Feb 23 04:23:12 CET 2010


\NormalCoor introduces a spurious space.

    \rput(0,0){X}\NormalCoor \rput(0,0){X}

shows it.

The fix is easy.

\def\NormalCoor{%
   \def\pst@@getcoor##1{\pst at expandafter\cartesian at coor{##1},\relax,\@nil}%
   \Pst at SpecialLengthfalse
   \def\pssetlength##1##2{%
     \let\@psunit\psunit
     \afterassignment\pstunit at off
     ##1 ##2\@psunit%
   }%  % ADDED TO PREVENT SPURIOUS SPACE
   \def\pst@@getangle##1{%
     \pst at checknum{##1}\pst at angle%
     etc.

John Frampton



More information about the PSTricks mailing list