diff options
| author | Max <max@mkor.je> | 2025-04-17 14:10:27 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-17 14:10:27 +0000 |
| commit | 7e072e24930d8a7524f700b62cabd97ceb4f45e6 (patch) | |
| tree | 267498385e15ec978610dcdadb8f7303cdd92836 /tests | |
| parent | c21c1c391b48f843c8671993a28eaf1fe0d40b89 (diff) | |
Add test for flattened accents in math (#6188)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/math-accent-flattened.png | bin | 0 -> 464 bytes | |||
| -rw-r--r-- | tests/suite/math/accent.typ | 8 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/ref/math-accent-flattened.png b/tests/ref/math-accent-flattened.png Binary files differnew file mode 100644 index 00000000..f7764cb7 --- /dev/null +++ b/tests/ref/math-accent-flattened.png diff --git a/tests/suite/math/accent.typ b/tests/suite/math/accent.typ index ab0078a5..ecc0588c 100644 --- a/tests/suite/math/accent.typ +++ b/tests/suite/math/accent.typ @@ -50,3 +50,11 @@ $hat(i), hat(i, dotless: #false), accent(j, tilde), accent(j, tilde, dotless: #f --- math-accent-dotless-set-rule --- #set math.accent(dotless: false) $ hat(i) $ + +--- math-accent-flattened --- +// Test flattened accent glyph variants. +#show math.equation: set text(font: "STIX Two Math") +$hat(a) hat(A)$ +$tilde(w) tilde(W)$ +$grave(i) grave(j)$ +$grave(I) grave(J)$ |
