> On Oct 18, 2024, at 2:31 PM, jman <emacs-orgm...@city17.xyz> wrote:
> 
> 
> 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
> 
> 

Here is an example of using the #+ATTR_LaTeX: line to pass parameters to the 
LaTeX process that creates the pdf.

#+ATTR_LaTeX: :environment tabular :align |l|l|l|
|-----+-----+-------|
| one | two | three |
|-----+-----+-------|
|   1 |   2 |     3 |
|-----+-----+-------|

Mark

Reply via email to