diff options
| author | Max <me@mkor.je> | 2024-11-27 11:11:49 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-27 11:11:49 +0000 |
| commit | f29fbea2fcabed9ed6fc3c19d585edc6fe45370b (patch) | |
| tree | d5e3005cbedde714105794b8fc48da83e4db8049 /tests/suite | |
| parent | 6bf1350b16b90ae915836f94dff440da671ebd45 (diff) | |
Use extended shape information for glyph `text_like`-ness (#5483)
Diffstat (limited to 'tests/suite')
| -rw-r--r-- | tests/suite/math/attach.typ | 6 | ||||
| -rw-r--r-- | tests/suite/math/delimited.typ | 6 | ||||
| -rw-r--r-- | tests/suite/math/stretch.typ | 6 |
3 files changed, 18 insertions, 0 deletions
diff --git a/tests/suite/math/attach.typ b/tests/suite/math/attach.typ index 9c92c62e..56fa47c5 100644 --- a/tests/suite/math/attach.typ +++ b/tests/suite/math/attach.typ @@ -170,3 +170,9 @@ $ attach(a^b, b: c) quad $ a0 + a1 + a0_2 \ a1_2 + a0^2 + a1^2 $ + +--- math-attach-scripts-extended-shapes --- +// Test script attachments positioning if the base is an extended shape (or a +// sequence of extended shapes). +$lr(size: #130%, [x])_0^1, [x]_0^1, \]_0^1, x_0^1, A_0^1$ \ +$n^2, (n + 1)^2, sum_0^1, integral_0^1$ diff --git a/tests/suite/math/delimited.typ b/tests/suite/math/delimited.typ index 9e11ec8b..fc00333d 100644 --- a/tests/suite/math/delimited.typ +++ b/tests/suite/math/delimited.typ @@ -115,6 +115,12 @@ $lr(body2, size: #50%)$ $ (1 / 2) $ }) +--- math-lr-scripts --- +// Test interactions with script attachments. +$ lr(size: #3em, |)_a^b lr(size: #3em, zws|)_a^b + lr(size: #3em, [x])_0^1 [x]_0^1 + lr(size: #1em, lr(size: #10em, [x]))_0^1 $ + --- issue-4188-lr-corner-brackets --- // Test positioning of U+231C to U+231F $⌜a⌟⌞b⌝$ = $⌜$$a$$⌟$$⌞$$b$$⌝$ 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) |
