[pstricks] multido

Zbigniew Nitecki zbigniew.nitecki at tufts.edu
Fri Aug 1 17:33:52 CEST 2008


Thank you, Juergen and Rich.  Juergen captured what I was trying to  
do: it was the ! I forgot.
His version works.
Rich: I'm not sure where I would have put units, anyway (I was giving  
coordinates).

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/

On Aug 1, 2008, at 11:17, Juergen Gilg wrote:

> 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/
>>
>>
>> _______________________________________________
>> 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
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks

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


More information about the PSTricks mailing list