[texhax] Use of \symbol{`\_} versus \symbol{'137} to produce \verb+_+ in moving arguments.

Ulrike Fischer news3 at nililand.de
Fri Feb 27 09:17:54 CET 2015


Am Wed, 25 Feb 2015 17:34:46 +0100 schrieb Heiko Oberdiek:


>> Because \_ is a robust command but \symbol is not
 
> "\symbol" *is* robust, it just expands to "\char#1\relax"
> Both "\char" and "\relax" are unexpandable commands and does
> not break in expansion contexts.

I meant the \symbol gets expanded. But for the rest you are naturaly
right, I don't know what I mixed together during in the test ;-(. 
 


-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/



More information about the texhax mailing list