[pstricks] pspicture: shift vs. baseline
Herbert Voss
LaTeX at zedat.fu-berlin.de
Wed Jul 5 00:02:15 CEST 2006
McGarry Vince wrote:
> Herbert, is there a workaround to make this work with pst-pdf?
In this case use \raisebox. Don't know, why it doesn't work
with pst-pdf. Must have a closer look
\documentclass[a4paper,11pt]{article}
\usepackage{pstricks}
\usepackage{pst-plot,pst-pdf}
\begin{document}
\rule{1cm}{2pt}%
\raisebox{-2cm}{%
\begin{pspicture}(0,-2)(3,3)
\psaxes(0,0)(0,-2)(3,3)
\end{pspicture}}%
\rule{1cm}{2pt}
\end{document}
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