summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMalo <57839069+MDLC01@users.noreply.github.com>2024-01-25 16:14:12 +0100
committerGitHub <noreply@github.com>2024-01-25 15:14:12 +0000
commit02b16bf9cfd2f0dc095055487434a94a63485eeb (patch)
tree78ef8485278d1e59aa9726740831bb8361aebd10 /tests
parent11abc1f1e34153d2c89589ca89bf84ef2c358817 (diff)
Make `math.class` affect the limit configuration (#3231)
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/math/class.pngbin6460 -> 7599 bytes
-rw-r--r--tests/typ/math/class.typ12
2 files changed, 11 insertions, 1 deletions
diff --git a/tests/ref/math/class.png b/tests/ref/math/class.png
index 27844ebe..a54dbd67 100644
--- a/tests/ref/math/class.png
+++ b/tests/ref/math/class.png
Binary files differ
diff --git a/tests/typ/math/class.typ b/tests/typ/math/class.typ
index 0c9fa32b..a5901b31 100644
--- a/tests/typ/math/class.typ
+++ b/tests/typ/math/class.typ
@@ -34,4 +34,14 @@ $ a pluseq 5 $
---
// Test exceptions.
-$ sqrt(3)\/2 quad d_0.d_1d_2 dots $ \ No newline at end of file
+$ sqrt(3)\/2 quad d_0.d_1d_2 dots $
+
+---
+// Test if the math class changes the limit configuration.
+$ class("normal", ->)_a $
+$class("relation", x)_a$
+$ class("large", x)_a $
+$class("large", ->)_a$
+
+$limits(class("normal", ->))_a$
+$ scripts(class("relation", x))_a $