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

Heiko Oberdiek heiko.oberdiek at googlemail.com
Mon Mar 2 20:50:05 CET 2015


On 02.03.2015 19:23, Beuthe, Thomas wrote:

> In my short example, using \symbol{'137} worked
> whereas using \symbol{`\_} did not.

The argument of the second form contains a command/macro token "\_",
whose expansion caused your trouble, see my previous answer.
The argument of the first form only contains simple
unexpandable character tokens (with catcode other/12).

Yours sincerely
  Heiko Oberdiek

More information about the texhax mailing list