Skip to content

Commit

Permalink
feat: 加入更多字体以及作者声明
Browse files Browse the repository at this point in the history
  • Loading branch information
OrangeX4 committed Oct 27, 2023
1 parent 279d15c commit 42bdef0
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 3 deletions.
Binary file added fonts/Arial/Arial.otf
Binary file not shown.
Binary file added fonts/TimesNewRoman/TimesNewRoman-Bold-Italic.ttf
Binary file not shown.
Binary file added fonts/TimesNewRoman/TimesNewRoman-Bold.ttf
Binary file not shown.
Binary file added fonts/TimesNewRoman/TimesNewRoman-Italic.ttf
Binary file not shown.
Binary file added fonts/TimesNewRoman/TimesNewRoman.ttf
Binary file not shown.
5 changes: 5 additions & 0 deletions nju-thesis/template.typ
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// 南京大学学位论文模板 nju-thesis-typst
// Author: https://github.com/OrangeX4
// Repo: https://github.com/OrangeX4/nju-thesis-typst
// 在线模板可能不会更新得很及时,如果需要最新版本,请关注 Repo

#import "@preview/anti-matter:0.0.2": anti-inner-end as mainmatter-end
#import "layouts/doc.typ": doc
#import "layouts/preface.typ": preface
Expand Down
6 changes: 3 additions & 3 deletions nju-thesis/utils/style.typ
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@
#let 字体 = (
// 宋体,属于「有衬线字体」,一般可以等同于英文中的 Serif Font
// 这一行分别是「新罗马体(有衬线英文字体)」、「思源宋体(简体)」、「思源宋体」、「宋体(Windows)」、「宋体(MacOS)」
宋体: ("Times New Roman", "Source Han Serif SC", "Source Han Serif", "SimSun", "Songti SC", "STSongti"),
宋体: ("Times New Roman", "Source Han Serif SC", "Source Han Serif", "Noto Serif CJK SC", "SimSun", "Songti SC", "STSongti"),
// 黑体,属于「无衬线字体」,一般可以等同于英文中的 Sans Serif Font
// 这一行分别是「Arial(无衬线英文字体)」、「思源黑体(简体)」、「思源黑体」、「黑体(Windows)」、「黑体(MacOS)」
黑体: ("Arial", "Source Han Sans SC", "Source Han Sans", "SimHei", "Heiti SC", "STHeiti"),
黑体: ("Arial", "Source Han Sans SC", "Source Han Sans", "Noto Sans CJK SC", "SimHei", "Heiti SC", "STHeiti"),
// 楷体
楷体: ("Times New Roman", "KaiTi", "Kaiti SC", "STKaiti", "FZKai-Z03S"),
// 仿宋
仿宋: ("Times New Roman", "FangSong", "FangSong SC", "STFangSong", "FZFangSong-Z02S"),
// 等宽字体,用于代码块环境,一般可以等同于英文中的 Monospaced Font
// 这一行分别是「Courier New(Windows 等宽英文字体)」、「思源等宽黑体(简体)」、「思源等宽黑体」、「黑体(Windows)」、「黑体(MacOS)」
等宽: ("Courier New", "Menlo", "Source Han Sans HW SC", "Source Han Sans HW", "SimHei", "Heiti SC", "STHeiti"),
等宽: ("Courier New", "Menlo", "IBM Plex Mono", "Source Han Sans HW SC", "Source Han Sans HW", "Noto Sans Mono CJK SC", "SimHei", "Heiti SC", "STHeiti"),
)

0 comments on commit 42bdef0

Please sign in to comment.