From: Vikas Rawal <vikaslists@agrarianresearch.org>
To: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Table caption in Latex export with :float nil
Date: Wed, 11 Mar 2015 11:24:29 +0530 [thread overview]
Message-ID: <7FE04555-FBB1-4A43-A50C-EF81E8F37308@agrarianresearch.org> (raw)
In-Reply-To: <B39966A6-26B1-4CB4-BCCD-D5000FC1D2BB@agrarianresearch.org>
This seems to work:
#+name: milk-consumption-india
#+attr_latex: :placement [H] :environment tabular :caption \captionof{table}{\label{milk-consumption-india}Average consumption of milk, India, kilograms per capita per annum}
| Year | Rural | Urban | All |
|---------------------------------+-------+-------+------|
| 1983 | 38.7 | 55.6 | 44.7 |
| 1993–1994 | 50.3 | 66.4 | 54.3 |
| 2004–2005 | 50.2 | 69.3 | 55 |
| 2009–2010 | 51.7 | 71.6 | 57.1 |
| <4colc>Source: citet:anjani2014 | | | |
Is :float deprecated?
Vikas
> On 11-Mar-2015, at 7:46 am, Vikas Rawal <vikaslists@agrarianresearch.org> wrote:
>
> I need to insert a table in an mdframed box, for which I need to turn off :float. The following, however, does not give me the caption:
>
> #+name: milk-consumption-india
> #+attr_latex: :float nil :environment tabular :caption \caption{\label{milk-consumption-india}Average consumption of milk, India, kilograms per capita per annum}
> | Year | Rural | Urban | All |
> |---------------------------------+-------+-------+------|
> | 1983 | 38.7 | 55.6 | 44.7 |
> | 1993–1994 | 50.3 | 66.4 | 54.3 |
> | 2004–2005 | 50.2 | 69.3 | 55 |
> | 2009–2010 | 51.7 | 71.6 | 57.1 |
> | <4colc>Source: citet:anjani2014 | | | |
>
>
> I have also tried (along with #+latex_header: \usepackage{caption})
>
> #+name: milk-consumption-india
> #+attr_latex: :float nil :environment tabular :caption \captionof{table}{\label{milk-consumption-india}Average consumption of milk, India, kilograms per capita per annum}
> | Year | Rural | Urban | All |
> |---------------------------------+-------+-------+------|
> | 1983 | 38.7 | 55.6 | 44.7 |
> | 1993–1994 | 50.3 | 66.4 | 54.3 |
> | 2004–2005 | 50.2 | 69.3 | 55 |
> | 2009–2010 | 51.7 | 71.6 | 57.1 |
> | <4colc>Source: citet:anjani2014 | | | |
>
> Vikas
>
>
next prev parent reply other threads:[~2015-03-11 5:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-11 2:16 Table caption in Latex export with :float nil Vikas Rawal
2015-03-11 5:54 ` Vikas Rawal [this message]
2015-03-11 8:51 ` Rasmus
2015-03-11 13:37 ` Vikas Rawal
2015-03-11 13:58 ` Rasmus
2015-03-12 13:36 ` Vikas Rawal
2015-03-12 13:52 ` Rasmus
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=7FE04555-FBB1-4A43-A50C-EF81E8F37308@agrarianresearch.org \
--to=vikaslists@agrarianresearch.org \
--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).