From: Michael Bach <phaebz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: orgtbl multicolumn support
Date: Fri, 06 May 2011 22:05:25 +0300 [thread overview]
Message-ID: <4dc44678.41cad80a.776f.ffffc00e@mx.google.com> (raw)
In-Reply-To: <4dc30b66.cac3e30a.2d35.ffff9c04@mx.google.com> (Michael Bach's message of "Thu, 05 May 2011 23:41:06 +0300")
Michael Bach <phaebz@gmail.com> writes:
What kind of evil, sleep-deprived line of thoughts took me when I wrote
this? Must have been too late for anything remotely meaningful. This
one clearly did not deserve any answer... Sorry for the noise
> Michael Bach <phaebz@gmail.com> writes:
>
> # edit
>
>> Dear org-mode Users and Developers,
>
>> I just wanted to know whether there are plans to support multicolumns in
>> default orgtbl-to-latex. Something along these lines:
>>
>> #+ORGTBL: SEND multicol orgtbl-to-latex :splice t :skip 0 :hline "\\midrule"
>> | | a | b | c |
>> |---+---+-------------+---|
>> | 1 | | mc(2)(c)(3) | |
>> | | 2 | mc(2)(c)(4) | |
>>
>> Would produce
>>
>> % % BEGIN RECEIVE ORGTBL multicol
>> & a & b & c\NN
>> \midrule
>> 1 & & \multicolumn{2}{c}{3} & \NN
>> & 2 & \multicolumn{2}{c}{4} & \LL
>> % END RECEIVE ORGTBL multicol
>
> # This should correctly read:
>
> % % BEGIN RECEIVE ORGTBL multicol
> & a & b & c \\
> \midrule
> 1 & & \multicolumn{2}{c}{3} \\
> & 2 & \multicolumn{2}{c}{4} \\
> % END RECEIVE ORGTBL multicol
>
>> The reason being that I would like to use \multicolumn often in the
>> middle of an orgtbl. My workarounds with manually inserting the LaTeX
>> macro are clumsy.
>>
>> I understood that users should write their own conversion functions. If
>> I was going to try my fresh elisp fu, I wanted to ask here whether there
>> exists a generic orgtbl syntax to implement the above intercell
>> modification. I read the doc for version 7.5 but maybe there are also
>> new methods in the dev version which I freshly use.
>>
>> Kind Regards,
>> Michael Bach
prev parent reply other threads:[~2011-05-06 19:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-05 20:32 orgtbl multicolumn support Michael Bach
2011-05-05 20:41 ` Michael Bach
2011-05-06 19:05 ` Michael Bach [this message]
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=4dc44678.41cad80a.776f.ffffc00e@mx.google.com \
--to=phaebz@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).