[texhax] Repeating an environment

Ulrike Fischer news3 at nililand.de
Fri May 1 10:55:44 CEST 2009

Am Fri, 1 May 2009 05:42:03 +0200 schrieb Stefan Björk:

> Thanks -- but this is still not really what I'm looking for, since --
> as far as I know -- minipages can not span pages? What I am looking
> for is a functionality similar to the standard letter class. The
> purpose is to create an exam (which spans some 15--20 pages) in
> several copies with a unique code (counter) on each copy.

Put the text for the exam in a file and use a loop (e.g. \whiledo
from the ifthen package) to \input the file many times.
Ulrike Fischer 

More information about the texhax mailing list