Complete guide to font selection, customization, and typography in LaTeX. Learn about font families, packages, and advanced font features.
Package | Style | Math Support | Use Case |
---|---|---|---|
lmodern | Modern | Yes | Default improvement |
mathptmx | Times | Yes | Traditional papers |
helvet | Helvetica | No | Modern look |
mathpazo | Palatino | Yes | Books, elegant |
libertine | Libertine | Yes | Professional |
fourier | Utopia | Yes | Technical docs |
Command | 10pt Article | 11pt Article | 12pt Article |
---|---|---|---|
\tiny | 5pt | 6pt | 6pt |
\scriptsize | 7pt | 8pt | 8pt |
\footnotesize | 8pt | 9pt | 10pt |
\small | 9pt | 10pt | 10.95pt |
\normalsize | 10pt | 10.95pt | 12pt |
\large | 12pt | 12pt | 14.4pt |
\Large | 14.4pt | 14.4pt | 17.28pt |
\LARGE | 17.28pt | 17.28pt | 20.74pt |
\huge | 20.74pt | 20.74pt | 24.88pt |
\Huge | 24.88pt | 24.88pt | 24.88pt |
Task | pdfLaTeX | XeLaTeX/LuaLaTeX |
---|---|---|
Times font | \usepackage{mathptmx} | \setmainfont{Times New Roman} |
Sans default | \renewcommand{\familydefault}{\sfdefault} | \setmainfont{Arial} |
Math fonts | \usepackage{newtxmath} | \usepackage{unicode-math} |
Custom font | Use packages | \newfontfamily\myfont{FontName} |