Some fonts in LaTeX

Times New Roman, Palatino, Garamond, Erewhon, Georgia

ON THIS PAGE


LaTeX is probably familiar to most people who do quantitative work. Sometimes we might want to use different fonts, to make our documents look nicer. This post introduces some commonly used fonts with their respective math fonts in LaTeX and how to load them with PDFLaTeX. Also, there is a picture of example output of each font generated by the duckuments package.


Times New Roman

Times New Roman–type fonts are used almost everywhere, formally or informally. To use the font globally, put the following in the preamble (i.e., after \documentclass[]{} and before \begin{document}):

\usepackage{newtxtext, newtxmath}

An example paragraph in this font:

Times New Roman

Palatino

Similarly, use the newpx packages as below,

\usepackage{newpxtext,newpxmath}

An example paragraph in this font:

Palatino

Garamond

EB Garamond is recommended generally. Use it by putting the following into the preamble

\usepackage[cmintegrals,cmbraces]{newtxmath}
\usepackage{ebgaramond-maths}
\usepackage[T1]{fontenc}

An example paragraph in this font:

EB Garamond

Erewhon

To use Erewhon, use

\usepackage[space]{erewhon}
\usepackage[type1,scaled=.95]{cabin}
\usepackage[utopia,vvarbb]{newtxmath}

which gives

Erewhon

Georgia

This solution comes from the an answer on StackExchange. To use the font in this way with math, use LuaLaTeX instead of PDFLaTeX! The example output comes from the original answer.

Georgia

Source: https://i.stack.imgur.com/3uEFd.png, https://tex.stackexchange.com/a/464586/317380.
\usepackage[math-style=ISO]{unicode-math}
\usepackage{microtype}

\defaultfontfeatures{Scale=MatchLowercase}
\setmainfont{Georgia}[Scale = 1.0]
\setmathfont{Asana Math}
\setmathfont[range={up,`∏,`∑,`∙,`√,`∞}, script-features={}, sscript-features={}]{Georgia}
\setmathfont[range=it,script-features={}, sscript-features={}]{Georgia Italic}
\setmathfont[range=bfup,script-features={}, sscript-features={}]{Georgia Bold}
\setmathfont[range=bfit,script-features={}, sscript-features={}]{Georgia Bold Italic}

References on CTAN

CTAN stands for The Comprehensive TeX Archive Network, and it has all kinds of packages in TeX. As of the written day, there are 6542 packages, most of which can be downloaded and used immediately. This list below, in alphabetical order, contains the links of the aforementioned packages in CTAN.