-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 🎨 修改质数表的生成逻辑,调整 n 的默认值为 100,并优化表格单元格的填充样式 (#5) * Feature/more configs (#7) * 🎨 修改论文模板以支持自定义页眉,添加默认页眉内容 * 👽️ 使用新版的zihao,移除了个人定义的cn-zihao函数 * 💡 增加了 paper 部分参数以及控制的说明 * ✏️ 调整导入方式,避免 import *
- Loading branch information
Showing
13 changed files
with
61 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
#import "../utils/ziti.typ": cn-zihao, cn-zh | ||
|
||
|
||
#let declaration() = { | ||
set page( | ||
paper: "a4", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,4 @@ | ||
#import "@preview/pointless-size:0.1.0": zh, zihao | ||
#import "@preview/pointless-size:0.1.1": zh, zihao | ||
|
||
#let chinese-overrides = ( | ||
("初号", 42pt), | ||
("小初", 36pt), | ||
("一号", 26pt), | ||
("小一", 24pt), | ||
("二号", 22pt), | ||
("小二", 18pt), | ||
("三号", 16pt), | ||
("小三", 15pt), | ||
("四号", 14pt), | ||
("小四", 12pt), | ||
("五号", 10.5pt), | ||
("小五", 9pt), | ||
("六号", 7.5pt), | ||
("小六", 6.5pt), | ||
("七号", 5.5pt), | ||
("八号", 5pt), | ||
("初", 42pt), | ||
("一", 26pt), | ||
("二", 22pt), | ||
("三", 16pt), | ||
("四", 14pt), | ||
("五", 10.5pt), | ||
("六", 7.5pt), | ||
("七", 5.5pt), | ||
("八", 5pt), | ||
) | ||
#let cn-zihao(size) = zihao(size, overrides: chinese-overrides) | ||
#let cn-zh(size) = zh(size, overrides: chinese-overrides) | ||
#let songti = ("Times New Roman", "SimSun") | ||
#let heiti = ("Times New Roman", "SimHei") |