Font Selection

FontSelection
The document module includes the FontSelection plugin which defines a collection of basic commands for changing the typeface or font-famly of text.
document module
\rm{text}
Renders the text using a serif typeface.
document module
\sf{text}
Renders the text using a sans-serif typeface.
document module
\tt{text}
Renders the text using a fixed width typewriter or monospace typeface.
document module
\hw{text}
Renders the text using a printed handwriting style typeface.
document module
\cur{text}
Renders the text using a stylized cursive script typeface.

FontSelectionEnvs
Environments are also defined for each of the font selections, which allows you to change the font-family for a larger block of text.
document module
\begin{rm} ... \end{rm}
\begin{sf} ... \end{sf}
\begin{tt} ... \end{tt}
\begin{kw} ... \end{kw}
\begin{cur} ... \end{cur}
Selects a different typeface or font-family for rendering the text within the block. Note that some commands and environments have present typefaces, in which case, text within those blocks will not be affected by the font selection environment.
| Value | Description |
|---|---|
| rm | serif or Roman |
| sf | sans-serif |
| tt | typewriter |
| hw | handwriting |
| cur | cursive |