I'm using Latin Modern Math as math font but, since I don't like the blackboard bold letters that come with it, I replace them with the ones from TeX Gyre Termes Math. I believe to achieve this, the following is correct
\usepackage{unicode-math}
\setmainfont{Latin Modern Roman}
\setmathfont{Latin Modern Math}
\setmathfont{TeX Gyre Termes Math}[range=bb] % blackboard letters
Unfortunately the last line also introduces white space after \big*
delimiters:
Compare with:
Any idea why this is happening?
\documentclass{article}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{unicode-math}
\setmainfont{Latin Modern Roman}
\setmathfont{Latin Modern Math}
\setmathfont{TeX Gyre Termes Math}[range=bb] % blackboard letters
\begin{document}
\[
\Bigl(\frac{d\symbf\varphi}{d\symbf\theta}\Bigr)^{\top} \frac{d\eta}{d\mu}
\quad \mathbb{R}^2
\]
\end{document}
lmodern math
aftergyre
?\left(...\right)
it is ok__um_fam1
and one get aMissing character: There is no ^^@ in font LatinModernMath-Regular
and some space. Everything works fine if I change in\__um_setup_delcodes:
the delcode setting of the period to\__um_set_delcode:nnn {operators} {
\.} {\c_zero}`.