mirror of
https://github.com/szdytom/LADRSolutions.git
synced 2025-10-19 16:30:16 +00:00
change & update fonts
Signed-off-by: szdytom <szdytom@qq.com>
This commit is contained in:
parent
f485872f49
commit
b4584eae33
12
build.toml
12
build.toml
@ -7,12 +7,16 @@ url = "https://github.com/notofonts/noto-cjk/releases/download/Sans2.004/08_Noto
|
|||||||
patterns = [".otf"]
|
patterns = [".otf"]
|
||||||
|
|
||||||
[[fonts]]
|
[[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"]
|
patterns = [".ttf"]
|
||||||
|
|
||||||
#[[fonts]]
|
[[fonts]]
|
||||||
#url = "https://github.com/tonsky/FiraCode/releases/download/6.2/Fira_Code_v6.2.zip"
|
url = "https://github.com/tonsky/FiraCode/releases/download/6.2/Fira_Code_v6.2.zip"
|
||||||
#patterns = [".ttf"]
|
patterns = [".ttf"]
|
||||||
|
|
||||||
|
[[fonts]]
|
||||||
|
url = "https://mirrors.ctan.org/fonts/concmath-otf.zip"
|
||||||
|
patterns = [".otf"]
|
||||||
|
|
||||||
[typst]
|
[typst]
|
||||||
version = "0.13.1"
|
version = "0.13.1"
|
||||||
|
3
math.typ
Normal file
3
math.typ
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#let ee = "e"
|
||||||
|
#let ii = "i"
|
||||||
|
#let span = $op("span")$
|
@ -9,6 +9,7 @@
|
|||||||
#let zhfont_serif = ("Noto Serif CJK SC",)
|
#let zhfont_serif = ("Noto Serif CJK SC",)
|
||||||
#let zhfont_fangsong = ("Zhuque Fangsong (technical preview)", "Noto Serif CJK SC")
|
#let zhfont_fangsong = ("Zhuque Fangsong (technical preview)", "Noto Serif CJK SC")
|
||||||
#let monofont = ("Fira Code",)
|
#let monofont = ("Fira Code",)
|
||||||
|
#let mathfont = ("Concrete Math", ..zhfont_serif)
|
||||||
|
|
||||||
#let tab = h(2em)
|
#let tab = h(2em)
|
||||||
#let halftab = h(1em)
|
#let halftab = h(1em)
|
||||||
@ -99,7 +100,8 @@
|
|||||||
bottom: 4pt + theme_color_set.at("10")
|
bottom: 4pt + theme_color_set.at("10")
|
||||||
))
|
))
|
||||||
set footnote(numbering: "注1")
|
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>]
|
hide[#title <book-title>]
|
||||||
|
|
||||||
body
|
body
|
||||||
@ -249,6 +251,7 @@
|
|||||||
h(1fr)
|
h(1fr)
|
||||||
text(sym.square.filled, fill: theme_color_set.at("60"))
|
text(sym.square.filled, fill: theme_color_set.at("60"))
|
||||||
}
|
}
|
||||||
|
place.flush()
|
||||||
}
|
}
|
||||||
|
|
||||||
#let ploting-styles = (
|
#let ploting-styles = (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user