On Thu, Jan 22, 2009 at 5:54 PM, Wolfgang Schuster <schuster.wolfgang@googlemail.com> wrote:

Am 22.01.2009 um 17:20 schrieb Alan Stone:


On Thu, Jan 22, 2009 at 3:54 PM, Alan Stone <software.list.1es9s@gmail.com> wrote:
Try: Your text has {\the\noflines} lines.

Your text has \the\noflines\ lines.  % works also

Thanks.

How do you substract/add a number from/to \noflines ?

I tried

\thinrules[n=\advance\the\noflines by -2]
\thinrules[n=\advance\noflines by -2]
\thinrules[n={\advance\the\noflines by -2}]
\thinrules[n={\advance\noflines by -2}]

\thinrules[n=\number\numexpr\noflines-2\relax]

And how do you make a division of \number\numexpr\noflines-2, for ex. by 2 ?

Wolfgang