-
Notifications
You must be signed in to change notification settings - Fork 639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
\hbar无法正常显示 #53
Comments
没细看原因。在载入 \PassOptionsToPackage{no-math}{fontspec} 能解决问题。具体源码位置在 zjuthesis/config/zjuthesis.cls Lines 43 to 48 in 48d534f
|
我测试了一下,似乎是
给出了如下结果 但删除 @muzimuzhi 提供的办法是可行的,我这就更新一下代码 |
代码已经更新到master分支,最近会release新的版本 |
嗯。看了实现,
issue 报告的问题,是因为 Times New Roman 的 U+00AF 比较高,和 Latin Modern Math 的 h 不匹配。问题本质是字体搭配使用的事。 PS:xelatex 下更建议用 unicode-math 配置数学字体。 |
用本模板编译出来的\hbar如下图:
同一台电脑上,简单写一个文档编译结果如下:
使用本模板时,具体是将zjuthesis.tex中设置为中文,专业为physics,其余用直接下载的模板中的命令,直接运行模板中的latexmk编译,即可发现这一问题
The text was updated successfully, but these errors were encountered: