summaryrefslogtreecommitdiff
path: root/tests/suite/math/stretch.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/suite/math/stretch.typ')
-rw-r--r--tests/suite/math/stretch.typ6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/suite/math/stretch.typ b/tests/suite/math/stretch.typ
index 60696746..6bf13e25 100644
--- a/tests/suite/math/stretch.typ
+++ b/tests/suite/math/stretch.typ
@@ -35,6 +35,12 @@ $stretch(arrow.t)^"map"$
$stretch(arrow.t, size: #2em)^"map"$
$stretch(arrow.t, size: #200%)^"map"$
+--- math-stretch-vertical-scripts ---
+// Test vertical stretch interactions with script attachments.
+#let big = $stretch(|, size: #4em)$
+$ big_0^1 stretch(|, size: #1.5em)_0^1
+ stretch(big, size: #1em)_0^1 |_0^1 $
+
--- math-stretch-horizontal ---
// Test stretching along horizontal axis.
#let ext(sym) = math.stretch(sym, size: 2em)