[texhax] Passing curly brace as a part of arguments to a macro

Mayuresh mayuresh at acm.org
Sun Jul 29 16:11:04 CEST 2012


I have a macro that accepts a certain text argument. This text may
sometimes contain curly braces.

I find that such curly braces are being interpreted by latex instead of
treated literally and as long as there is a matching brace, they just get
silently ignored.

Escaping the braces with back slash is leading to error like:

! Undefined control sequence.
\\  ->\let \reserved at e 
                       \relax \let \reserved at f \relax \@ifstar {\let
\reserv...


Is it not possible to send text with curly braces as macro argument?

Mayuresh


More information about the texhax mailing list