Radhelorn wrote:
Christopher Creutzig wrote:
Radhelorn wrote:
Oh, thanks. Can you describe in a few words distinction between {}
and \bgroup\egroup? I know that \bgroup\egroup are "implicit
characters" and useful in macro definitions but what this really means?
You can have
\def\startfoo{\bgroup}
\def\stopfoo{\egroup}
but you cannot get the same effect with
\def\startfoo{{}
\def\stopfoo{}}
Thanks. Clear and simple answer.
a sunday evening teaser:
\def\startfoo{\iftrue {\else}\fi}
\def\stopfoo {\iffalse{\else}\fi}
Hans
btw, this is nice stuff for a 'tex basics' corner in the wiki
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context