summaryrefslogtreecommitdiff
path: root/tests/typ/math
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-02-02 18:09:13 +0100
committerLaurenz <laurmaedje@gmail.com>2023-02-02 19:50:06 +0100
commit10675cd6d510521715c5e33508d80c4193ad9d74 (patch)
tree676435532b2c224b4b9feafd6e1a07cd30a0e923 /tests/typ/math
parente9ff2d6463bf26cb0bbafb747bf8a77800687e3f (diff)
Merge text and math symbols
Diffstat (limited to 'tests/typ/math')
-rw-r--r--tests/typ/math/cases.typ2
-rw-r--r--tests/typ/math/matrix.typ10
-rw-r--r--tests/typ/math/multiline.typ4
-rw-r--r--tests/typ/math/spacing.typ2
4 files changed, 9 insertions, 9 deletions
diff --git a/tests/typ/math/cases.typ b/tests/typ/math/cases.typ
index d591ae50..83a5ab66 100644
--- a/tests/typ/math/cases.typ
+++ b/tests/typ/math/cases.typ
@@ -2,7 +2,7 @@
---
$ f(x, y) := cases(
- 1 quad &"if" (x dot y)/2 <= 0,
+ 1 quad &"if" (x dot.op y)/2 <= 0,
2 &"if" x divides 2,
3 &"if" x in NN,
4 &"else",
diff --git a/tests/typ/math/matrix.typ b/tests/typ/math/matrix.typ
index 63294e03..e10b77d7 100644
--- a/tests/typ/math/matrix.typ
+++ b/tests/typ/math/matrix.typ
@@ -3,12 +3,12 @@
---
// Test semicolon syntax.
#set align(center)
-$mat() dot
- mat(;) dot
- mat(1, 2) dot
+$mat() dot.op
+ mat(;) dot.op
+ mat(1, 2) dot.op
mat(1, 2;) \
- mat(1; 2) dot
- mat(1, 2; 3, 4) dot
+ mat(1; 2) dot.op
+ mat(1, 2; 3, 4) dot.op
mat(1 + &2, 1/2; &3, 4)$
---
diff --git a/tests/typ/math/multiline.typ b/tests/typ/math/multiline.typ
index b57d9166..1d268fae 100644
--- a/tests/typ/math/multiline.typ
+++ b/tests/typ/math/multiline.typ
@@ -4,13 +4,13 @@
// Test basic alignment.
$ x &= x + y \
&= x + 2z \
- &= sum x dot 2z $
+ &= sum x dot.op 2z $
---
// Test text before first alignment point.
$ x + 1 &= a^2 + b^2 \
y &= a + b^2 \
- z &= alpha dot beta $
+ z &= alpha dot.op beta $
---
// Test space between inner alignment points.
diff --git a/tests/typ/math/spacing.typ b/tests/typ/math/spacing.typ
index 6f2d6b44..c1050d68 100644
--- a/tests/typ/math/spacing.typ
+++ b/tests/typ/math/spacing.typ
@@ -10,7 +10,7 @@ $-a, +a$ \
$a not b$ \
$a+b, a*b$ \
$sum x, sum(x)$ \
-$sum prod x$ \
+$sum product x$ \
$f(x), zeta(x), "frac"(x)$
---