Am I missing something, or is it simply not possible to underline text within a verbatim environment?
\begin{verbatim}
I want to underline the following word: word
\end{verbatim}
I guess I could ask the same question with regard to bold or italic print, but in those cases I can see that this is not what you can do with an ordinary typewriter. But any typewriter has an underscore and I can use it to underscore text. Can the verbatim environment not do that?

------but if you want a typeset underline you need to escape back out of verbatim, possible with verbatim but easier to use the listings package which has a built in mechanism to allow escapes to TeX commands such as\underlineor of course simply\texttt{I want to underline the following word: \underline{word}}– David Carlisle May 30 '13 at 12:09\\``,$,&`, etc.? – Steven B. Segletes May 30 '13 at 12:22listingspackage – cgnieder May 30 '13 at 12:24