summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSekoiaTree <51149447+SekoiaTree@users.noreply.github.com>2023-09-21 10:26:47 +0200
committerGitHub <noreply@github.com>2023-09-21 10:26:47 +0200
commit3dcbe859fb6c0db3672feddf4c2b5043d5c24e0e (patch)
tree29ffb3d7bcf6eef68a0d73b0a3ed9e31a252a4d4 /tests
parent50f354e9890d00f8b2089cd221db4133757b3b41 (diff)
Add gaps for matrix, case, and vector (#2186)
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) $