[pstricks] pspicture: shift vs. baseline
Herbert Voss
LaTeX at zedat.fu-berlin.de
Tue Jul 4 13:50:06 CEST 2006
Bernd Westphal wrote:
> Moin.
>
> If I understand it correctly, old versions of pstricks use
>
> \begin{pspicture}[0.5]
>
> to set the baseline at half the height of the box and
>
> \begin{pspicture}[]
>
> puts the baseline through the origin.
>
>
> The newer versions only have 'shift' where
>
> \begin{pspicture}[shift=0.5]
>
> shifts by 0.5 "units", i.e. not related to the box' height.
>
>
> Is there a way to obtain the "old" behaviour with the newer versions, other
> than explicitly calculating the height and setting shift correspondingly?
>
> Is there in particular an easy way to put the baseline through the origin with
> the newer versions?
where is the problem??
Herbert
\listfiles
\documentclass[a4paper,11pt]{article}
\usepackage{pstricks}
\usepackage{pst-plot}
\begin{document}
\rule{1cm}{2pt}\begin{pspicture}[shift=-2\psyunit](0,-2)(3,3)
\psaxes(0,0)(0,-2)(3,3)
\end{pspicture}\rule{1cm}{2pt}
\end{document}
More information about the PSTricks
mailing list