[pstricks] \psforeach problem
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Tue Oct 28 07:16:27 CET 2008
Michael Sharpe schrieb:
> I'm using the latest update to pstricks-add. I believe there is a
> small problem with \psforeach that shows up only in one type of
> \SpecialCoor.
>
> This works correctly:
> \begin{pspicture}(-.5,-1.5)(6.5,1.5)
> \psforeach{\nA}{0,1,2.5}{%
> \psdot(*\nA\space {sin(x)})}
> \end{pspicture}
>
> This does not:
> \begin{pspicture}(-.5,-1.5)(6.5,1.5)
> \psforeach{\nA}{0, 1, 2.5}{%
> \psdot(*\nA\space {sin(x)})}
> \end{pspicture}
>
> The problem occurs only with the (*x {fn}) form of coordinates, and
> only when there are spaces in the argument list.
this is the default behaviour that there shouldn't be a space
after the * before the x value
\psdot(*{\nA} {sin(x)})} should work.
Herbert
More information about the PSTricks
mailing list