summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/math/style.pngbin20415 -> 27879 bytes
-rw-r--r--tests/typ/math/style.typ6
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/ref/math/style.png b/tests/ref/math/style.png
index c5e72258..39ecc441 100644
--- a/tests/ref/math/style.png
+++ b/tests/ref/math/style.png
Binary files differ
diff --git a/tests/typ/math/style.typ b/tests/typ/math/style.typ
index 67a410af..5ee0636f 100644
--- a/tests/typ/math/style.typ
+++ b/tests/typ/math/style.typ
@@ -13,6 +13,12 @@ $A, italic(A), upright(A), bold(A), bold(upright(A)), \
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, cramp: #true), script(a^b, cramp: #false)$
+
+---
// Test a few style exceptions.
$h, bb(N), cal(R), Theta, italic(Theta), sans(Theta), sans(italic(Theta))$