summaryrefslogtreecommitdiff
path: root/tests/typ/math/style.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-04-13 10:39:45 +0200
committerGitHub <noreply@github.com>2024-04-13 08:39:45 +0000
commit020294fca9a7065d4b9cf4e677f606ebaaa29b00 (patch)
treec0027ad22046e2726c22298461327823d6b88d53 /tests/typ/math/style.typ
parent72dd79210602ecc799726fc096b078afbb47f299 (diff)
Better test runner (#3922)
Diffstat (limited to 'tests/typ/math/style.typ')
-rw-r--r--tests/typ/math/style.typ52
1 files changed, 0 insertions, 52 deletions
diff --git a/tests/typ/math/style.typ b/tests/typ/math/style.typ
deleted file mode 100644
index f1a38405..00000000
--- a/tests/typ/math/style.typ
+++ /dev/null
@@ -1,52 +0,0 @@
-// Test text styling in math.
-
----
-// Test italic defaults.
-$a, A, delta, ϵ, diff, Delta, ϴ$
-
----
-// Test forcing a specific style.
-$A, italic(A), upright(A), bold(A), bold(upright(A)), \
- serif(A), sans(A), cal(A), frak(A), mono(A), bb(A), \
- italic(diff), upright(diff), \
- bb("hello") + bold(cal("world")), \
- mono("SQRT")(x) wreath mono(123 + 456)$
-
----
-// Test forcing math size
-$a/b, display(a/b), display(a)/display(b), inline(a/b), script(a/b), sscript(a/b) \
- mono(script(a/b)), script(mono(a/b))\
- script(a^b, cramped: #true), script(a^b, cramped: #false)$
-
----
-// Test a few style exceptions.
-$h, bb(N), cal(R), Theta, italic(Theta), sans(Theta), sans(italic(Theta)) \
- bb(d), bb(italic(d)), italic(bb(d)), bb(e), bb(italic(e)), italic(bb(e)) \
- bb(i), bb(italic(i)), italic(bb(i)), bb(j), bb(italic(j)), italic(bb(j)) \
- bb(D), bb(italic(D)), italic(bb(D))$
-
----
-// Test a few greek exceptions.
-$bb(Gamma) , bb(gamma), bb(Pi), bb(pi), bb(sum)$
-
----
-// Test hebrew exceptions.
-$aleph, beth, gimel, daleth$
-
----
-// Test font fallback.
-$ よ and 🏳️‍🌈 $
-
----
-// Test text properties.
-$text(#red, "time"^2) + sqrt("place")$
-
----
-// Test different font.
-#show math.equation: set text(font: "Fira Math")
-$ v := vec(1 + 2, 2 - 4, sqrt(3), arrow(x)) + 1 $
-
----
-// Test using rules for symbols
-#show sym.tack: it => $#h(1em) it #h(1em)$
-$ a tack b $