Underscores in text mode are common, but these trigger automatic math mode and then I have to go find all the underscores and escape them.
Goal: Is there a way to disable underscores in text-mode causing automatic conversion to math mode? In other words, this would mean no need to escape underscores in text mode.
I did a quick Google search using this exact title + 'latex', but no relevant results found.
underscorepackage but I think you are starting from the wrong premise. "Underscores in text mode are common" Underscores essentially never occur in normal text, which is why it was a free character available as a math subscript character. If you are setting computer program variable names or other special forms, naturally you can locally make_a normal letter, but nothing special about_, you might want$aa_band%xxx_yyyalso to be text so would need$and%treated similarly whichunderscorepackage will not do. – David Carlisle Jul 27 '22 at 09:14