From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: orgmod: R and threeparttable Date: Sun, 15 Dec 2013 10:58:40 +0100 Message-ID: <87bo0ia10v.fsf@gmail.com> References: <87sitvakg6.fsf@gmail.com> <87ob4jae2y.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vs8Sy-0003Qa-34 for emacs-orgmode@gnu.org; Sun, 15 Dec 2013 04:58:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vs8Ss-0007YB-4Q for emacs-orgmode@gnu.org; Sun, 15 Dec 2013 04:58:28 -0500 Received: from mail-ee0-x231.google.com ([2a00:1450:4013:c00::231]:58893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vs8Sr-0007Y4-Sn for emacs-orgmode@gnu.org; Sun, 15 Dec 2013 04:58:22 -0500 Received: by mail-ee0-f49.google.com with SMTP id c41so1627897eek.36 for ; Sun, 15 Dec 2013 01:58:20 -0800 (PST) In-Reply-To: (Vikas Rawal's message of "Sun, 15 Dec 2013 10:50:34 +0100") 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: Vikas Rawal Cc: "emacs-orgmode@gnu.org" Hello, Vikas Rawal writes: > On Sat, Dec 14, 2013 at 2:48 PM, Vikas Rawal < > vikaslists@agrarianresearch.org> wrote: > >> >> Nicolas, >> >> Special blocks seem to work very well, actually. Thank you. >> >> > On further exploration, there seems to be a problem. > > As you can see in the example below, \end{table} is wrongly placed. > tablenotes and \end{threeparttable} should come before \end{table} and not > after. Since special blocks are wrapping around the table, this is creating > a problem. 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 #+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 \item [] \footnotesize{Note: Yield of rice Gwalior, Madhya Pradesh and India were converted to paddy equivalents.} \item [] \footnotesize{Source: Data for Gwalior, Madhya Pradesh and India taken from the website Directorate of Economics and Statistics, Ministry of Agriculture, Government of India} #+end_tablenotes #+end_threeparttable #+end_table Regards, -- Nicolas Goaziou