帶有 lualatex 的數學字體

帶有 lualatex 的數學字體

結果對於 Minion Pro 和lualatex.我設法透過以下 MWE 獲得接近完美的結果:

\documentclass{article}
\usepackage{fontspec}
\usepackage{unicode-math}
\setmainfont[SmallCapsFeatures={Renderer=Basic}]{Minion Pro}
\setmathfont{MnSymbol10}
\setmathfont[range=\mathup/{num,latin,Latin,greek,Greek}]{Minion Pro}
\setmathfont[range=\mathbfup/{num,latin,Latin,greek,Greek}]{MinionPro-Bold}
\setmathfont[range=\mathit/{num,latin,Latin,greek,Greek}]{MinionPro-It}
\setmathfont[range=\mathbfit/{num,latin,Latin,greek,Greek}]{MinionPro-BoldIt}
\setmathfont[range=\mathscr,StylisticSet={1}]{MinionPro-It}
\usepackage[tracking=true]{microtype}

\usepackage{xfrac}

\begin{document}
\[\sfrac{1}{2\pi} \quad \sqrt{3}\]
\end{document}

到目前為止,在該配置中 sfrac 失敗(缺少 /)。如果我MnSymbol10與sfrac交換線路,MdSymbol但 sqrt 不行。我知道這種用法MnSymbol可能不是正確的方法(只是注意到 $\bullet$ 也丟失了),因為它們沒有按許多數字(5 -> 12)定期組織,而且我不知道什麼它的意思是。

知道如何讓一切正常運作嗎?

答案1

添加

\setmathfont[range="002F]{MdSymbol-Regular}

\setmathfont作為該系列的最後一行

在此輸入影像描述

相關內容