[pstricks] multido

Rich Shepard rshepard at appl-ecosys.com
Fri Aug 1 17:22:26 CEST 2008


On Fri, 1 Aug 2008, 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).

> Where is my (probably silly) mistake?

Zbigniew,

   Everywhere you have a unit of length. :-) We all do this on occasion and
forget to specify exactly what unit we want.

   Put in mm, cm, in, pt, or whatever's appropriate and try again. Has
nothing to do with multido.

Rich

-- 
Richard B. Shepard, Ph.D.               |  Integrity            Credibility
Applied Ecosystem Services, Inc.        |            Innovation
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863



More information about the PSTricks mailing list