[pstricks] Trouble with \pssin inside clipping path
Uwe Siart
uwe.siart at tum.de
Tue May 12 20:53:11 CEST 2015
On 12 May 2015 at 20:28, Herbert Voss wrote:
> Am 09.05.2015 um 17:36 schrieb Uwe Siart:
> > On 9 May 2015 at 16:43, Herbert Voss wrote:
> >
> >> try it with the attached pst-coil.pro The problem is that the Sin
> >> function uses the translate operator. All following coordinates refer
> >> to this new origin.
> >
> > Thanks, Herbert, for making effort on a solution. The new prologue file
> > seems to allow for using \pssin just once. If it appears a second time
> > it bombs again:
>
> There is no easy solution :-(
> and I have no time gefor summer ...
Thanks for looking into that anyway. I'll try to create the path that I
need by using \pscurve. With some carefully chosen points it should be
possible to get equivalent results.
Uwe
> Herbert
>
>
>
> >
> > \documentclass{article}
> > \usepackage{pstricks}
> > \usepackage{pst-coil}
> > \begin{document}
> > \begin{pspicture}[showgrid=true](0,0)(9,7)
> > \pscustom{%
> > \psline(0,4)(2,6)%
> > \pssin(2,6)(6,6)%
> > \psline(6,6)(8,4)%
> > \pssin(8,4)(8,0)%
> > \psline(8,0)(0,0)%
> > }
> > \end{pspicture}
> > \end{document}
More information about the PSTricks
mailing list