Skip to content
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

花体字母显示不正确 #7

Open
ssyuwang opened this issue Nov 15, 2024 · 2 comments
Open

花体字母显示不正确 #7

ssyuwang opened this issue Nov 15, 2024 · 2 comments

Comments

@ssyuwang
Copy link

ssyuwang commented Nov 15, 2024

您好,最近在使用此模版来进行毕业论文排版时,发现一个问题,就是公式里包含花体字母,但是显示不正确,请问怎么解决?
比如输入公式代码为: \begin{equation} \label{equ_3} {\widetilde{\mathcal{Y}}} = {\mathcal{F}} ({\mathcal{Y}}, {\mathcal{C}}, {\mathcal{G}}; {\mathcal{X}}).
\end{equation},使用此模版加载出来的可视化情况是
微信图片_20241115181658
,但是正确可视化情况应该为
20241115181818

@Kian-Chen
Copy link

师姐好,我觉得可能应该是在tongjithesis.cls文件的第167行处引入mathalfa宏包时定义的问题,在原始仓库中设定的是cal=dutchcal,将\mathcal设定为了DutchCal风格,如果要使用CM calligraphic, cmsy风格的\mathcal则应该把此处改为cal=cm

此时我试了一下\mathcal和使用\bm{}加粗后的公式如图
image

但是好像\widetilde粗体显示还有点差别,更多的字体风格设置我感觉可能还要查查官方文档,如在本地使用texdoc mathalfa命令或者访问这个链接:https://www.tug.org/TUGboat/tb32-2/tb101sharpe.pdf

@ssyuwang
Copy link
Author

问题已解决 非常感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants