You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Complete rule and spanning-cell support in math arrays #195
Area/ParsingLaTeX tokenization, parsing, commands, and serialization.Area/RenderingTypesetting, measurement, fonts, text layout, and drawing.Type/EnhancementA concrete change to CSharpMath behavior or capability.
This parent issue tracks the remaining rule and spanning-cell work for mathematical array-style tables. Full text-mode tabular and page-layout behavior is out of scope.
\multicolumn{count}{alignment}{content} remains a separate high-risk child because it needs explicit spanning-cell metadata, width allocation, rule interaction, and serialization.
Completion criteria:
Horizontal rules are valid only at array row boundaries, survive round-trip serialization, and span the final aligned table geometry.
Spanning cells reserve the requested columns exactly once, apply l/c/r alignment within the combined width, and move following cells past the occupied columns.
Delimiters, vertical rules, horizontal rules, neighboring cells, style scaling, and nested math all use the final table geometry.
Invalid rule placement, counts, alignments, overlaps, and spans beyond the table width report deterministic source-positioned errors.
Structural measurement and focused cross-frontend rendering tests cover rules, spans, and their combinations.
Keep this epic open until #264 merges and every native child is complete or explicitly closed as not planned.
Area/ParsingLaTeX tokenization, parsing, commands, and serialization.Area/RenderingTypesetting, measurement, fonts, text layout, and drawing.Type/EnhancementA concrete change to CSharpMath behavior or capability.
Activity
Happypig375 commentedon May 10, 2021
This is something that I intend to do, but the current Typesetter code is pretty messy so expect a long while until I can revisit this.
tofutim commentedon Mar 28, 2024
I would like to do something like this. However, \hline is not found... the best I can do is
\begin{array}{r}12\\ \times 13\\ 156 \end{array}Any tips much appreciated!
Here is an example of it working online...
Update. I realized I could cheat a little using "underline", e.g.,
[-]Tables feature[/-][+]Support \hline and \multicolumn in math arrays[/+][-]Support \hline and \multicolumn in math arrays[/-][+]Complete rule and spanning-cell support in math arrays[/+]