Mark Barton <mbarto...@gmail.com> writes:

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 |
|-----+-----+-------|

Oh thank you for the tip! Now I've found a mention in the documentation:
https://orgmode.org/manual/Tables-in-LaTeX-export.html

I'll try unpacking the solution for clarity: `l` means align to the left, the pipe (`|`) means add a vertical separator.
Here a bit more documentation about the tabular package:
https://www.overleaf.com/learn/latex/Tables

Note: I think it also works without setting `:environment tabular`, why?

Cheers,

Reply via email to