Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
NJUThesis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michael Yan
NJUThesis
Commits
8888d840
Commit
8888d840
authored
3 years ago
by
Yu Xiong
Browse files
Options
Downloads
Patches
Plain Diff
docs: 修改readme
parent
e6f09071
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+7
-3
7 additions, 3 deletions
README.md
profile/font.sty
+4
-3
4 additions, 3 deletions
profile/font.sty
with
11 additions
and
6 deletions
README.md
+
7
−
3
View file @
8888d840
...
...
@@ -16,8 +16,13 @@
1.
安装TexLive或者MikTex最新版
2.
下载
[
模板全部文件
](
https://github.com/nju-lug/NJUThesisUndergraduate/archive/refs/heads/master.zip
)
3.
根据需要更改
`njuthesis.tex`
文件中的内容
4.
在模板根目录下运行
`latexmk -xelatex`
编译文件,得到对应的PDF
3.
==准备所需字体==
4.
根据需要更改
`njuthesis.tex`
文件中的内容
5.
在模板根目录下运行
`latexmk -xelatex`
编译文件,得到对应的PDF
#### 关于字体
模板使用
[
思源宋体
](
https://www.google.com/get/noto/#serif-hans
)
、
[
思源黑体
](
https://www.google.com/get/noto/#sans-hans
)
、
[
方正仿宋
](
http://www.foundertype.com/index.php/FontInfo/index/id/128.html
)
、
[
方正楷体
](
http://www.foundertype.com/index.php/FontInfo/index/id/137.html
)
等中文字体用于统一格式,相关文件可以从
[
这个网盘链接
](
https://box.nju.edu.cn/d/df2788058fa74d88962b/
)
下载。
#### **关于本地编译**
...
...
@@ -77,4 +82,3 @@
-
[x] Github Action自动化构建预览PDF
-
[x] 完善文档
-
[ ] CTAN发布宏包
This diff is collapsed.
Click to expand it.
profile/font.sty
+
4
−
3
View file @
8888d840
...
...
@@ -39,11 +39,12 @@
\setCJKfamilyfont
{
zhsong
}{
Noto~Serif~CJK~SC
}
\setCJKfamilyfont
{
zhhei
}{
Noto~Sans~CJK~SC
}
% 方正楷体\方正仿宋为免费商用字体,且支持CJK字符集
% 方正仿宋 http://www.foundertype.com/index.php/FontInfo/index/id/128.html
% 方正楷体 http://www.foundertype.com/index.php/FontInfo/index/id/137.html
\setCJKfamilyfont
{
zhfs
}{
方正仿宋简体
}
[AutoFakeBold=2.17]
% 楷体使用方正楷体简体,为免费商用字体,且支持CJK字符集
% http://www.foundertype.com/index.php/FontInfo/index/id/137.html
\setCJKfamilyfont
{
zhkai
}{
方正楷体简体
}
[AutoFakeBold=2.17]
% \setCJKfamilyfont{zhnewhei}{Microsoft~YaHei}[BoldFont=Microsoft~YaHei~Bold]
% }
% \newcommand\use_fontset_macos{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment