diff options
| author | damaxwell <damaxwell@alaska.edu> | 2023-08-05 02:02:38 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-05 12:02:38 +0200 |
| commit | ba0990f189ec7120d8be949c081998d721bbe5e6 (patch) | |
| tree | 57c2343f7b6b8a3e094dba65c2e018ee53ab35a6 /tests | |
| parent | ad55755f33d2e5a386717e3af2f7b1a52db6ad87 (diff) | |
Period and slash are ordinary characters in math (#1855)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/math/class.png | bin | 5306 -> 6491 bytes | |||
| -rw-r--r-- | tests/typ/math/class.typ | 4 | ||||
| -rw-r--r-- | tests/typ/math/matrix-alignment.typ | 5 |
3 files changed, 8 insertions, 1 deletions
diff --git a/tests/ref/math/class.png b/tests/ref/math/class.png Binary files differindex f339c4f1..7365dc3e 100644 --- a/tests/ref/math/class.png +++ b/tests/ref/math/class.png diff --git a/tests/typ/math/class.typ b/tests/typ/math/class.typ index 188e7d90..0c9fa32b 100644 --- a/tests/typ/math/class.typ +++ b/tests/typ/math/class.typ @@ -31,3 +31,7 @@ $ a dotsq b \ #let normal = math.class.with("normal") #let pluseq = $class("binary", normal(+) normal(=))$ $ a pluseq 5 $ + +--- +// Test exceptions. +$ sqrt(3)\/2 quad d_0.d_1d_2 dots $
\ No newline at end of file diff --git a/tests/typ/math/matrix-alignment.typ b/tests/typ/math/matrix-alignment.typ index fd149dd8..0b3aa456 100644 --- a/tests/typ/math/matrix-alignment.typ +++ b/tests/typ/math/matrix-alignment.typ @@ -42,10 +42,13 @@ $ mat( --- // Test #460 equations. +#let stop = { + math.class("punctuation",$.$) +} $ mat(&a+b,c;&d, e) $ $ mat(&a+b&,c;&d&, e) $ $ mat(&&&a+b,c;&&&d, e) $ -$ mat(.&a+b&.,c;.....&d&....., e) $ +$ mat(stop &a+b&stop,c;...stop stop&d&...stop stop, e) $ --- // Test #454 equations. |
