[pstricks] mismatch between psaxes and psgrid

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sat Jun 21 00:22:24 CEST 2008

Markus schrieb:

>>> \listfiles
>>> \documentclass[11pt,DIV15]{scrartcl}
>>> \usepackage{pstricks-add}
>>> \begin{document}
>>> \begin{pspicture}(-4,-5)(7,4)
>> you have a pspicture environment which goes from (-4,-5) to (7,4)
>>> \psgrid[subgriddiv=2,gridcolor=lightgray,gridlabels=0pt]
>> if you remove the 'gridlabels=0pt' from the option list, you see that
>> the grid and the axes match!
> No. Not for me.

try it again with
it should fix this problem. In math mode the + and - sign
are shifted a bit down, the reason why the box has a depth
of about 1 pt which leads for the horizontal labels for
a shift of the complete axes. Now everything is written
into a box and then set to a total of 0pt and no vertical
shift should be seen.


More information about the PSTricks mailing list