next up previous contents
Next: Type Sizes Up: Other useful things to Previous: Margins

Type Styles

There are several different type styles available in LATEX: bold (textbf), sans serif (textsf), slanted (textsl), SMALL CAPS (textsc), typewriter (texttt), italic (textit), and the default, roman (textrm). To use one of these type styles simply, use the appropriate command as shown in the following example.



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).



Alex Rolfe
1999-10-29