emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andreas Kiermeier <andreas.kiermeier@gmail.com>
To: Charles Berry <ccberry@ucsd.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: header arguments, inheritance, and noweb expansion Was: «Macro» expansion in source blocks; code-sharing between blocks
Date: Sun, 21 Sep 2014 13:49:13 +0930	[thread overview]
Message-ID: <CAN7vk5QEhTOohiSZ9zWh69bmVLdEo36RJEF_Lhb_GcVjT-pQ=Q@mail.gmail.com> (raw)
In-Reply-To: <loom.20140920T175752-910@post.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1801 bytes --]

Thanks Chuck,
I thought the same, especially since I found the tabular() function by
looking at Hmisc and rms documentation (both packages by Frank Harrell).
But as it turns out the latex method for objects of class tabular is
defined in the table package and it has a much more limited set of options.
The upside is that I found the additional functions margin.table and
addmargins (I knew about prop.table) which are going to make my life easier
with R's tables.
Cheers,
Andreas

-- 
Dr Andreas Kiermeier | Director
Statistical Process Improvement Consulting and Training Pty Ltd
Mbl: +61 (4)23 028 565 | Email: andreas.kiermeier@gmail.com
Australia

On 21 September 2014 01:36, Charles Berry <ccberry@ucsd.edu> wrote:

> Andreas Kiermeier <andreas.kiermeier <at> gmail.com> writes:
>
> >
> > On 19 September 2014 20:29, Rainer M Krug <Rainer <at> 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
>
>
>

[-- Attachment #2: Type: text/html, Size: 3207 bytes --]

      reply	other threads:[~2014-09-21  4:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-18 13:17 «Macro» expansion in source blocks; code-sharing between blocks Tobias Getzner
2014-09-18 13:26 ` Tobias Getzner
2014-09-18 14:01   ` Eric S Fraga
2014-09-18 14:40     ` Tobias Getzner
2014-09-18 23:44     ` Andreas Kiermeier
2014-09-19  2:59       ` Charles Berry
2014-09-19 10:18         ` Andreas Kiermeier
2014-09-19  7:44       ` Eric S Fraga
2014-09-19  9:04       ` Rainer M Krug
2014-09-19 10:19         ` Andreas Kiermeier
2014-09-19 10:59           ` header arguments, inheritance, and noweb expansion Was: " Rainer M Krug
2014-09-20  6:57             ` Andreas Kiermeier
2014-09-20 16:06               ` Charles Berry
2014-09-21  4:19                 ` Andreas Kiermeier [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='CAN7vk5QEhTOohiSZ9zWh69bmVLdEo36RJEF_Lhb_GcVjT-pQ=Q@mail.gmail.com' \
    --to=andreas.kiermeier@gmail.com \
    --cc=ccberry@ucsd.edu \
    --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).