-
使用XITS后用unicode-math的\symbfit无法产生数字的粗斜体。例:
|
Beta Was this translation helpful? Give feedback.
Answered by
note286
May 27, 2025
Replies: 1 comment 3 replies
-
我猜测你可能使用如下方式得到了所谓的公式中的斜体数字: $\mathit{0}$ 下面我给出一个小例子(没有使用 \documentclass{article}
\usepackage{fontspec}
\begin{document}
$\mathit{0}$
$0$
\end{document} 上面的例子中我们修改了正文字体为Latin Modern Roman( 所以,你的提问是不准确的,不是XITS Math字体无法显示数字的斜体,而是并不存在公式中的数字斜体。 |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
FrtHone
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我猜测你可能使用如下方式得到了所谓的公式中的斜体数字:
$\mathit{0}$
下面我给出一个小例子(没有使用
unicode-math
)来证明这并不是数学,而是文本上面的例子中我们修改了正文字体为Latin Modern Roman(
fontspec
的默认值),数学字体为默认的Computer Modern,编译这个文档后,可以发现,第一个数字为Latin Modern Roman字体,第二个数字为Computer Modern字体,这是因为\mathit
并不是数学斜体,而是正文斜体。在数学字体文件中,并没有定义“斜体”的数字,所以实际上无法得到真正的斜体数字公式。所以,你的提问是不准确的,不是XITS Math字体无法显示数字的斜体,而是并不存在公式中的数字斜体。