Page MenuHomePhabricator

vertical space between multline equations is ignored
Closed, ResolvedPublic

Description

<math forcemathmode=mathml>{\begin{aligned}{\bar {X}}_{1}&=(X_{1,1}+\cdots +X_{1,n_{1}})/n_{1}\\[6pt]{\bar {X}}_{2}&=(X_{2,1}+\cdots +X_{2,n_{2}})/n_{2}\end{aligned}}</math>

<math forcemathmode=mathml>{\begin{aligned}{\bar {X}}_{1}&=(X_{1,1}+\cdots +X_{1,n_{1}})/n_{1}\\[60pt]{\bar {X}}_{2}&=(X_{2,1}+\cdots +X_{2,n_{2}})/n_{2}\end{aligned}}</math>

shows a visible difference in SVG rendering but not in MathML rendering

Event Timeline

Physikerwelt renamed this task from linewidth is ignored to free space between multline equations is ignored.
Physikerwelt renamed this task from free space between multline equations is ignored to vertical space between multline equations is ignored.Nov 22 2024, 10:37 PM

Change #1095076 had a related patch set uploaded (by Physikerwelt; author: Physikerwelt):

[mediawiki/extensions/Math@master] Parse row height specification in multiline environments

https://gerrit.wikimedia.org/r/1095076

Change #1095076 merged by jenkins-bot:

[mediawiki/extensions/Math@master] Parse row height specification in multiline environments

https://gerrit.wikimedia.org/r/1095076

Change #1104701 had a related patch set uploaded (by Krinkle; author: Physikerwelt):

[mediawiki/extensions/Math@REL1_43] Parse row height specification in multiline environments

https://gerrit.wikimedia.org/r/1104701

Change #1104701 merged by jenkins-bot:

[mediawiki/extensions/Math@REL1_43] Parse row height specification in multiline environments

https://gerrit.wikimedia.org/r/1104701

rowspacing is not in core https://www.w3.org/TR/mathml4/#presm_presatt thus we probably need a polyfill to enable the feature in chrome. https://github.com/brucemiller/LaTeXML/issues/2439#issuecomment-2606119428 suggests to use padding-bottom

Physikerwelt updated the task description. (Show Details)
Physikerwelt moved this task from Inbox to Ready to implement on the Math board.

I don't think this should be consider a duplicate of T375295. That task is really addressing not displaying the annotation, this is using that value.

Its not fixed on Beta see https://en.wikipedia.beta.wmcloud.org/wiki/T380654, I've tried with both chrome and firefox.

BTW SVG rendering no longer seems to work on Beta.

This needs to be done

rowspacing is not in core https://www.w3.org/TR/mathml4/#presm_presatt thus we probably need a polyfill to enable the feature in chrome. https://github.com/brucemiller/LaTeXML/issues/2439#issuecomment-2606119428 suggests to use padding-bottom

Also a problem in MathJax

Screenshot 2026-02-03 at 21.07.54.png (1,986×1,566 px, 242 KB)

@SalixAlba SVG rendering seems to be working on beta again.

Physikerwelt changed the task status from Open to In Progress.Mar 7 2026, 10:16 AM

Change #1248980 had a related patch set uploaded (by Physikerwelt; author: Physikerwelt):

[mediawiki/extensions/Math@master] Implement vertical space between multiline equations

https://gerrit.wikimedia.org/r/1248980

Change #1248980 merged by jenkins-bot:

[mediawiki/extensions/Math@master] Implement vertical space between multiline equations

https://gerrit.wikimedia.org/r/1248980