summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/math/matrix-gaps.pngbin0 -> 3021 bytes
-rw-r--r--tests/typ/math/matrix-gaps.typ17
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/ref/math/matrix-gaps.png b/tests/ref/math/matrix-gaps.png
new file mode 100644
index 00000000..3d04e696
--- /dev/null
+++ b/tests/ref/math/matrix-gaps.png
Binary files differ
diff --git a/tests/typ/math/matrix-gaps.typ b/tests/typ/math/matrix-gaps.typ
new file mode 100644
index 00000000..ef33b518
--- /dev/null
+++ b/tests/typ/math/matrix-gaps.typ
@@ -0,0 +1,17 @@
+// Test matrices, cases and vec gaps
+
+---
+#set math.mat(row-gap: 1em, column-gap: 2em)
+$ mat(1, 2; 3, 4) $
+
+---
+#set math.mat(gap: 1em)
+$ mat(1, 2; 3, 4) $
+
+---
+#set math.cases(gap: 1em)
+$ x = cases(1, 2) $
+
+---
+#set math.vec(gap: 1em)
+$ vec(1, 2) $