emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Tables with multicolumn in LaTeX export


From: Rasmus
Subject: Re: [O] Tables with multicolumn in LaTeX export
Date: Wed, 26 Aug 2015 00:40:30 +0200
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

Suvayu Ali <address@hidden> writes:

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

There's no good way, unfortunately, but you can find a filter solution
here (as far as I recall):

    http://thread.gmane.org/gmane.emacs.orgmode/66243/

I'd not use tabel.el.  In fact, I'd be keen to obsolete tabel.el in org.

Rasmus

-- 
El Rey ha muerto. ¡Larga vida al Rey!




reply via email to

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