Tag Info

New answers tagged

0

The underscore _ is already math active by default: one does not need to explicitely set its mathcode to "8000. Thus one could do: \documentclass{article} \usepackage[T1]{fontenc} \AtBeginDocument{% \begingroup\lccode`~=`_% \lowercase{\endgroup\let~}_% \catcode`_=12 } \begin{document} a_b $a_b$ \end{document} It is perhaps better to do as in ...



Top 50 recent answers are included