> At 23:38 23.11.06, Karl Berry wrote: > > >I don't know if LaTeX has special commands for loops. In plain TeX, > >you say > >\loop > > foo > >\if... > > bar > >\repeat > > > >where the \if... is any TeX conditional. To nest loops, use groups. Here is a tiny LaTeX package for loops: CTAN:/macros/latex/contrib/forloop/ Cheers, Uwe.