summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/math-lr-unparen.pngbin0 -> 493 bytes
-rw-r--r--tests/suite/math/delimited.typ8
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/ref/math-lr-unparen.png b/tests/ref/math-lr-unparen.png
new file mode 100644
index 00000000..d418b14e
--- /dev/null
+++ b/tests/ref/math-lr-unparen.png
Binary files differ
diff --git a/tests/suite/math/delimited.typ b/tests/suite/math/delimited.typ
index 22674050..ca82427d 100644
--- a/tests/suite/math/delimited.typ
+++ b/tests/suite/math/delimited.typ
@@ -125,3 +125,11 @@ $ lr(size: #3em, |)_a^b lr(size: #3em, zws|)_a^b
--- issue-4188-lr-corner-brackets ---
// Test positioning of U+231C to U+231F
$⌜a⌟⌞b⌝$ = $⌜$$a$$⌟$$⌞$$b$$⌝$
+
+--- math-lr-unparen ---
+// Test that unparen with brackets stays as an LrElem.
+#let item = $limits(sum)_i$
+$
+ 1 / ([item]) quad
+ 1 / [item]
+$