[OS X TeX] Delimited macros

Joseph Wright joseph.wright at morningstar2.co.uk
Sun Mar 30 16:27:52 CEST 2014


On 30/03/2014 15:19, George Gratzer wrote:
> Is there a LaTeX way to define a delimited macro?
> 
> GG

  \newcommand*{\foo}{}
  \def\foo#1text#2{...

LaTeX2e doesn't have a fully 'self-contained' programming layer: it's
understood that TeX constructs are needed to achieve some effects.
(Contrast the LaTeX3 programming layer expl3, which does have
\cs_new_protected:Npn, etc. documented and capable of creating delimited
macros.)
--
Joseph Wright




More information about the macostex-archives mailing list