Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
对该 PR 的总结
本次 PR 增加了对 Adobe 字体的支持,进一步提升了文档对生僻字的渲染能力。
然而,这个功能更新涉及到字体在本地手动安装或在 Overleaf 上编译速度减慢的问题。因此,我们将其设置为可选项,用户可以根据需要自行修改相关的样式文件以启用该功能。
如果大家有与此相关的建议,欢迎在 Discussions 或者在本 PR 下讨论!
样式修改
为了使用字库更完全的 Adobe 字体,您需要进行以下修改:
在
style/tongjithesis.cls
的第 10 行找到如下代码段:\LoadClass[UTF8,a4paper,fontset=fandol]{ctexart}
并将其修改为:
\LoadClass[UTF8,a4paper,fontset=adobe]{ctexart}
这样修改后,LaTeX 将使用 Adobe 字体集来渲染文档。
字体安装
字体安装的步骤如下:
请注意以下编译方式的支持情况:
您可以在模板文档的 1.2.1 小节 “测试生僻字” 中查看具体效果。
通过以上步骤,您将能够使用 Adobe 字体集并正确渲染文档。
该 PR 的功能展示
使用 Adobe 字体(更新后)
使用 Fandol 字体(更新前)