mathjax / mathjax/MathJax

Feature request: Support double lines in tables

Open
#1,284 5 comments 2 reactions 1 assignee View on GitHub

@dpvc is already working on this.

Since Aug 13, 2025.

Feature Request MML spec limitation
Dominant language
JavaScript
Stars
10.9k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Consider the following code, creating a filled Sudoku field with LaTeX:

\begin{array}{||c|c|c||c|c|c||c|c|c||}
\hline\hline
1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 \\
\hline
4 & 5 & 6 & 7 & 8 & 9 & 1 & 2 & 3 \\
\hline
7 & 8 & 9 & 1 & 2 & 3 & 4 & 5 & 6 \\
\hline\hline
2 & 3 & 1 & 5 & 6 & 4 & 8 & 9 & 7 \\
\hline
5 & 6 & 4 & 8 & 9 & 7 & 2 & 3 & 1 \\
\hline
8 & 9 & 7 & 2 & 3 & 1 & 5 & 6 & 4 \\
\hline\hline
3 & 1 & 2 & 6 & 4 & 5 & 9 & 7 & 8 \\
\hline
6 & 4 & 5 & 9 & 7 & 8 & 3 & 1 & 2 \\
\hline
9 & 7 & 8 & 3 & 1 & 2 & 6 & 4 & 5 \\
\hline\hline
\end{array}

In LaTeX, this generates a field with double-lines separating the Sudoku sub-squares. In MathJax, this doesn't work.

My feature request now is to make it work with MathJax. Note that an exact replication of the LaTeX output is not required (indeed, the LaTeX output itself leaves room for improvement). The important part is that the double lines (marked by || for vertical lines, and \hline\hline for horizontal lines) are visibly different from the single lines.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.