Skip to content

Commit

Permalink
fix: fix readme.
Browse files Browse the repository at this point in the history
Signed-off-by: Juntong Chen <[email protected]>
  • Loading branch information
jtchen2k committed Jan 10, 2025
1 parent cfd98be commit 9489f93
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/preview/modern-ecnu-thesis/0.1.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

- 优化图片与表格的排版
- 优化页眉排版和页码显示,支持奇偶页
- 优化目录的缩进与对其
- 优化目录的缩进与对齐
- 优化引用格式
- 优化段落缩进
- 优化对多行标题 / 院系的处理逻辑
Expand Down Expand Up @@ -62,7 +62,7 @@ ln -s </path/to/modern-ecnu-thesis> $DATA_DIR/typst/packages/preview/modern-ecnu

在 Typst Web App 中选择 `Start from template`,随后搜索 `modern-ecnu-thesis` 即可开始使用。

为了在 Web 编辑器中正确显示字体,你需要将这里的字体文件上传到 Typst Web App。
为了在 Web 编辑器中正确显示字体,你需要将[这里](https://github.com/jtchen2k/modern-ecnu-thesis/tree/main/fonts)的字体文件上传到 Typst Web App。

## Tips

Expand Down
6 changes: 3 additions & 3 deletions packages/preview/modern-ecnu-thesis/0.1.0/lib.typ
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @project: modern-ecnu-thesis
* @author: OrangeX4, Juntong Chen ([email protected])
* @created: 2025-01-06 22:37:34
* @modified: 2025-01-10 01:52:22
* @modified: 2025-01-10 01:58:02
*
* 华东师范大学学位论文模板
* Repo: https://github.com/jtchen2k/modern-ecnu-thesis
Expand Down Expand Up @@ -232,7 +232,7 @@
title-text-args: (font: 字体.黑体, size: 字号.三号, weight: "bold"),
show-heading: true,
vspace: (1.2em, 1em),
indent: (0em, 2.38em, 2.15em),
indent: (0em, 2.38em, 2em, 2.8em),
..args,
fonts: fonts + args.named().at("fonts", default: (:)),
)
Expand All @@ -242,7 +242,7 @@
title-text-args: (font: 字体.黑体, size: 字号.三号, weight: "bold"),
vspace: (1.35em, 1.2em),
weight: ("regular", "regular"),
indent: (0em, 2.38em, 2em),
indent: (0em, 2.38em, 2em, 2.8em),
doctype: doctype,
show-heading: true,
..args,
Expand Down

0 comments on commit 9489f93

Please sign in to comment.