在下面的 XeLaTeX 範例中,
\documentclass{article}
\usepackage{fontspec,unicode-math}
\setmainfont{Libertinus Serif}
\setmathfont{Libertinus Math}
\begin{document}
$\mathrm{d}$: d\footnote{$\mathrm{d}$: d}
\end{document}
\mathrm
正文中的 d 很好(兩個 d 看起來相同),而腳註中的 d 沒有使用正確的字體(第一個 d 不同)。這裡發生了什麼以及我該如何解決它?
