下一个代码会lualatex-dev
给出警告
LaTeX Font Warning: Font shape `TU/TeXGyrePagellaMath(1)/m/up' undefined
但不是lualatex
% !TEX TS-program = lualatex-dev
\documentclass{article}
\usepackage{unicode-math}
\setromanfont[Ligatures=TeX]{TeX Gyre Pagella}
\setmathfont{TeX Gyre Pagella Math}
\begin{document}
\begin{equation}
f(a) = \frac{1}{2\pi i}\int_\gamma \frac{f(z)}{z-a}\mathrm d z
\end{equation}
\end{document}