mirror of
https://github.com/typst/typst
synced 2025-08-19 17:38:32 +08:00
Add test
This commit is contained in:
parent
2c1976d4ea
commit
30b98e75e7
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -2861,7 +2861,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "typst-assets"
|
name = "typst-assets"
|
||||||
version = "0.13.1"
|
version = "0.13.1"
|
||||||
source = "git+https://github.com/typst/typst-assets?rev=c1089b4#c1089b46c461bdde579c55caa941a3cc7dec3e8a"
|
source = "git+https://github.com/typst/typst-assets?rev=edf0d64#edf0d648376e29738a05a933af9ea99bb81557b1"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "typst-cli"
|
name = "typst-cli"
|
||||||
|
@ -32,7 +32,7 @@ typst-svg = { path = "crates/typst-svg", version = "0.13.1" }
|
|||||||
typst-syntax = { path = "crates/typst-syntax", version = "0.13.1" }
|
typst-syntax = { path = "crates/typst-syntax", version = "0.13.1" }
|
||||||
typst-timing = { path = "crates/typst-timing", version = "0.13.1" }
|
typst-timing = { path = "crates/typst-timing", version = "0.13.1" }
|
||||||
typst-utils = { path = "crates/typst-utils", version = "0.13.1" }
|
typst-utils = { path = "crates/typst-utils", version = "0.13.1" }
|
||||||
typst-assets = { git = "https://github.com/typst/typst-assets", rev = "c1089b4" }
|
typst-assets = { git = "https://github.com/typst/typst-assets", rev = "edf0d64" }
|
||||||
typst-dev-assets = { git = "https://github.com/typst/typst-dev-assets", rev = "bfa947f" }
|
typst-dev-assets = { git = "https://github.com/typst/typst-dev-assets", rev = "bfa947f" }
|
||||||
arrayvec = "0.7.4"
|
arrayvec = "0.7.4"
|
||||||
az = "1.2"
|
az = "1.2"
|
||||||
|
BIN
tests/ref/math-style-script.png
Normal file
BIN
tests/ref/math-style-script.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 585 B |
@ -50,6 +50,13 @@ $bb(Gamma) , bb(gamma), bb(Pi), bb(pi), bb(sum)$
|
|||||||
$aleph, beth, gimel, daleth$ \
|
$aleph, beth, gimel, daleth$ \
|
||||||
$upright(aleph), upright(beth), upright(gimel), upright(daleth)$
|
$upright(aleph), upright(beth), upright(gimel), upright(daleth)$
|
||||||
|
|
||||||
|
--- math-style-script ---
|
||||||
|
// Test variation selectors for scr and cal.
|
||||||
|
$cal(A) scr(A) bold(cal(O)) scr(bold(O))$
|
||||||
|
|
||||||
|
#show math.equation: set text(font: "Noto Sans Math")
|
||||||
|
$scr(E) cal(E) bold(scr(Y)) cal(bold(Y))$
|
||||||
|
|
||||||
--- issue-3650-italic-equation ---
|
--- issue-3650-italic-equation ---
|
||||||
_abc $sin(x) "abc"$_ \
|
_abc $sin(x) "abc"$_ \
|
||||||
$italic(sin(x) "abc" #box[abc])$ \
|
$italic(sin(x) "abc" #box[abc])$ \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user