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

请问有在overleaf上编译成功的吗? #25

Open
xiaofengwo opened this issue Mar 7, 2020 · 6 comments
Open

请问有在overleaf上编译成功的吗? #25

xiaofengwo opened this issue Mar 7, 2020 · 6 comments

Comments

@xiaofengwo
Copy link

No description provided.

@TIEHua
Copy link

TIEHua commented Apr 6, 2020

请问你在overleaf上运行成功了么

@Winters123
Copy link

丢上去试了一下,报了timeout,没有额外提示。

@daima2017
Copy link

请问,最后有成功的小伙伴吗?

@Dingxxxx
Copy link

给一点参考,主要是字体问题,可以把第一行的ttf改为otf

然后把 nudtpaper.cls 中otf定义部分修改为

% otf字体(Adobe)
\newcommand{\installotf}{
%%%% Thesis Fonts
\setmainfont{Times New Roman}
\setsansfont{Arial}
\setmonofont{Courier New}
%%%% Using Adobe Family Fonts
\setCJKmainfont[BoldFont={STZhongsong.ttf}]{SimSun.ttc}
\setCJKsansfont{SimHei.ttf} % Hei
\setCJKmonofont{FangSong_GB2312.ttf} % Fangsong
%%%% alias
\setCJKfamilyfont{song}{SimSun.ttc}
\setCJKfamilyfont{hei}{SimHei.ttf}
\setCJKfamilyfont{fs}{FangSong_GB2312.ttf} % fang-song
\setCJKfamilyfont{kai}{FZK_GBK.ttf} % Kai
\setCJKfamilyfont{times}{Times New Roman} % times
}

在把对应的字体文件放在overleaf根目录下,就可以编译成功了

但是这样只是能看内容,方便写作

最终版本在本地把otf改为ttf编译一次就可以了

@yzfxmu
Copy link

yzfxmu commented Apr 5, 2023

给一点参考,主要是字体问题,可以把第一行的ttf改为otf

然后把 nudtpaper.cls 中otf定义部分修改为

% otf字体(Adobe) \newcommand{\installotf}{ %%%% Thesis Fonts \setmainfont{Times New Roman} \setsansfont{Arial} \setmonofont{Courier New} %%%% Using Adobe Family Fonts \setCJKmainfont[BoldFont={STZhongsong.ttf}]{SimSun.ttc} \setCJKsansfont{SimHei.ttf} % Hei \setCJKmonofont{FangSong_GB2312.ttf} % Fangsong %%%% alias \setCJKfamilyfont{song}{SimSun.ttc} \setCJKfamilyfont{hei}{SimHei.ttf} \setCJKfamilyfont{fs}{FangSong_GB2312.ttf} % fang-song \setCJKfamilyfont{kai}{FZK_GBK.ttf} % Kai \setCJKfamilyfont{times}{Times New Roman} % times }

在把对应的字体文件放在overleaf根目录下,就可以编译成功了

但是这样只是能看内容,方便写作

最终版本在本地把otf改为ttf编译一次就可以了

在线的还是不行

@Dingxxxx
Copy link

Dingxxxx commented Apr 9, 2023

给一点参考,主要是字体问题,可以把第一行的 ttf 改为 otf
然后把 nudtpaper.cls 中 otf 定义部分修改为
% otf 字体(Adobe) \newcommand {\installotf}{ %%%% Thesis Fonts \setmainfont {Times New Roman} \setsansfont {Arial} \setmonofont {Courier New} %%%% Using Adobe Family Fonts \setCJKmainfont [BoldFont={STZhongsong.ttf}]{SimSun.ttc} \setCJKsansfont {SimHei.ttf} % Hei \setCJKmonofont {FangSong_GB2312.ttf} % Fangsong %%%% alias \setCJKfamilyfont {song}{SimSun.ttc} \setCJKfamilyfont {hei}{SimHei.ttf} \setCJKfamilyfont {fs}{FangSong_GB2312.ttf} % fang-song \setCJKfamilyfont {kai}{FZK_GBK.ttf} % Kai \setCJKfamilyfont {times}{Times New Roman} % times }
在把对应的字体文件放在 overleaf 根目录下,就可以编译成功了
但是这样只是能看内容,方便写作
最终版本在本地把 otf 改为 ttf 编译一次就可以了

在线的还是不行

什么问题 你把链接发我看看

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

6 participants