From 44d410dd007569227e8eca41e39fde9a932f0d02 Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 10 Jun 2025 14:44:38 +0000 Subject: Use the shaper in math (#6336) --- tests/ref/math-accent-dotless-greedy.png | Bin 0 -> 710 bytes tests/suite/math/accent.typ | 6 ++++++ 2 files changed, 6 insertions(+) create mode 100644 tests/ref/math-accent-dotless-greedy.png (limited to 'tests') diff --git a/tests/ref/math-accent-dotless-greedy.png b/tests/ref/math-accent-dotless-greedy.png new file mode 100644 index 00000000..2c28363a Binary files /dev/null and b/tests/ref/math-accent-dotless-greedy.png differ diff --git a/tests/suite/math/accent.typ b/tests/suite/math/accent.typ index 2239d897..0aef41e2 100644 --- a/tests/suite/math/accent.typ +++ b/tests/suite/math/accent.typ @@ -51,6 +51,12 @@ $hat(i), hat(i, dotless: #false), accent(j, tilde), accent(j, tilde, dotless: #f #set math.accent(dotless: false) $ hat(i) $ +--- math-accent-dotless-greedy --- +// Currently the dotless style propogates to everything in the accent's base, +// even though it shouldn't. +$ arrow(P_(c, i dot j) P_(1, i) j) \ + arrow(P_(c, i dot j) P_(1, i) j, dotless: #false) $ + --- math-accent-flattened --- // Test flattened accent glyph variants. #show math.equation: set text(font: "STIX Two Math") -- cgit v1.2.3