From 02b16bf9cfd2f0dc095055487434a94a63485eeb Mon Sep 17 00:00:00 2001 From: Malo <57839069+MDLC01@users.noreply.github.com> Date: Thu, 25 Jan 2024 16:14:12 +0100 Subject: Make `math.class` affect the limit configuration (#3231) --- tests/typ/math/class.typ | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'tests/typ/math') 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 $ -- cgit v1.2.3