You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
上传你电脑里的C:\Windows\Fonts里的四个文件到overleaf,跟main.tex和ustcthesis.cls在同一层级
simfang.ttf,即仿宋
simhei.ttf,即黑体
simkai.ttf,即楷体
simsun.ttc,即宋体
选择windows字库:在ustcthesis.cls定位以下代码
把
fontset = ubuntu
和fontset = fandol
改为fontset = windows
。引用上传的字体文件:在ustcthesis.cls定位以下代码
里面的
\setCJKmainfont
、\setCJKsansfont
、\setCJKmonofont
后的第一项改成相应的文件名。\setCJKmainfont
内的ItalicFont = KaiTi
中的KaiTi
也要改成文件名。所有\setCJKfamilyfont
的第二个中括号也要改成对应文件名,即注意:请下载pdf下来仔细检查。
注意:不同模板版本下可能无法正常工作,请仔细检查。
当然,如果你在用自己搭的overleaf Community的话,参考这篇文章https://www.cnblogs.com/fusluv/p/12536302.html提前把字体文件放进docker就好。
Beta Was this translation helpful? Give feedback.
All reactions