mathjax / MathJax

Beautiful and accessible math in all browsers
http://www.mathjax.org/
Apache License 2.0
10.02k stars 1.16k forks source link

[TeX] support for \hdotsfor (from amsmath) #3225

Open pkra opened 2 months ago

pkra commented 2 months ago

We had a first use case for this recently. It would be great to have this in MathJax's amsmath implementation.

dpvc commented 1 month ago

I think that would require the rowspan/columnspan support, which we don't yet have. I'm also not sure what MathML structure might correspond to a variable number of dots, as there is nothing like TeX's "leaders" that I am aware of.

A by-hand work-around might be to use \rlap{\text{. . . . . . . . . .}} in the first column and pick the right number of dots by hand. A hack, but could be used in a pinch.