summaryrefslogtreecommitdiff
path: root/tests/typ/math
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/math')
-rw-r--r--tests/typ/math/matrix-gaps.typ17
1 files changed, 17 insertions, 0 deletions
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) $