Keep sum superscripts above the operator

Large-operator limits used the ordinary-base superscript gap, which could
leave N just below the sum baseline. Use a negative gap for large operators
so both limits straddle the operator, and add a unit test asserting the
subscript is below and the superscript above the base within 12pt.

Test count is 1080.
This commit is contained in:
gloamxun committed 2026-10-28 08:28:17 +08:00
1 parent 02742d201f
commit 676eb7f323
6 files changed
+41 -8

No files matched your search

+2 -2
View File
@@ -16,7 +16,7 @@ cargo test --workspace --offline
or run `./scripts/verify-route-d.sh`, which executes both.
The workspace currently passes **1079 tests**:
The workspace currently passes **1080 tests**:
| Suite | Tests |
| --- | --- |
@@ -29,7 +29,7 @@ The workspace currently passes **1079 tests**:
| engine/core unit | 4 + 1 |
Latest full run (web trial increment): `./scripts/verify-route-d.sh` passes
with fmt clean and **1079 tests** green.
with fmt clean and **1080 tests** green.
Latest live check (2026-10-27): the debug server served `examples/hello.tex`
from `target/debug/texrra serve`; `POST /preview` answered 200 with