File tree Expand file tree Collapse file tree 2 files changed +26
-6
lines changed Expand file tree Collapse file tree 2 files changed +26
-6
lines changed Original file line number Diff line number Diff line change 37
37
- [x] 图片
38
38
- [ ] 表格
39
39
- [ ] 页面脚注(开发人员说后续会加上的 [ #222 ] ( https://github.com/typst/typst/discussions/222 ) )
40
- - [ ] 页码字体改为小五号 Times New Man
40
+ - [x ] 页码字体改为小五号 Times New Man
41
41
- [x] 数学公式
42
42
- [ ] 参考文献
43
43
49
49
50
50
- [x] 默认第一段的段首无法自动空两格,必须要自己额外给第一段添加
51
51
- [x] 章节无法自动换页,需要手动输入 ` #pagebreak() `
52
- - [ ] 多行公式时,公式标号没有垂直居中
52
+ - [ ] 多行公式时,公式标号没有垂直居中
53
+ - [ ] 目录中的页码不是小五号 Times New Man
Original file line number Diff line number Diff line change 1
- // 三号 16pt,小三号 15pt,四号 14pt,小四号 12pt,五号 10.5pt
1
+ // 三号 16pt,小三号 15pt,四号 14pt,小四号 12pt,五号 10.5pt,小五号 9pt
2
2
3
3
# let FONTSET = (
4
4
Hei : " Noto Sans CJK SC" ,
92
92
depth : 3 ,
93
93
)
94
94
]
95
- pagebreak ()
96
95
97
96
// =========== Configure headings ===========
98
97
let chineseNumMap (num ) = {
133
132
text (font : FONTSET . at (" English" ), super (it ))
134
133
}
135
134
136
- // =========== Contents ===========
137
- set page (numbering : " 1" )
135
+ // =========== Page header and footer ===========
136
+ set page (
137
+ header : [
138
+ # align (center )[
139
+ # pad (bottom : - 4pt )[
140
+ # pad (bottom : - 8pt ,
141
+ text (font : FONTSET . at (" Song" ), size : 9pt , " 北京邮电大学本科毕业设计(论文)" )
142
+ )
143
+ # line (length : 100% , stroke : 0.5pt )
144
+ ]
145
+ ]
146
+ ],
147
+ footer : [
148
+ # align (center )[
149
+ # text (font : FONTSET . at (" English" ), size : 9pt )[
150
+ # counter (page ). display ()
151
+ ]
152
+ ]
153
+ ]
154
+ )
138
155
counter (page ). update (1 )
156
+
157
+ // =========== Contents ===========
139
158
body
140
159
141
160
// =========== Bibliography ===========
You can’t perform that action at this time.
0 commit comments