Files
texrra-engine/docs
gloamxun ebb178bff5 Reserve invisible space for phantom commands
Text-mode \phantom and \hphantom were unsupported. A text-stage pass measures
the scrubbed argument with the Roman metrics and replaces the command with
\hspace of that width, so the glyphs are omitted but the line keeps their
footprint; \vphantom contributes no horizontal material.

A test renders "A\phantom{wide}B and \vphantom{XX}C and \hphantom{QQ}D." and
checks "AB and C and D." with no warnings and none of the hidden text.
2026-10-27 02:06:20 +08:00
..
2026-10-19 11:41:46 +08:00
2026-10-19 11:41:46 +08:00