diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-03-27 14:52:25 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-03-27 14:52:25 +0200 |
| commit | 13ece5ec265e4e81b396cd3d469569b6c0ea2601 (patch) | |
| tree | dfb84471696e1f40d0a6a52e430862d51ddaf57b /tests | |
| parent | 51d972ec247e9e79eba1302d25b581446a7c961a (diff) | |
Allow disabling vector and matrix delimiters
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/math/matrix.png | bin | 9945 -> 10694 bytes | |||
| -rw-r--r-- | tests/typ/math/matrix.typ | 1 | ||||
| -rw-r--r-- | tests/typ/math/vec.typ | 2 |
3 files changed, 2 insertions, 1 deletions
diff --git a/tests/ref/math/matrix.png b/tests/ref/math/matrix.png Binary files differindex 59e3a7b0..f74384a3 100644 --- a/tests/ref/math/matrix.png +++ b/tests/ref/math/matrix.png diff --git a/tests/typ/math/matrix.typ b/tests/typ/math/matrix.typ index a828e4b4..e57e102e 100644 --- a/tests/typ/math/matrix.typ +++ b/tests/typ/math/matrix.typ @@ -32,6 +32,7 @@ $ mat( // Test alternative delimiter with set rule. #set math.mat(delim: "[") $ mat(1, 2; 3, 4) $ +$ a + mat(delim: #none, 1, 2; 3, 4) + b $ --- // Test alternative math delimiter directly in call. diff --git a/tests/typ/math/vec.typ b/tests/typ/math/vec.typ index 198a1d15..445b8104 100644 --- a/tests/typ/math/vec.typ +++ b/tests/typ/math/vec.typ @@ -10,5 +10,5 @@ $ v = vec(1, 2+3, 4) $ $ vec(1, 2) $ --- -// Error: 22-25 expected "(", "[", "{", "|", or "||" +// Error: 22-25 expected "(", "[", "{", "|", "||", or none #set math.vec(delim: "%") |
