emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Melanie Bacou <mel@mbacou.com>
To: emacs-orgmode@gnu.org
Subject: Table notes (below table) in LaTeX?
Date: Sun, 22 Feb 2015 17:50:15 -0500	[thread overview]
Message-ID: <mcdmf8$2je$1@ger.gmane.org> (raw)

Hi,
I have a document with over 50 tables and I need to indicate data 
sources right below every table. Looking through the list I've found the 
workaround below, but it's rather syntax heavy, and places the table 
notes a little too far from the actual table.


#+CAPTION: Tanzania Segmentation (Scheme #1, 23 Segments)
#+NAME: tab:tza-seg1
#+ATTR_LATEX: :environment tabu :align lrrr
#+begin_threeparttable
| Segment           |      Area | Population |   Population |
|                   |           |            |      Density |
|                   | /sq. km./ |            | /pp/sq. km./ |
|-------------------+-----------+------------+--------------|
| <l>               |       <r> |        <r> |          <r> |
| BC, CM            |     4,178 |    983,305 |          235 |
| BC, CM, RS-WR     |     9,057 |    672,557 |           74 |
| BC, ML            |     7,618 |    358,121 |           47 |
| SM, CM            |    11,836 |  2,288,607 |          193 |
| TM                |    23,958 |  1,287,792 |           54 |
#+begin_tablenotes
_Source_: authors and other notes and data sources.
#+end_tablenotes
#+end_threeparttable

Instead I'd like to simply place all data sources and notes in a bottom 
row (as in the LaTeX fragment below).

\begin{table}[htb]
\caption{\label{tab:tza-seg1}Tanzania Segmentation (Scheme \#1, 23 
Segments)}
\centering
\begin{tabu}{lrrr}
\toprule
Segment & Area & Population & Population\\
  &  &  & Density\\
  & \emph{sq. km.} &  & \emph{pp/sq. km.}\\
\midrule
BC, CM & 4,178 & 983,305 & 235\\
BC, CM, RS-WR & 9,057 & 672,557 & 74\\
BC, ML & 7,618 & 358,121 & 47\\
RS-WR & 13,729 & 412,623 & 30\\
RS, CM & 10,959 & 1,059,554 & 97\\
SM & 5,592 & 514,030 & 92\\
SM, CM & 11,836 & 2,288,607 & 193\\
TM & 23,958 & 1,287,792 & 54\\
\bottomrule
Source: authors and other notes and data sources.\\
\end{tabu}
\end{table}


Any tip to achieve this without using threeparttable?
Thanks, --Mel.


-- 
Melanie BACOU
International Food Policy Research Institute
Snr. Program Manager, HarvestChoice
E-mail m.bacou@cgiar.org
Visit www.harvestchoice.org

                 reply	other threads:[~2015-02-22 22:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='mcdmf8$2je$1@ger.gmane.org' \
    --to=mel@mbacou.com \
    --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).