The following lines: Are produced by:
This is bold type.
\textbf{This is bold type.}
This is sans serif type.\textsf{This is sans serif type.}
This is slanted type.\textsl{This is slanted type.}
THIS IS SMALL CAPS TYPE.\textsc{This is Small Caps type.}
This is typewriter type.\texttt{This is typewriter type.}
This is italic type.\textit{This is italic type.}
This is normal roman type.\textrm{This is normal roman type.}
You will notice that there is no underline style. This is
intentional, since underlining is not normally used in a typeset
document. Titles (and other text normally underlined in hand-written
documents) are properly emphasized with the \emph
command.
If you really want to get underlining, type
\underline{
text to be underlined}
, but note that
underlining is ``fragile'' (which makes it difficult to use in section
titles and a few other places--see the LATEX manual for details).