[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Table caption in Latex export with :float nil
From: |
Vikas Rawal |
Subject: |
[O] Table caption in Latex export with :float nil |
Date: |
Wed, 11 Mar 2015 07:46:39 +0530 |
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
- [O] Table caption in Latex export with :float nil,
Vikas Rawal <=