summaryrefslogtreecommitdiff
path: root/tests/typ/math
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-02-02 14:40:16 +0100
committerLaurenz <laurmaedje@gmail.com>2023-02-02 14:40:34 +0100
commite6400861ab5c4d7ab437901b2334e5822c2693a5 (patch)
tree37dbfbec3882e896e8719f002b036c14d8b02276 /tests/typ/math
parentbb12624e8e970915e41363809139f168d4c545c6 (diff)
Matrix baseline alignment
Diffstat (limited to 'tests/typ/math')
-rw-r--r--tests/typ/math/matrix.typ12
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/typ/math/matrix.typ b/tests/typ/math/matrix.typ
index 99e8fa19..63294e03 100644
--- a/tests/typ/math/matrix.typ
+++ b/tests/typ/math/matrix.typ
@@ -13,12 +13,20 @@ $mat() dot
---
// Test sparse matrix.
-$mat(
+$ mat(
1, 2, ..., 10;
2, 2, ..., 10;
dots.v, dots.v, dots.down, dots.v;
10, 10, ..., 10;
-)$
+) $
+
+---
+// Test baseline alignment.
+$ mat(
+ a, b^2;
+ sum_(x \ y) x, a^(1/2);
+ zeta, alpha;
+ ) $
---
// Test alternative delimiter.