[pstricks] multido

Juergen Gilg gilg at acrotex.net
Fri Aug 1 17:17:35 CEST 2008


Dear Zbiginiew,

try

 \multido{\rt=-0.5+0.1}{11}{%
\psline[linecolor=gray](!-0.5 \rt\space)(!0.5  \rt\space)%
\psline[linecolor=gray](!\rt\space 3.5 add  -0.5)(!\rt\space 3.5 add  0.5)%
}

Regards,

Juergen

Zbigniew Nitecki wrote:
> The following code
> ****************************************************************
> \multido{\rt=-0.5+0.1}{11}{%
> \psline[linecolor=gray](-0.5,\rt\space)(0.5, \rt\space)%
> \psline[linecolor=gray](\rt\space 3.5 add, -0.5)(\rt\space 3.5 add, 0.5)%
> }
> *********************************************************************
>
> leads to the error message
>
>> ! Illegal unit of measure (pt inserted).
>> <to be read again> 
>>                    3
>> l.139 }
>>
> (l.139 refers to the closing brace of the multido)
>
>
> Where is my (probably silly) mistake?
>
>
>
> Zbigniew Nitecki
>
> Department of Mathematics
>
> Tufts University
>
> Medford, MA 02155
>
>
> telephones:
>
> Office    (617)627-3843
>
> Dept.    (617)627-3234
>
> Dept. fax    (617)627-3966
>
> http://www.tufts.edu/~znitecki/ <http://www.tufts.edu/%7Eznitecki/>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
>   

-- 
 Jürgen Gilg
 Austr. 59
 70376 Stuttgart
-------------------------------------
 Tel       0711.59 27 88
 e-Mail    gilg at acrotex.net
 Websites  www.acrotex.net
           www.brueckenkurs-physik.de
           www.gilligan-online.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20080801/89922f7f/attachment.html 


More information about the PSTricks mailing list