brucemiller / LaTeXML

LaTeXML: a TeX and LaTeX to XML/HTML/ePub/MathML translator.
http://dlmf.nist.gov/LaTeXML/
Other
863 stars 93 forks source link

maxsize/minsize refactor away from percents #2330

Closed dginev closed 2 months ago

dginev commented 3 months ago

Follow-up to https://github.com/w3c/mathml-core/issues/103

The group has clarified that the percentage minsize/maxsize value is relative to the "normal stretched size" of a stretchy <mo>, which is contextual to the size of its parent.

For cases where latexml tries to size w.r.t to the normal font size of a glyph (e.g. \small), we should consider switching away from percentage values such as 90% and closer to relative unit values, such as 0.9em.

We would still benefit from tests and interop in browsers, since the 0.9em values may still have lingering rendering issues.

dginev commented 2 months ago

This was resolved by #2341 , closing.

(Although it is unclear if we want to revert at some point...)