summaryrefslogtreecommitdiff
path: root/tests/suite/math/stretch.typ
diff options
context:
space:
mode:
authorMax <me@mkor.je>2024-11-27 11:11:49 +0000
committerGitHub <noreply@github.com>2024-11-27 11:11:49 +0000
commitf29fbea2fcabed9ed6fc3c19d585edc6fe45370b (patch)
treed5e3005cbedde714105794b8fc48da83e4db8049 /tests/suite/math/stretch.typ
parent6bf1350b16b90ae915836f94dff440da671ebd45 (diff)
Use extended shape information for glyph `text_like`-ness (#5483)
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)