siefkenj / unified-latex

Utilities for parsing and manipulating LaTeX ASTs with the Unified.js framework
MIT License
85 stars 20 forks source link

\phantom \hphantom in math mode #53

Open siefkenj opened 11 months ago

siefkenj commented 11 months ago

When \phantom and \hphantom appear in math mode, their content should be processed in math mode. (A good test to see if this is happening is $\phantom{\frac 12}}$