Fork me on GitHub
#emacs
<
2017-03-27
>
beppu18:03:04

I'm looking at the last example at http://orgmode.org/worg/org-tutorials/tables.html and I'm wondering why that first column is necessary.

tanzoniteblack19:03:23

the / tells the table exporter that that line is going to be for doing column grouping

tanzoniteblack19:03:32

the # is just a nil comment character

tanzoniteblack19:03:25

you can make that exact same table with:

|  N | N^2 | N^3 | N^4 | sqrt(n) | sqrt[4](N) |
|----+-----+-----+-----+---------+------------|
| / |   < |     |   > |       < |          > |
|  1 |   1 |   1 |   1 |       1 |          1 |
|  2 |   4 |   8 |  16 |  1.4142 |     1.1892 |
|  3 |   9 |  27 |  81 |  1.7321 |     1.3161 |
+----+-----+-----+-----+---------+------------|

tanzoniteblack19:03:33

I'm not sure why you'd prefer to have the version with the leading column being unnecessary like that....

beppu20:03:12

@tanzoniteblack Thanks for the explanation.