all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: Latex/Table: horizontal line spanning some cells
Date: Sat, 29 Aug 2015 22:09:11 +0200	[thread overview]
Message-ID: <87egilq2l4.fsf@gmx.us> (raw)
In-Reply-To: 5EE5FF1D-465C-4F43-A6CD-636D31EAFC51@agrarianresearch.org

Hi,

Vikas Rawal <vikaslists@agrarianresearch.org> writes:

> In a table, I would like some horizontal lines that span only some
> columns, and not the whole width. My document has to be exported to
> latex, in which you need something like \cline{4-5} for a horizontal
> line spanning columns 4-5

For bookstabs you'd use \cmidrule(·){·-·}.

AFAIK, there's no support for this.

There's column groups, but they will insert vertical lines, which is
arguably (much) less interesting.

Perhaps we would add support for other groupings as well, e.g.

| / | ( | ) |   |
|   | a | b | c |
|---+---+---+---|

It would also be nice to add multicolumns.

> How could I do this in org, so that I will get the right latex export.

For now you'd have to go with a filter or maybe use other means to produce
a table.  In the past, when I have needed more complex tables I've usually
used a mix of Hmisc in R, babel and some Emacs-lisp to clean it up...  Not
so nice.

> Has anyone done this in org?

Undoubtedly.

Rasmus

-- 
Hvor meget poesi tror De kommer ud af et glas isvand?

  reply	other threads:[~2015-08-29 20:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-29 16:54 Latex/Table: horizontal line spanning some cells Vikas Rawal
2015-08-29 20:09 ` Rasmus [this message]
2015-08-30  1:20   ` Vikas Rawal

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=87egilq2l4.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --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.