
다음 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가 다릅니다). 여기서 무슨 일이 일어나고 있으며 어떻게 해결할 수 있나요?