We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
\RequirePackage{fontspec}
[no-math]
\RequirePackage[no-math]{fontspec}
\setmainfont{Times New Roman} undefine
\renewcommand{\hbar}{\mathchar'26\mkern-9mu h}
\newcommand{\mean}[1]{\langle #1 \rangle}
The text was updated successfully, but these errors were encountered:
已经解决:no-math参数只能在调用模版的时候用。所以需要\documentclass[no-math]{sysuthesis}。
no-math
\documentclass[no-math]{sysuthesis}
Sorry, something went wrong.
赞👍,有解决方案就很棒
No branches or pull requests
操作系统:MacOS Big Sur 11.2.3
编译系统:This is XeTeX, Version 3.14159265-2.6-0.999992 (TeX Live 2020)
主要问题:pdf中数学环境里面\hbar显示不正常。
尝试解决方法:
\RequirePackage{fontspec}
语句加上[no-math]
参数,即修改成\RequirePackage[no-math]{fontspec}
。结果导致编译时出现\setmainfont{Times New Roman} undefine
报错。\renewcommand{\hbar}{\mathchar'26\mkern-9mu h}
。结果:普朗克符号没有发生变化,似乎是定义没有被“读取”?在我个人的例子中,我还有其他定义\newcommand{\mean}[1]{\langle #1 \rangle}
都是可以正常工作的。只是\hbar这一条定义无法产生效果。The text was updated successfully, but these errors were encountered: