[pstricks] pspicture: shift vs. baseline

McGarry Vince vmcgarry at austin.rr.com
Tue Jul 4 16:08:57 CEST 2006


Herbert, is there a workaround to make this work with pst-pdf?

Vince McGarry

On Jul 4, 2006, at 6:50 AM, Herbert Voss wrote:

>
>
> 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}
>
>
> _______________________________________________
> pstricks mailing list
> pstricks at tug.org
> http://tug.org/mailman/listinfo/pstricks




More information about the PSTricks mailing list