TocHomeGithubInfo

quick-references/LaTeX

Font sizes, families, and styles

Font sizes

switch command (smaller -> larger)
\tiny
\scriptsize
\footnotesize
\small
\normalsize
\large
\Large
\LARGE
\huge
\Huge

Families

typeface command switch command
serif (roman) \textrm{ } \rmfamily
sans serif \textsf{ } \sffamily
typewriter (monospace) \texttt{ } \ttfamily

Font styles

style command switch command
medium \textmd{ } \mdseries
bold \textbf{ } \bfseries
upright \textup{ } \upshape
italic \textit{ } \itshape
slanted \textsl{ } \slshape
small caps \textsc{ } \scshape

See also:

Overleaf