emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vikas Rawal <vikaslists@agrarianresearch.org>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: orgmod: R and threeparttable
Date: Sun, 15 Dec 2013 11:21:31 +0100	[thread overview]
Message-ID: <CAFVt51K1EHDUTuhMu6wt2AoJzw4Pphbr06OEML0bQDpYG8t59w@mail.gmail.com> (raw)
In-Reply-To: <87bo0ia10v.fsf@gmail.com>

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

>
> Try this:
>
>   #+name: gharsondi-yield
>   #+caption: Average yields of selected crops in Gharsondi, Gwalior,
> Madhya Pradesh and India, 2007-08 (kilograms per acre)
>   #+attr_latex: :options [htb]
>   #+begin_table
>   #+begin_threeparttable
>

Thanks Nicolas.

I need #+attr_latex to come after #begin_threeparttable. Otherwise, it is
not used.

The following works:

#+NAME: gharsondi-yield
#+CAPTION: Average yields of selected crops in Gharsondi, Gwalior, Madhya
Pradesh and India, 2007-08 (kilograms per acre)
#+begin_table
#+begin_threeparttable
#+attr_latex: :environment tabularx :width \textwidth :align lrrrr
#+RESULTS: gharsondi-yield-in
| Crop      | Gharsondi | Gwalior | Madhya Pradesh | India |
|-----------+-----------+---------+----------------+-------|
| Soybean   |       nil |     689 |            442 |   500 |
| Paddy     |      1553 |     866 |            569 |  1337 |
| Urad      |        53 |     142 |            142 |   192 |
| Sesame    |       101 |     127 |            153 |   170 |
| Wheat     |       824 |     664 |            652 |  1134 |
| Chick pea |       462 |     445 |            288 |   308 |
| Rapeseed  |       501 |     280 |            375 |   405 |
#+begin_tablenotes
\footnotesize Source: Data for Gwalior, Madhya Pradesh and
India taken from the website Directorate of Economics and Statistics,
Ministry of Agriculture, Government of India. Yield of rice were
converted to paddy equivalents.
#+end_tablenotes
#+end_threeparttable
#+end_table


Vikas

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

  reply	other threads:[~2013-12-15 10:21 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-11 11:12 orgmod: R and threeparttable Vikas Rawal
2013-12-11 20:43 ` John Hendy
2013-12-13  7:07   ` Vikas Rawal
2013-12-14  8:08   ` Vikas Rawal
2013-12-14  8:46     ` Nicolas Goaziou
2013-12-14  9:40       ` Vikas Rawal
2013-12-14 11:04         ` Nicolas Goaziou
2013-12-14 12:06           ` Vikas Rawal
2013-12-14 13:48             ` Vikas Rawal
2013-12-15  9:50               ` Vikas Rawal
2013-12-15  9:55                 ` Vikas Rawal
2013-12-15  9:58                 ` Nicolas Goaziou
2013-12-15 10:21                   ` Vikas Rawal [this message]
2013-12-15 10:46                     ` Nicolas Goaziou
2013-12-15 10:50                       ` 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

  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=CAFVt51K1EHDUTuhMu6wt2AoJzw4Pphbr06OEML0bQDpYG8t59w@mail.gmail.com \
    --to=vikaslists@agrarianresearch.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    /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).