[pstricks] psball in pst-slpe

Herbert Voss Herbert.Voss at FU-Berlin.DE
Tue Oct 25 20:26:05 CEST 2011


Am 25.10.2011 14:57, schrieb Patrice MÉGRET:

> Here is a small example using \psBall from pst-slpe.
>
> Everything works well if all units are specified as in \psBall[sloperadius=0.5cm](1,1){red}{1cm}
> But if the units are not specified as in \psBall[sloperadius=2](4,1){red}{1}, the ball is not placed at the (4,1) coordinates.
>
> Any idea how to solve that small trouble?

Patrice,
that was a bug. Try this version:
http://texnik.dante.de/tex/generic/pst-slpe/pst-slpe.tex
will be available in a few days from CTAN.

Herbert


>
>
> \documentclass{article}
> \usepackage{pstricks,pst-coil,pst-func,pst-slpe,pstricks-add}
>
> \begin{document}
> \begin{pspicture}(0,0)(6,3)
> \psgrid
> \psBall[sloperadius=0.5cm](1,1){red}{1cm}
>
> \psBall[sloperadius=2](4,1){red}{1}
> \end{pspicture}
>
> \end{document}


More information about the PSTricks mailing list