1
$\begingroup$

That would allow this structure, instead of trying to build tables with ASCII or UTF-8 characters, tedious to say the least.

\begin{tabular}{ l c r }
  1 & 2 & 3 \\
  4 & 5 & 6 \\
  7 & 8 & 9 \\
\end{tabular}

The chosen answer below uses the following code, which works for non-numeric cell values as well.

\begin{array} \\
  a & b & c \\
  4 & 5 & 6 \\
  7 & 8 & 9 \\
\end{array}

——————————

\begin{array} \\ a & b & c \\ 4 & 5 & 6 \\ 7 & 8 & 9 \\ \end{array}

——————————

$\endgroup$
2
$\begingroup$

MathJax does not implement tabular. One can use array instead: \begin{array}{ l c r } 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \\ \end{array}

But I usually prefer text to table tool by Senseful, to avoid relying on JavaScript for rendering.

+---+---+---+
| 1 | 2 | 3 |
| 4 | 5 | 6 |
| 7 | 8 | 9 |
+---+---+---+
$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .