diff options
Diffstat (limited to 'tests/typ/math/vec.typ')
| -rw-r--r-- | tests/typ/math/vec.typ | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/typ/math/vec.typ b/tests/typ/math/vec.typ new file mode 100644 index 00000000..198a1d15 --- /dev/null +++ b/tests/typ/math/vec.typ @@ -0,0 +1,14 @@ +// Test vectors. + +--- +// Test wide cell. +$ v = vec(1, 2+3, 4) $ + +--- +// Test alternative delimiter. +#set math.vec(delim: "[") +$ vec(1, 2) $ + +--- +// Error: 22-25 expected "(", "[", "{", "|", or "||" +#set math.vec(delim: "%") |
