Skip to content

如何解决第三方overleaf平台"STZHONGS.TTF"找不到的问题 #229

Answered by atxy-blip
xlucn asked this question in Q&A
Discussion options

You must be logged in to vote

93ee219 增加了手动指定华文中宋字体文件位置的功能。我们假定你把拷贝来的 STZHONGS.TTF 上传到了项目目录下的 font 文件夹:

\documentclass[type=master,font-path={font/}]{njuthesis}
%\njusetname{stzhongsfile}{foo.ttf} % 以防你的字体不叫 STZHONGS.TTF
\begin{document}
  \maketitle
\end{document}

开发版本的模板文件可以从 https://github.com/nju-lug/NJUThesis/actions/runs/6451794015 页面底部的 Artifacts 获取。

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@xlucn
Comment options

@xlucn
Comment options

@atxy-blip
Comment options

@xlucn
Comment options

Answer selected by xlucn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
font Related to font configuration
2 participants