Skip to content

Commit 6431bde

Browse files
authored
[FIX] Modify files to meet package requirements (#64)
1 parent a759fd6 commit 6431bde

File tree

7 files changed

+14
-99
lines changed

7 files changed

+14
-99
lines changed

pages/declare.typ

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
#let declare-page(
66
info: (:),
7-
author_sign: none,
8-
supervisor_sign: none,
7+
author-sign: none,
8+
supervisor-sign: none,
99
date: none,
1010
) = context {
1111
set text(font: ziti.songti.get(), size: zihao.xiaosi)
@@ -33,7 +33,7 @@
3333
#linebreak()
3434
#linebreak()
3535

36-
签 名:#uline(5.5em, place(center+bottom,author_sign))
36+
签 名:#uline(5.5em, place(center+bottom,author-sign))
3737
日 期:#uline(
3838
5.5em,
3939
if date == none { datetime.today().display("[year].[month].[day]") } else { date },
@@ -53,8 +53,8 @@
5353

5454
#text(stroke: 0.4pt)[(保密的论文在解密后应遵守此规定)] #linebreak() #linebreak()
5555

56-
签 名:#uline(5.5em, place(center+bottom, author_sign))
57-
指导教师签名:#uline(5.5em, place(center+bottom,supervisor_sign))
56+
签 名:#uline(5.5em, place(center+bottom, author-sign))
57+
指导教师签名:#uline(5.5em, place(center+bottom,supervisor-sign))
5858
日 期:#uline(5.5em, if date == none { datetime.today().display("[year].[month].[day]") } else { date })
5959
]
6060

template/figures/cetz.png

465 KB
Loading

template/figures/cetz.typ

Lines changed: 0 additions & 63 deletions
This file was deleted.

template/figures/fletcher.png

273 KB
Loading

template/figures/fletcher.typ

Lines changed: 0 additions & 21 deletions
This file was deleted.

template/thesis.typ

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@
5454

5555
// 显示声明
5656
#declare(
57-
author_sign: image("figures/sign.png"), // 学生签名
58-
supervisor_sign: image("figures/sign.png"), // 教师签名
57+
author-sign: image("figures/sign.png"), // 学生签名
58+
supervisor-sign: image("figures/sign.png"), // 教师签名
5959
date: none, // 日期为空则默认为当天
6060
)
6161

@@ -411,23 +411,22 @@ $ 1 / mu nabla^2 Alpha - j omega sigma Alpha - nabla(1 / mu) times (nabla times
411411

412412
使用#link("https://typst.app/universe/package/fletcher", underline([Fletcher]))可以绘制流程图,点击横线处链接查看使用文档。
413413

414-
#import "figures/fletcher.typ"
415414
#imagex(
416-
fletcher.resnet_block(100%),
417-
caption: [残差块],
418-
label-name: "residual",
415+
image("figures/fletcher.png"),
416+
caption: [Fletcher示例],
419417
)
420418

419+
#pagebreak()
420+
421421
== 复杂图形绘制
422422

423423
Fletcher是基于#link("https://typst.app/universe/package/cetz", underline([CeTZ]))的,CeTZ可以绘制更复杂的图形,点击横线处链接查看使用文档。
424424

425-
#import "figures/cetz.typ"
426425
#imagex(
427-
cetz.camera_model(70%),
428-
caption: [相机针孔成像模型],
429-
label-name: "camera_model",
426+
image("figures/cetz.png"),
427+
caption: [CeTZ示例],
430428
)
429+
431430
#pagebreak()
432431

433432
== LaTex公式

thumbnail.png

-549 KB
Loading

0 commit comments

Comments
 (0)