diff options
| author | SekoiaTree <51149447+SekoiaTree@users.noreply.github.com> | 2023-10-22 13:22:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-22 13:22:34 +0200 |
| commit | 3faad6bc5d7d6b7d83329363dd66b136b526afb8 (patch) | |
| tree | 9e1e6760ea17d2b72570381ee54011ae0073eb0c /tests | |
| parent | 208711203e948501544b82b741c77be3bc46ff97 (diff) | |
Add support for negative augment indexes (#2372)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/math/matrix.png | bin | 40018 -> 44173 bytes | |||
| -rw-r--r-- | tests/typ/math/matrix.typ | 4 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/ref/math/matrix.png b/tests/ref/math/matrix.png Binary files differindex 530c2b5a..32181c69 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 efcde1eb..57ecd85f 100644 --- a/tests/typ/math/matrix.typ +++ b/tests/typ/math/matrix.typ @@ -72,9 +72,13 @@ $ mat(#1, #(foo: "bar")) $ gutter: 10pt, $ mat(10, 2, 3, 4; 5, 6, 7, 8; augment: #3) $, + $ mat(10, 2, 3, 4; 5, 6, 7, 8; augment: #(-1)) $, $ mat(100, 2, 3; 4, 5, 6; 7, 8, 9; augment: #(hline: 2)) $, + $ mat(100, 2, 3; 4, 5, 6; 7, 8, 9; augment: #(hline: -1)) $, $ mat(100, 2, 3; 4, 5, 6; 7, 8, 9; augment: #(hline: 1, vline: 1)) $, + $ mat(100, 2, 3; 4, 5, 6; 7, 8, 9; augment: #(hline: -2, vline: -2)) $, $ mat(100, 2, 3; 4, 5, 6; 7, 8, 9; augment: #(vline: 2, stroke: 1pt + blue)) $, + $ mat(100, 2, 3; 4, 5, 6; 7, 8, 9; augment: #(vline: -1, stroke: 1pt + blue)) $, ) --- |
