diff options
| author | sitandr <60141933+sitandr@users.noreply.github.com> | 2023-05-23 12:22:27 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-23 11:22:27 +0200 |
| commit | 5dbc15ef0c48cb024205ac84f295fdffef985374 (patch) | |
| tree | 2a9fe2c595fc422f9e0d2d9d068381a2ee5502b2 /tests | |
| parent | 752817ae74607ca23ec0aad51824ddca66faa7a8 (diff) | |
Forced size command in math (#1128)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/math/style.png | bin | 20415 -> 27879 bytes | |||
| -rw-r--r-- | tests/typ/math/style.typ | 6 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/ref/math/style.png b/tests/ref/math/style.png Binary files differindex c5e72258..39ecc441 100644 --- a/tests/ref/math/style.png +++ b/tests/ref/math/style.png 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))$ |
