-
Notifications
You must be signed in to change notification settings - Fork 256
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
在公式环境里面出现 \hat 出错 #1
Comments
根据 TeX.StackExchange 的描述:
也就是字体的搭配问题,然后我查到的解决方法是:重新定义重音符号命令( \DeclareSymbolFont{operators}{\encodingdefault}{\familydefault}{m}{n} 然后我就搜了下,发现其实让数字使用 Times New Roman /Times 族字体还有其他方式:
\setmainfont{Times New Roman} 改为 \setmainfont{Times New Roman}[NFSSFamily=ntxtlf]
\DeclareSymbolFont{operators}{OT1}{ntxtlf}{m}{n}
\SetSymbolFont{operators}{bold}{OT1}{ntxtlf}{b}{n} 这两种方法都能解决这个问题,你可以试下。 最后,我把修正过的代码上传了,谢谢反馈! |
问题解决了。很详细的回复,非常感谢。 |
@EthanDeng 赞高效,赞详细~ |
文件 :elegantpaper-cn.tex
情况复现:
提示:
希望东哥有时间能看看哦
The text was updated successfully, but these errors were encountered: