[pstricks] Mysteriously shifting origin

Christophe Jorssen jorssen.leraincy at free.fr
Fri Jul 30 10:06:04 CEST 2004


On Tuesday, July 20, 2004 9:07 PM [GMT+1=CET],
Herbert Voss <Herbert.Voss at alumni.tu-berlin.de> wrote :

> ristow at ece.gatech.edu wrote:
>
>  > After hours of examining both the pstricks code and the PS output
>  file I > cannot find the reason for this. Am I missing something
>  obvious, or is > this a real mystery? Any ideas?
>
>
> this is in 99% a spurious blank ...
>
>  > \documentclass[letterpaper]{article}
>  > \usepackage{pstricks}
>  > \usepackage{pst-plot}
>  >
>  > \pagestyle{empty}
>  >
>  > \makeatletter%
>  >   \def\pscrosshair{% <------------!!!
>  >     \begin at OpenObj
>  >     \addto at pscode{%
>  >       newpath
>  >         -25 0 moveto
>  >         25 0 lineto
>  >         0 -25 moveto
>  >         0 25 lineto
>  >       stroke
>  >     }% <------------!!!
>
>
> if you are unshure, then it is a good idea to put a %
> after every TeX line (not PostScript)

but it's better to learn what you are doing :-) See Denis' answer to my
question about spurious blanks on the pstricks list

http://tug.org/mailman/htdig/pstricks/2002/000738.html

Best regards

Kristof




More information about the PSTricks mailing list