[pstricks] newpsfontdot
Herbert Voss
LaTeX at zedat.fu-berlin.de
Fri Jul 21 18:45:48 CEST 2006
Adam Fenn wrote:
> In the following example I would like the new \psdot to be centred
> precisely at (2,2). I see that changing the numbers between the square
> brackets moves the cross but how do I work out what they should be?
>
> \input pstricks
>
> \newpsfontdot{cross}%
> [2 0.0 0.0 2 -0.78 -0.7]{ZapfDingbats}{<40>}
>
> \pspicture(4,4)
> \psgrid \psdot[dotstyle=cross,dotscale=4](2,2)
> \endpspicture
needs some understanding of the transformation
matrices in PostScript. But you can get the values
by trial and error:
[2 0 0 2 -.855 -1.05]{ZapfDingbats}{<40>}
-0.855 horizontal shift
-1.05 vertical shift
Herbert
More information about the PSTricks
mailing list