latex

2022-02-10

https://texdoc.org/serve/l2tabuen/0

Commands for changing font style

use obsolete local global/switch
emphasis \emph{...} \em
italic {\it ...} \textit{...} \itshape
upright \textup{...} \upshape
small caps {\sc ...} \textsc{...} \scshape
slanted {\sl ...} \textsl{...} \slshape
bold {\bf ...} \textbf{...} bfseries
medium \textmd{...} \mdseries
roman {\rm ...} \textrm{...} \rmfamily
sans serif {\sf ...} \textsf{...} \sffamily
typewriter {\tt ...} \texttt{...} \ttfamily