Re: Problema TeXnico: parsing di righe

#55787
Up
0
Down
::

Come fare per passare alla macro \pprows un parametro da usare nella macro interna \pppr@fix?
Vorrei poter effettuare la chiamata:
`\pprows{pippo}{%
Riga 1\\
Riga 2\\
Riga 3\\
\\
Riga 5\\
Riga 6\\
\\
Riga 8
}
`

Grazie,
Agostino

Il modo più semplice è
`\newcommand\pprows[2][1]{\begingroup
\def\pp@token{#2}%
\r@wcount=\z@

}`
e poi usare \pp@token dove vuoi.

Ciao
Enrico

Go to top