[texhax] Taking apart text of macro argument

Philip TAYLOR (Ret'd) P.Taylor at Rhul.Ac.Uk
Thu May 28 06:37:40 CEST 2009



Peter Seibel wrote:

 > I realize I could do something like:
 >
 >     \def\foo#1#2\par
 >
 > but then I can't say \foo{...}

but \foo could then call an adjunct macro (say, \foohelper),
using a delimited parameter structure :

\def \foohelper #1#2\relax {...}
\def \foo #1{\foohelper #1\relax}

Philip Taylor



More information about the texhax mailing list