From 34862b7b27ad0df34bc12e486cdfa3726f824c33 Mon Sep 17 00:00:00 2001 From: Leedehai <18319900+Leedehai@users.noreply.github.com> Date: Mon, 27 Nov 2023 06:02:51 -0500 Subject: Implement mid() for middle delimiters in lr() (#2760) --- tests/ref/math/delimited.png | Bin 25691 -> 29571 bytes tests/typ/math/delimited.typ | 7 +++++++ 2 files changed, 7 insertions(+) (limited to 'tests') diff --git a/tests/ref/math/delimited.png b/tests/ref/math/delimited.png index c83764ec..1a67cd1d 100644 Binary files a/tests/ref/math/delimited.png and b/tests/ref/math/delimited.png differ 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) } $ -- cgit v1.2.3