Control tokens like \4 in CWEB

Andreas Scherer andreas_tex at freenet.de
Sat Jul 16 10:28:32 CEST 2022


Hello, Daniel,

> I see code like @t\4@> a lot in mf.web and elsewhere, and seem to 
> recall it has something to do with inlining code or something.
Indeed, "@t stuff @>" puts "stuff" in WEAVE's TeX output (wrapped in an
\hbox{}). '\4' means "backspace one notch".

> The CWEB manual doesn't tell me much, and I was wondering what \1-\9
> do and what a control token is?Please check out "texdoc web". This should open 'webman.pdf'. Then 
consult section "Control codes".

The TeX macros \1..\7 come fairly early in 'webmac.tex'. (Pascal WEB 
does not know of \8 and \9; these are defined in CWEB's 'cwebmac.tex'.)

Happy WEB programming!
Andreas


More information about the texhax mailing list.