I want to include the following expression without any changes in my LaTeX document:


If I just type like that, LaTeX wants it to be math mode because of the underscores. If I use


the text has a different font.

Is there a command to just use ignore math symbols?


  • 1
    Escape the underscore with \_ or use \textunderscore. – Paul Gessler Feb 1 '14 at 19:44
  • 1
    How about using \path from the url package and the configure url package to use rm style (see manual) – daleif Feb 1 '14 at 19:44
  • I guess the trick lies in the use of catcodes. A simple \catcode`_=12 however does not print the underscore. – Uwe Ziegenhagen Feb 1 '14 at 19:49
  • BTW: Welcome to TeX.SX! – karlkoeller Feb 1 '14 at 19:53

Browse other questions tagged or ask your own question.