[texhax] What's wrong with \catcode`\_=12

Paul Isambert zappathustra at free.fr
Thu Oct 6 08:12:26 CEST 2011

Le 06/10/2011 04:52, Yue Wu a écrit :
> On Thu, Oct 06, 2011 at 02:53:00AM +0200, Heiko Oberdiek wrote:
>> What's the purpose of "\chardef\_=95"?
> I want the char `_' to produce a literal `_' as it is, but with the
> macros following, it will produce a `˙'.

"\chardef\_=95" maps the control sequence "\_", not the character "_", 
to character 95. The character itself is already 95. The reason why both 
of them produces an upper dot is that it's the glyph that is to be found 
in this position in Computer Modern Roman. Switch to Computer Modern 
Typewriter to get the underscore.


More information about the texhax mailing list