From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: Emacs Org mode <emacs-orgmode@gnu.org>
Subject: Tables with multicolumn in LaTeX export
Date: Tue, 25 Aug 2015 16:38:43 +0200 [thread overview]
Message-ID: <20150825143843.GJ31789@chitra.no-ip.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1340 bytes --]
Hi,
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
| classifier | signal | combi. | signal | combi. |
|----------------+--------+---------------+--------+---------------|
| old BDT > 0.3 | 70347 | 10885 | 68502 | 4021 |
| BDT v1 > -0.08 | 68458 | 20310 | 66683 | 5853 |
| BDT v1 > -0.09 | 69418 | 22329 | 67617 | 6431 |
| BDT v1 > -0.12 | 71336 | 28674 | 69479 | 8160 |
to
\begin{tabular}{lrrrr}
& \multicolumn{2}{c}{∈ (5300,5800)} & \multicolumn{2}{c}{∈ (5320,5420)}\\
classifier & signal & combi. & signal & combi.\\
\hline
old BDT > 0.3 & 70347 & 10885 & 68502 & 4021\\
BDT v1 > -0.08 & 68458 & 20310 & 66683 & 5853\\
BDT v1 > -0.09 & 69418 & 22329 & 67617 & 6431\\
BDT v1 > -0.12 & 71336 & 28674 & 69479 & 8160\\
\end{tabular}
I am not too keen on using table.el as it uses too many lines, I would
like it to be minimal (tiny screenshot attached). Maybe there is a
hack? I'm not familiar with all the possibilities available via
#+attr_latex properties. Thanks for any ideas.
Cheers,
--
Suvayu
Open source is the future. It sets us free.
[-- Attachment #2: table.png --]
[-- Type: image/png, Size: 5689 bytes --]
next reply other threads:[~2015-08-25 14:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-25 14:38 Suvayu Ali [this message]
2015-08-25 15:13 ` Tables with multicolumn in LaTeX export Eric S Fraga
2015-08-25 16:14 ` Suvayu Ali
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150825143843.GJ31789@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.