Page MenuHomePhabricator

Support for substack LaTeX commands in math rendering
Open, Needs TriagePublicFeature

Description

Feature requested:

We want to support the substack LaTeX commands in the <math> environment.

This command is explicitly mentioned in a wish in the 2022 wishlist: https://meta.wikimedia.org/wiki/Community_Wishlist_Survey_2022/Editing/Missing_LaTeX_capabilities_for_math_rendering

Functionality/software changes

This command is already supported by MathJax. So, all we have to do is change texvcjs to allow these commands to be passed to MathJax in the backend.

  • \substack command is supported by texvcjs

Notes for testing

See notes for testing in T318524.

Example of substack in wikitext: P35059.

Event Timeline

Change 836185 had a related patch set uploaded (by Dom Walden; author: Dom Walden):

[mediawiki/services/texvcjs@master] Support for the LaTeX substack command in <math>.

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

Change 836185 abandoned by Dom Walden:

[mediawiki/services/texvcjs@master] Support for the LaTeX substack command in <math>.

Reason:

I will re-implement in PHP after T312528.

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

Change 867543 had a related patch set uploaded (by Dom Walden; author: Dom Walden):

[mediawiki/extensions/Math@master] WIP: Support for the LaTeX substack command.

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

Change #867543 abandoned by Physikerwelt:

[mediawiki/extensions/Math@master] WIP: Support for the LaTeX substack command.

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