[pstricks] Need Advice on \multido
Herbert Voss
LaTeX at zedat.fu-berlin.de
Thu Jun 30 08:45:32 CEST 2005
Rich Shepard wrote:
> I've read the multido doc and I understand the concepts in there.
> However,
> I'm having difficulty applying what I understand to my developing form. The
> code is below.
>
> What I want to do is print \psovalbox a specified number of times across
> the page width, and repeat that for a specified number of lines. Above the
> boxes I'll want a row of text that explains the value of each oval, and on
> the left side I'll want a row number (to correspond to each question
> number).
>
> The first \psovalbox in the code is there because that's what I used
> to get
> an open oval to print; it will be removed once I really understand what I'm
> doing. Adding the \multido line causes an empty display when I try to view
> the PostScript in LyX. I tried adding a dimension and space to the command
> (\multido{\d=7mm,7mm}{10}{stuff}) but that still results in an empty file.
read the multido doc.
>\begin{pspicture}(0,0)
this is a senseless definition
> \multido{}{10}{\makebox[7mm]{psovalbox[linecolor=blue]{%
> \rule{0.35em}{0pt}}
be sure that you set the {} in a correct way
\begin{pspicture}(70mm,2ex)% for example
\multido{}{10}{\makebox[7mm]{\psovalbox[linecolor=blue]{%
\rule{0.35em}{0pt}}}}
\end{pspicture}
Herbert
More information about the PSTricks
mailing list