[NTG-context] "Escaping" tabulate

Hans Hagen pragma at wxs.nl
Sun Jul 17 23:12:49 CEST 2005


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
-----------------------------------------------------------------



More information about the ntg-context mailing list