Use TeX Gyre Font in LuaLaTeX
Sep 21, 2023
\RequirePackage[OT1]{fontenc}
\documentclass{article}
\usepackage{fullpage}
\usepackage{paralist}
\usepackage{unicode-math}
\setromanfont{TeX Gyre Termes}
\setsansfont{TeX Gyre Heros}
\setmonofont{TeX Gyre Cursor}[Ligatures=NoCommon]
\setmathfont{TeX Gyre Termes Math}
\begin{document}
\section{Normal Text}
\begin{compactenum}
\item Normal text uses TeX Gyre Termes. This is \textbf{bold} and this is \textit{italic}. This is \textbf{\textit{bold-italic}}.
\item \textsf{Sans text uses TeX Gyre Heros.}
\item \texttt{Teletype text uses TeX Gyre Cursor.}
\end{compactenum}
\section{Maths}
\begin{align*}
ABCDEFGHIJKLMNOPQRSTUVWXYZ \\
\mathbf{ABCDEFGHIJKLMNOPQRSTUVWXYZ} \\
\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ} \\
\mathsf{ABCDEFGHIJKLMNOPQRSTUVWXYZ} \\
\mathit{ABCDEFGHIJKLMNOPQRSTUVWXYZ} \\
\mathtt{ABCDEFGHIJKLMNOPQRSTUVWXYZ} \\
\mathfrak{ABCDEFGHIJKLMNOPQRSTUVWXYZ} \\
\mathbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ} \\
\end{align*}
\end{document}