summaryrefslogtreecommitdiff
path: root/tests/typ/math
diff options
context:
space:
mode:
authorLeedehai <18319900+Leedehai@users.noreply.github.com>2023-11-27 06:02:51 -0500
committerGitHub <noreply@github.com>2023-11-27 12:02:51 +0100
commit34862b7b27ad0df34bc12e486cdfa3726f824c33 (patch)
treea00ab6e211dc7c73c80996bc4e4abb52f9722ba6 /tests/typ/math
parentc354f00f79002bd51becf554a54cc99ef64e6f2d (diff)
Implement mid() for middle delimiters in lr() (#2760)
Diffstat (limited to 'tests/typ/math')
-rw-r--r--tests/typ/math/delimited.typ7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/typ/math/delimited.typ b/tests/typ/math/delimited.typ
index e5b93cd6..6607c302 100644
--- a/tests/typ/math/delimited.typ
+++ b/tests/typ/math/delimited.typ
@@ -43,3 +43,10 @@ $ lr(
text("(", fill: #green) a/b
text(")", fill: #blue)
) $
+
+---
+// Test middle functions
+$ { x mid(|) sum_(i=1)^oo phi_i (x) < 1 } \
+ { integral |x| dif x
+ mid(bar.v.double)
+ floor(hat(A) mid(|) { x mid(|) y } mid(|) A) } $