From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Berry Subject: =?UTF-8?B?UmU6IGhlYWRlciBhcmd1bWVudHMsIGluaGVyaXRhbmNlLCBhbmQg?= =?UTF-8?B?bm93ZWIgZXhwYW5zaW9uIFdhczogwqtNYWNyb8K7IGV4cGFuc2lvbiBpbiBz?= =?UTF-8?B?b3VyY2UgYmxvY2tzOyBjb2RlLXNoYXJpbmcgYmV0d2VlbiBibG9ja3M=?= Date: Sat, 20 Sep 2014 16:06:22 +0000 (UTC) Message-ID: References: <87bnqdqb7i.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVR3y-0007pe-OX for emacs-orgmode@gnu.org; Sat, 20 Sep 2014 16:15:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XVR3t-0001et-Ev for emacs-orgmode@gnu.org; Sat, 20 Sep 2014 16:15:22 -0400 Received: from plane.gmane.org ([80.91.229.3]:45939) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVR3t-0001eM-8p for emacs-orgmode@gnu.org; Sat, 20 Sep 2014 16:15:17 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XVNBC-0000rd-Jm for emacs-orgmode@gnu.org; Sat, 20 Sep 2014 18:06:34 +0200 Received: from 137.110.34.228 ([137.110.34.228]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 20 Sep 2014 18:06:34 +0200 Received: from ccberry by 137.110.34.228 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 20 Sep 2014 18:06:34 +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 Andreas Kiermeier gmail.com> writes: > > On 19 September 2014 20:29, Rainer M Krug krugs.de> wrote:> [ snip ] > > The alternative mentioned by Chuck Berry is the xtable function (in R) > (https://lists.gnu.org/archive/html/emacs-orgmode/2014-09/msg00519.html). > I just tried it and am happy to share that it does created the whole > output in one go, i.e. it does exactly what I need, including table > float, caption and label. Now I just got to sort out how to created the > tables without the use of tabular ... > I suggested xtable because that is what I often use. But thinking a bit more, I decided to look at tables::tabular() and at Hmisc::latex(), which I think is what you used at first. And it turns out that latex() has args for caption, label, where, and loads of other things. See its help page. So, it looks like you have the control you need and the ability to use latex( tabular(...), caption = <...>, label = <...>, ...) to good effect. HTH, Chuck