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

Yue Wu vanopen at gmail.com
Thu Oct 6 13:28:13 CEST 2011


On Thu, Oct 06, 2011 at 08:12:26AM +0200, Paul Isambert wrote:
> 
> 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.
> 

I got it, thank you for help!

-- 
Regards,
Yue Wu

Key Laboratory of Modern Chinese Medicines
Department of Traditional Chinese Medicine
China Pharmaceutical University(中國藥科大學)
No.24, Tongjia Xiang Street, Nanjing 210009, China


More information about the texhax mailing list