[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Exporting tables with cell borders to Latex/PDF
From: |
jman |
Subject: |
Re: Exporting tables with cell borders to Latex/PDF |
Date: |
Sat, 19 Oct 2024 14:25:59 +0200 |
Mark Barton <mbarton98@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,