Re: [O] font colour in a table row

2014-11-07 Thread kevin.lemorzadec
Thanks for your answer,

Unfortunatly the #+attr_latex: :environment tabu seem to not be taken into
account

I have org 6.33x, could that be the problem?

Code used:
#+DRAWERS: LATEX
:LATEX:
#+LATEX_HEADER: \usepackage[table]{xcolor}
#+LATEX_HEADER: \usepackage{tabu}

#+TITLE: Some statistics about the oceanographic data
#+AUTHOR: Kevin Le Morzadec
#+OPTIONS: toc:nil todo:nil

:END:

 #+attr_latex: :environment tabu
 |   | | |
 |   min | 10th percentile | 25th percentile |
 |---+-+-|
 | \rowfont{\color{red}}   1 | 1.2 | 1.7 |
 | 1 | 1.5 | 1.9 |
 |   1.1 | 1.5 | 1.9 |
 | 1 | 1.9 | 2.3 |
 | 1 |   2 | 2.3 |

Thanks,
Kevin

On Thu, Nov 6, 2014 at 6:02 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote:

 On Wednesday,  5 Nov 2014 at 21:06, kevin.lemorzadec wrote:

 [...]

  in org mode. I don't see how to include replace the \begin{tabular}
  generated automaticly by the following code by \begin{tabu}

 Try

 #+attr_latex: :environment tabu

 just before the table, assuming you are using a relatively recent
 version of org.  This is described in the org manual in the exporting -
 LaTeX and PDF export section.
 --
 : Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.3beta-372-gdd70cf




-- 
Kevin Le Morzadec - Ph.D. candidate
   Dept of Physics and Physical Oceanography,
   Memorial University of Newfoundland, Canada
   Tel 709-864-8654


Re: [O] font colour in a table row

2014-11-07 Thread Eric S Fraga
On Friday,  7 Nov 2014 at 13:03, kevin.lemorzadec wrote:
 Thanks for your answer,

 Unfortunatly the #+attr_latex: :environment tabu seem to not be taken into
 account

 I have org 6.33x, could that be the problem?

Yes, most definitely.  org 6.33 is ancient!  there have been two major
releases since then.  I am not sure what the current stable version is
but it's at least 8.x...  You really should upgrade.

I am using 8.3.

There probably is no way of accomplishing what you want in 6.33 without
resorting to LaTeX.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.3beta-372-gdd70cf



Re: [O] font colour in a table row

2014-11-06 Thread Eric S Fraga
On Wednesday,  5 Nov 2014 at 21:06, kevin.lemorzadec wrote:

[...]

 in org mode. I don't see how to include replace the \begin{tabular}
 generated automaticly by the following code by \begin{tabu}

Try

#+attr_latex: :environment tabu

just before the table, assuming you are using a relatively recent
version of org.  This is described in the org manual in the exporting -
LaTeX and PDF export section.
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.3beta-372-gdd70cf