emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Exporting tables with cell borders to Latex/PDF


From: jman
Subject: Exporting tables with cell borders to Latex/PDF
Date: Fri, 18 Oct 2024 23:31:55 +0200


Hello,

When export to Latex/PDF I'd like /all/ table cells to have borders, so also 
vertical column
separators.
After looking around a bit, I learned about column groups:
https://orgmode.org/manual/Column-Groups.html

I think the only way to accomplish what I want is the following trick, adding a 
"cosmetic" column
just to be able to have a border at the beginning of the table:

|---+---+-----+-----+-----+---------+------------|
|   | 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 |
|---+---+-----+-----+-----+---------+------------|
#+TBLFM: $2=$1^2::$3=$1^3::$4=$1^4::$5=sqrt($1)::$6=sqrt(sqrt(($1)))

Am I missing a better solution?

Thanks




reply via email to

[Prev in Thread] Current Thread [Next in Thread]