[texhax] commands within sections in multi-author document

Karl Berry karl at freefriends.org
Fri Jan 9 19:38:17 CET 2004


    redefine \newcommand so that it is only active within each TeX
    section.

Sorry for my ignorance, but how about simply enclosing each section
within \begingroup ... \endgroup?

Failing that, the other idea that comes to mind is to define a new
\newcommand which makes its new command name unique by adding a suffix
based on the section number.


More information about the texhax mailing list