change & update fonts

Signed-off-by: szdytom <szdytom@qq.com>
This commit is contained in:
方而静 2025-07-09 14:40:38 +08:00
parent f485872f49
commit b4584eae33
Signed by: szTom
GPG Key ID: 072D999D60C6473C
3 changed files with 15 additions and 5 deletions

View File

@ -7,12 +7,16 @@ url = "https://github.com/notofonts/noto-cjk/releases/download/Sans2.004/08_Noto
patterns = [".otf"]
[[fonts]]
url = "https://github.com/TrionesType/zhuque/releases/download/v0.211/ZhuqueFangsong-v0.211.zip"
url = "https://github.com/TrionesType/zhuque/releases/download/v0.212/ZhuqueFangsong-v0.212.zip"
patterns = [".ttf"]
#[[fonts]]
#url = "https://github.com/tonsky/FiraCode/releases/download/6.2/Fira_Code_v6.2.zip"
#patterns = [".ttf"]
[[fonts]]
url = "https://github.com/tonsky/FiraCode/releases/download/6.2/Fira_Code_v6.2.zip"
patterns = [".ttf"]
[[fonts]]
url = "https://mirrors.ctan.org/fonts/concmath-otf.zip"
patterns = [".otf"]
[typst]
version = "0.13.1"

3
math.typ Normal file
View File

@ -0,0 +1,3 @@
#let ee = "e"
#let ii = "i"
#let span = $op("span")$

View File

@ -9,6 +9,7 @@
#let zhfont_serif = ("Noto Serif CJK SC",)
#let zhfont_fangsong = ("Zhuque Fangsong (technical preview)", "Noto Serif CJK SC")
#let monofont = ("Fira Code",)
#let mathfont = ("Concrete Math", ..zhfont_serif)
#let tab = h(2em)
#let halftab = h(1em)
@ -99,7 +100,8 @@
bottom: 4pt + theme_color_set.at("10")
))
set footnote(numbering: "注1")
show math.equation: set text(font: ("New Computer Modern Math", ..zhfont_serif))
show math.equation: set text(font: mathfont)
hide[#title <book-title>]
body
@ -249,6 +251,7 @@
h(1fr)
text(sym.square.filled, fill: theme_color_set.at("60"))
}
place.flush()
}
#let ploting-styles = (