Skip to content

Commit 80f6d49

Browse files
committed
fix: remove Chinese text in typst
1 parent 9d5065f commit 80f6d49

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

docs/cs/db/relational-model.md

+6-9
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ prereq([course_id]{.und}, [prereq_id]{.und})
6161

6262
```typst
6363
#show table.cell.where(y: 0): math.bold
64-
#set text(font: "Noto Serif SC")
6564
#let tb(cap, col, ..args) = [
6665
#table(
6766
columns: col,
@@ -83,7 +82,7 @@ prereq([course_id]{.und}, [prereq_id]{.und})
8382
gutter: 16pt,
8483
align: horizon,
8584
tb(
86-
[关系 $r$],
85+
[],
8786
3,
8887
$A$, $B$, $C$,
8988
$alpha$, $10$, $1$,
@@ -131,7 +130,6 @@ prereq([course_id]{.und}, [prereq_id]{.und})
131130

132131
```typst
133132
#show table.cell.where(y: 0): math.bold
134-
#set text(font: "Noto Serif SC")
135133
#let tb(cap, col, ..args) = [
136134
#table(
137135
columns: col,
@@ -153,15 +151,15 @@ prereq([course_id]{.und}, [prereq_id]{.und})
153151
gutter: 16pt,
154152
align: horizon,
155153
tb(
156-
[关系 $r$],
154+
$r$,
157155
2,
158156
$A$, $B$,
159157
$alpha$, $1$,
160158
$beta$, $2$
161159
),
162160
$times$,
163161
tb(
164-
[关系 $s$],
162+
$s$,
165163
3,
166164
$C$, $D$, $E$,
167165
$alpha$, $10$, $a$,
@@ -171,7 +169,7 @@ prereq([course_id]{.und}, [prereq_id]{.und})
171169
),
172170
$=$,
173171
tb(
174-
[笛卡尔积 $r times s$],
172+
$r times s$,
175173
5,
176174
$A$, $B$, $C$, $D$, $E$,
177175
$alpha$, $1$, $alpha$, $10$, $a$,
@@ -463,7 +461,6 @@ $\Pi_{\text{name}}(\text{instructor}$ ⋉$_{\text{instructor.ID = teaches.ID}}(\
463461

464462
```typst
465463
#show table.cell.where(y: 0): math.bold
466-
#set text(font: "Noto Serif SC")
467464
#let tb(cap, col, ..args) = [
468465
#table(
469466
columns: col,
@@ -485,7 +482,7 @@ $\Pi_{\text{name}}(\text{instructor}$ ⋉$_{\text{instructor.ID = teaches.ID}}(\
485482
gutter: 16pt,
486483
align: horizon,
487484
tb(
488-
[关系 $r$],
485+
$r$,
489486
2,
490487
$A$, $B$,
491488
$alpha$, $1$,
@@ -501,7 +498,7 @@ $\Pi_{\text{name}}(\text{instructor}$ ⋉$_{\text{instructor.ID = teaches.ID}}(\
501498
$beta$, $2$
502499
),
503500
$div$,
504-
tb([关系 $s$], 1, $B$, $1$, $2$),
501+
tb($s$, 1, $B$, $1$, $2$),
505502
$=$,
506503
tb($r div s$, 1, $A$, $alpha$, $beta$),
507504
)

todo.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## 近期
22

3+
- typst 支持中文(让 workflow 先安装字体)
34
- 修改 . 的渲染
45
- LeftBar 添加折叠(?)
56
- 深色模式切换按钮(切换的时候给所有元素设置临时的 transition !important?)(放 rightbar?或者不要也可以)

0 commit comments

Comments
 (0)