[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Tables with multicolumn in LaTeX export
From: |
Suvayu Ali |
Subject: |
Re: [O] Tables with multicolumn in LaTeX export |
Date: |
Tue, 25 Aug 2015 18:14:45 +0200 |
User-agent: |
Mutt/1.5.23.1 (2014-03-12) |
Hi Eric,
On Tue, Aug 25, 2015 at 04:13:40PM +0100, Eric S Fraga wrote:
> On Tuesday, 25 Aug 2015 at 16:38, Suvayu Ali wrote:
> >
> > I was wondering if it is possible to have multicolumn when exporting
> > tables to LaTeX. Something like the following:
> >
> > | | | ∈ (5300,5800) | | ∈ (5320,5420) | <- row with multicolumn
[...]
> A kludge but you can use @@latex:...@@ in the table headings to achieve
> what you want. Not pretty, mind you, and to avoid multiple \cr being
> created for the extra rows on the first line, this will only work if the
> last column is part of a multicolumn.
>
> #+begin_src org
> ,* table with multiple column spanning
> | | @@latex:\multicolumn{2}{c}{@@\in (5300,5800)@@latex:}@@
> | @@latex:\multicolumn{2}{c}{@@ \in (5320,5420) @@latex:} \\%@@ | |
> |
This is very clever and works nicely :). Thank you!
--
Suvayu
Open source is the future. It sets us free.