[texhax] Repeating an environment

Stefan Björk stefan.bjork at gmail.com
Wed Apr 29 00:51:14 CEST 2009


> \documentclass{article}
> \usepackage{multido}
> \begin{document}
> \newcommand{\textToRepeat}{A lot of text over several pages.\par This is
> run number \i.\par}
> \multido{\i=1+1}{5}{\textToRepeat}
> \end{document}

Thank you! -- but I would really like to implement it as an
environment, not macro. Is that possible?

/S


More information about the texhax mailing list