I need to use Tex Gyre Adventor as a font in my documents. This font has no math font, so I'd like to use the numbers of that font in math mode.
I managed to do it using \setmathfont[range=up/{num}]{TeX Gyre Adventor}
, as indicated in the documentation of unicode-math.
My problem is that the numbers in math mode are bigger than the letters. Here is below an example.
\documentclass{article}
\usepackage{fontspec}
\usepackage{unicode-math}
\setmainfont{TeX Gyre Adventor}
\setmathfont{xits-math}
\setmathfont[range=up/{num}]{TeX Gyre Adventor}
\begin{document}
In text mode: 3\,z.
In math mode: $3\,z$.
\end{document}
Is there any way to change the size of the xits font only, so it has the same size as the Tex Gyre Adventor font ?
Thank you,
Régis