On Thu, Jan 22, 2009 at 5:54 PM, Wolfgang Schuster < schuster.wolfg...@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.1e...@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 >
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________