I use _ character often in text mode, so I changed category of underscore: \catcode\_=12, but that applies also to mathmode and now I'm unable to make subscripts with underscore in mathmode. Is there a way to make latex interpret underscore in text mode as the underscore character, and in mathmode as subscript?
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
|
|
|||
|
You can make
MWE:
|
|||||||||||
|
|
|||||||
|
|
FWIW, in ConTeXt the special characters ConTeXt table and math alignment macros do not use |
|||
|
|


underscorepackage. – Ulrike Fischer Jul 9 '12 at 11:23