On Sat, 12 Jan 2008 12:59:39 -0500 (EST)
Aditya Mahajan <[EMAIL PROTECTED]> wrote:


> Why does \textunderscore wail? \textunderscore should work fine.

See https://mail.gna.org/public/muse-el-discuss/2008-01/msg00001.html
thread.

> :) This is how it is done in plain TeX, and both LaTeX and ConTeXt
> follow this. If you do not use maths at all, you can say
> 
> \catcode`\_ = 11
> 
> on the top of your file and then _ will be a letter in both text and
> math mode (which basically means that you will have to use \sb to get
> subscript in math mode.

Hmm, not ideal...

> It is possible to define something along the lines of underscore.sty
> in latex, so that _ is treated as a letter in text mode, and as a
> subscript indicator in math mode, but, read below.

I do not remember having ever problem with underscore in LaTeX.

> Shouldn't such function names be written as \type{gtk_xxxx} when muse 
> converts the document to ConTeXt? In that case the _ will be
> preserved.

Right. They will fix default in muse and use \type{_} as value for
underscore.

Thank you for your input.

Sincerely,
Gour
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to