diff options
| author | Max <max@mkor.je> | 2025-06-03 14:08:18 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-03 14:08:18 +0000 |
| commit | dd95f7d59474800a83a4d397dd13e34de35d56be (patch) | |
| tree | cbdb7215ada833300cf07a2d138feba9e61173f2 /tests/suite/math | |
| parent | 1b399646c270d518af250db3afb7ba35992e8751 (diff) | |
Fix bottom accent positioning in math (#6187)
Diffstat (limited to 'tests/suite/math')
| -rw-r--r-- | tests/suite/math/accent.typ | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/suite/math/accent.typ b/tests/suite/math/accent.typ index ecc0588c..2239d897 100644 --- a/tests/suite/math/accent.typ +++ b/tests/suite/math/accent.typ @@ -58,3 +58,31 @@ $hat(a) hat(A)$ $tilde(w) tilde(W)$ $grave(i) grave(j)$ $grave(I) grave(J)$ + +--- math-accent-bottom --- +// Test bottom accents. +$accent(a, \u{20EE}), accent(T, \u{0323}), accent(xi, \u{0332}), + accent(f, \u{20ED}), accent(F, \u{20E8}), accent(y, \u{032E}), + accent(!, \u{032F}), accent(J, \u{0333}), accent(p, \u{0331})$ + +--- math-accent-bottom-wide-base --- +// Test wide base with bottom accents. +$accent(x + y, \u{20EF}), accent(sum, \u{032D})$ + +--- math-accent-bottom-subscript --- +// Test effect of bottom accent on subscript. +$q_x != accent(q, \u{032C})_x != accent(accent(q, \u{032C}), \u{032C})_x$ + +--- math-accent-bottom-high-base --- +// Test high base with bottom accents. +$ accent(integral, \u{20EC}), accent(integral, \u{20EC})_a^b, accent(integral_a^b, \u{20EC}) $ + +--- math-accent-bottom-sized --- +// Test bottom accent size. +$accent(sum, \u{0330}), accent(sum, \u{0330}, size: #50%), accent(H, \u{032D}, size: #200%)$ + +--- math-accent-nested --- +// Test nested top and bottom accents. +$hat(accent(L, \u{0330})), accent(circle(p), \u{0323}), + macron(accent(caron(accent(A, \u{20ED})), \u{0333})) \ + breve(accent(eta, \u{032E})) = accent(breve(eta), \u{032E})$ |
