I'm trying to write HMX_Y, and because someone out there (mr. or ms. TeX) thinks this is a math notation, I have to use verbatim function to convince him (or her) otherwise. So far I've been using examplep package and the command \Q{HMX_Y}. However I would like the text to be in the same style and font as the rest of the document (and not in typewriter style). Any tips how to do this?
This is the line where I'm trying to set the fonts to normal (as examplep documentation suggests) but I must be doing something wrong (as it's not working).
\usepackage[Q=yes, url=yes, source-verbatimfont=normalfont]{examplep}
Any help much appreciated.
HMX\\_Y. The slash before the underscore tells TeX not to use it as a command character, but a literal one. – Michael Underwood Jul 31 '10 at 17:49\\_and\textunderscoredo not seem to have the same definition, BTW:\\_is\x@protect \\_\protect \\_while\textunderscoreis\T1-cmd \textunderscore \T1\textunderscore. I don't know what this difference means. – ShreevatsaR Jul 31 '10 at 19:06