Why isn't MathJax table appearing?
$\begin{array} {|r|r|}\hline \text{If I already earned a} & \text{then I must roll another} \ \hline 9 & 1 \ \hline 8 & 2 \ \hline 7 & 3 \ \hline 6 & 4 \ \hline 5 & 5 \ \hline 4 & 6 \ \hline 3 & \text{Impossible: I need $\ge 2$ more rolls to gain a 10.} \ \hline 2 & Merge with cell above. \ \hline 1 & Merge with cell above. \ \hline \end{array}$
appears perfectly on Stack Exchange. Why doesn't it appear here? I wrote it for https://math.codidact.com/posts/285443.
MathJax source code:
$\begin{array} {|r|r|}\hline \text{If I already earned a} & \text{then I must roll another} \\ \hline 9 & 1 \\ \hline 8 & 2 \\ \hline 7 & 3 \\ \hline 6 & 4 \\ \hline 5 & 5 \\ \hline 4 & 6 \\ \hline 3 & \text{Impossible: I need $\ge 2$ more rolls to gain a 10.} \\ \hline 2 & Merge with cell above. \\ \hline 1 & Merge with cell above. \\ \hline \end{array}$
1 answer
This is another instance of the general MathJax/Markdown problem noted here. If you replace all double backslashes (\\
) with quadruple backslashes (\\\\
), it works:
$\begin{array} {|r|r|}\hline \text{If I already earned a} & \text{then I must roll another} \\ \hline 9 & 1 \\ \hline 8 & 2 \\ \hline 7 & 3 \\ \hline 6 & 4 \\ \hline 5 & 5 \\ \hline 4 & 6 \\ \hline 3 & \text{Impossible: I need $\ge 2$ more rolls to gain a 10.} \\ \hline 2 & Merge with cell above. \\ \hline 1 & Merge with cell above. \\ \hline \end{array}$
0 comment threads