summaryrefslogtreecommitdiff
path: root/tests
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
parentbb12624e8e970915e41363809139f168d4c545c6 (diff)
Matrix baseline alignment
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/math/content.pngbin5366 -> 5372 bytes
-rw-r--r--tests/ref/math/matrix.pngbin4894 -> 7154 bytes
-rw-r--r--tests/typ/math/matrix.typ12
3 files changed, 10 insertions, 2 deletions
diff --git a/tests/ref/math/content.png b/tests/ref/math/content.png
index 5d222f92..f0204526 100644
--- a/tests/ref/math/content.png
+++ b/tests/ref/math/content.png
Binary files differ
diff --git a/tests/ref/math/matrix.png b/tests/ref/math/matrix.png
index 4a60b3ff..fa6e53f3 100644
--- a/tests/ref/math/matrix.png
+++ b/tests/ref/math/matrix.png
Binary files differ
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.