Font changing: text

LATEX2e has a very different font selection scheme to LATEX 2.09. In this section, we give a brief description of the new commands. A more detailed description with examples is given in , and the interface for class- and package-writers is described in .
\begin{decl}
\vert\rmfamily \vert\\
\vert\sffamily \vert\\
\vert\ttfamily \ver...
...t\\
\vert\itshape \vert\\
\vert\slshape \vert\\
\vert\scshape\vert
\end{decl}
These are font commands whose use is the same as the commands ||, ||, etc. The difference is that each command changes just one attribute of the font (the attribute changed is part of the name). One result of this is that, for example, || produces both a change of series and a change of shape, to give a bold italic font.
\begin{decl}
\vert\textrm\vert\arg {text}\\
\vert\textsf\vert\arg {text}\\
\ve...
... {text}\\
\vert\textsc\vert\arg {text}\\
\vert\emph\vert\arg {text}
\end{decl}
These are one-argument commands; they take as an argument the text which is to be typeset in the particular font. They also automatically insert italic corrections where appropriate; if you do not like the result, you can add an italic correction with || or remove it with ||. The || should always be the first or last thing within the text argument.