From 5dbc15ef0c48cb024205ac84f295fdffef985374 Mon Sep 17 00:00:00 2001 From: sitandr <60141933+sitandr@users.noreply.github.com> Date: Tue, 23 May 2023 12:22:27 +0300 Subject: Forced size command in math (#1128) --- tests/ref/math/style.png | Bin 20415 -> 27879 bytes tests/typ/math/style.typ | 6 ++++++ 2 files changed, 6 insertions(+) (limited to 'tests') diff --git a/tests/ref/math/style.png b/tests/ref/math/style.png index c5e72258..39ecc441 100644 Binary files a/tests/ref/math/style.png and b/tests/ref/math/style.png 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 @@ -12,6 +12,12 @@ $A, italic(A), upright(A), bold(A), bold(upright(A)), \ 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, 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))$ -- cgit v1.2.3