[Tex/LaTex] Underscores in words (text)


How can I produce the text Word_one_two in LaTeX?

I tried:


But, it doesn't quite look right. Also, I want it in the typewriter font, so actually, I'm doing:


I find it looks a bit like the underscore is merging in to the bottom of the "D", but maybe it's just because of the typewriter D?

Best Answer

You may prefer the character from the tt font:







enter image description here

Or probably better add \usepackage[T1]{fontenc} then all the above forms will use the character from the font.