From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Tables with multicolumn in LaTeX export Date: Wed, 26 Aug 2015 00:40:30 +0200 Message-ID: <87fv37t2jl.fsf@gmx.us> References: <20150825143843.GJ31789@chitra.no-ip.org> <87wpwj7657.fsf@ucl.ac.uk> <20150825161445.GL31789@chitra.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUMtZ-0007zH-8j for emacs-orgmode@gnu.org; Tue, 25 Aug 2015 18:40:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUMtW-0004Zx-1c for emacs-orgmode@gnu.org; Tue, 25 Aug 2015 18:40:45 -0400 Received: from plane.gmane.org ([80.91.229.3]:51508) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUMtV-0004ZZ-Kd for emacs-orgmode@gnu.org; Tue, 25 Aug 2015 18:40:41 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZUMtR-0006iW-3z for emacs-orgmode@gnu.org; Wed, 26 Aug 2015 00:40:37 +0200 Received: from tsn109-201-152-229.dyn.nltelcom.net ([109.201.152.229]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Aug 2015 00:40:37 +0200 Received: from rasmus by tsn109-201-152-229.dyn.nltelcom.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Aug 2015 00:40:37 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Suvayu Ali 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!