From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Tables with multicolumn in LaTeX export
Date: Tue, 25 Aug 2015 18:14:45 +0200 [thread overview]
Message-ID: <20150825161445.GL31789@chitra.no-ip.org> (raw)
In-Reply-To: <87wpwj7657.fsf@ucl.ac.uk>
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.
next prev parent reply other threads:[~2015-08-25 16:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-25 14:38 Tables with multicolumn in LaTeX export Suvayu Ali
2015-08-25 15:13 ` Eric S Fraga
2015-08-25 16:14 ` Suvayu Ali [this message]
2015-08-25 22:40 ` Rasmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150825161445.GL31789@chitra.no-ip.org \
--to=fatkasuvayu+linux@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).