[texhax] choice of documentstyle upon \jobname

Karl Berry karl at freefriends.org
Sun Dec 4 17:32:00 CET 2005


      >> \expandafter\def\csname first\endcsname{\documentclass[abc]{...}}
      >> \expandafter\def\csname second\endcsname{\documentclass[xyz]{...}}

      > Is it true that, in the case where first and second are completely
      > composed of letters which TeX accepts for command name, that's
      > equivalent to 
      > \def\first{\documentclass...}
      > \def\second{\documentclass...}  ?

    Maybe not equivalent, but at least similar.

It seems to me the results of those two constructs are *completely*
equivalent.  Am I missing something?



More information about the texhax mailing list