latexescapingtex

To escape many _ in LaTeX efficiently


How can you escape _ without the use of \_?

This is the example of the question

word_a_a_a_a_a_b_c_dd

There is one function which you can use for this. However, I cannot remember its name.


Solution

  • Are you thinking of the underscore package, which redefines the underscore symbol so that you don't have to escape it in text mode? See here.