LaTeX command | Equivalent to | Output style | Remarks |
textnormal{...} |
{
ormalfont...} |
document font family |
This is the default or normal font. |
emph{...} |
{em ...} |
emphasis |
Typically italics. Using emph{} inside of italic text removes the italics on the emphasized text. |
extrm{...} |
{
mfamily...} |
roman font family |
|
extsf{...} |
{sffamily ...} |
sans serif font family |
Matrix |
texttt{...} |
{ttfamily ...} |
teletypefont family |
This is a fixed-width or monospace font. |
extup{...} |
{upshape...} |
upright shape |
The same as the normal typeface. |
textit{...} |
{itshape ...} |
italic shape |
|
extsl{...} |
{slshape ...} |
slanted shape |
A skewed version of the normal typeface (similar to, but slightly different from, italics). |
extsc{...} |
{scshape ...} |
Small Capitals |
|
uppercase{...} |
|
UPPERCASE (ALL CAPS) |
Also lowercase. There are some caveats, though; seehere. |
textbf{...} |
{bfseries ...} |
bold |
vector |
extmd{...} |
{mdseries...} |
medium weight |
A font weight in between normal and bold. |
extlf{...} |
{lfseries ...} |
light |
A font weight lighter than normal. Not supported by all typefaces. |