From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Latex/Table: horizontal line spanning some cells Date: Sat, 29 Aug 2015 22:09:11 +0200 Message-ID: <87egilq2l4.fsf@gmx.us> References: <5EE5FF1D-465C-4F43-A6CD-636D31EAFC51@agrarianresearch.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]:36595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVmRI-0005Jv-RL for emacs-orgmode@gnu.org; Sat, 29 Aug 2015 16:09:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZVmRF-0001K0-LF for emacs-orgmode@gnu.org; Sat, 29 Aug 2015 16:09:24 -0400 Received: from plane.gmane.org ([80.91.229.3]:42361) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVmRF-0001JL-F5 for emacs-orgmode@gnu.org; Sat, 29 Aug 2015 16:09:21 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZVmRB-0005gw-Kk for emacs-orgmode@gnu.org; Sat, 29 Aug 2015 22:09:17 +0200 Received: from 46.166.188.219 ([46.166.188.219]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 29 Aug 2015 22:09:17 +0200 Received: from rasmus by 46.166.188.219 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 29 Aug 2015 22:09:17 +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 Hi, Vikas Rawal 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?