Skip to content
Discussion options

You must be logged in to vote

手册中已经提及,除了Computer Modern数学字体外,均为unicode-math宏包处理,因此,如果你想使用正体,请使用\symup而不是\mathrm。此外,\symrm\symup是互为别名,这一点你可以在unicode-math手册中看到。

unicode-math中,\math系列的命令是调用文本字体,而\sym系列的命令是调用数学字体,同样地,这一点你可以在unicode-math手册中看到。因此你可以看到下面的示例中,\symup{x} \mathrm{x}的显示效果不同,是因为不是同一个字体。

一般来说,公式符号为意大利体,这是约定俗成的,你在LaTeX直接写公式默认就是意大利体。因此,我建议你使用$\sin x$而不是$\sin \symup{x}$

最后,由于学位论文规定英文字体为Times New Roman,因此我更建议你选择一款Times风格的数学字体,例如XITS Math。

\documentclass{xdupgthesis}
\xdusetup{style/math-font=bonum}
\begin{document}
$\sin x$
$\sin \symup{x}$
$\sin \mathrm{x}$
\end{document}

Replies: 1 comment 14 replies

Comment options

You must be logged in to vote
14 replies
@note286
Comment options

@sikouhjw
Comment options

@note286
Comment options

@note286
Comment options

@note286
Comment options

Answer selected by jzmzz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants