Post a column/row table

Art48 August 29, 2022 at 19:48 1650 views 6 comments
Is it possible to post a column/row table?
For instance, the data in an Excel spreadsheet with 3 columns and 10 rows?


| &= | true | meh | false |
|-------|-------|-----|-------|
| true | true | meh | false |
| meh | meh | meh | meh |
| false | false | meh | false |

Comments (6)

fdrake August 29, 2022 at 20:15 #734274
@Art48 - I edited your post to contain a recent example from a thread. That is probably the easiest way of doing it. If you edit your post again you should see it.
fdrake August 29, 2022 at 20:18 #734275
Can also do it with mathjax:

[math]\begin{array} {|r|r|}\hline 0_0 & 0_1 & 0_2 & 0_3 & 0_4 & 0_5 & 0_6 & 0_7 & 0_8 & 0_9 \\ \hline 1_0 & 1_1 & 1_2 & 1_3 & 1_4 & 1_5 & 1_6 & 1_7 & 1_8 & 1_9 \\ \hline 2_0 & 2_1 & 2_2 & 2_3 & 2_4 & 2_5 & 2_6 & 2_7 & 2_8 & 2_9 \\ \hline \end{array}[/math]

Which is:

[math]\begin{array} {|r|r|}\hline 0_0 & 0_1 & 0_2 & 0_3 & 0_4 & 0_5 & 0_6 & 0_7 & 0_8 & 0_9 \\ \hline 1_0 & 1_1 & 1_2 & 1_3 & 1_4 & 1_5 & 1_6 & 1_7 & 1_8 & 1_9 \\ \hline 2_0 & 2_1 & 2_2 & 2_3 & 2_4 & 2_5 & 2_6 & 2_7 & 2_8 & 2_9 \\ \hline  \end{array}[/math]
fdrake August 29, 2022 at 20:19 #734276
Above taken from https://isaurssaurav.github.io/mathjax-table-generator/
Banno August 29, 2022 at 20:35 #734280


Reply to Art48 Reply to fdrake

[math]\begin{array} {|r|r|}\hline \& & true & meh & false \\ \hline true & true & meh & false \\ \hline meh & meh & meh & meh \\ \hline false & false & meh & false \\ \hline \end{array}[/math]

\begin{array} {|r|r|}\hline  \& & true & meh & false \\ \hline true & true & meh & false \\ \hline meh & meh & meh & meh \\ \hline false & false & meh & false \\ \hline  \end{array}


Thanks - much better.
Deus August 29, 2022 at 20:50 #734286

  • not quite a table Not quite a fable
Agent Smith August 30, 2022 at 02:55 #734322
[math]\begin{array} {|r|r|}\hline Pascal's \space Wager & God \space exists & God \space doesn't \space exist \\ \hline Theist & Big \space win \space (Jannat) & Minimal \space loss \\ \hline Atheist & Big \space loss \space (Jahanam) & Minimal \space win \\ \hline \end{array}[/math]

:grin: