emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] font colour in a table row


From: kevin.lemorzadec
Subject: Re: [O] font colour in a table row
Date: Fri, 7 Nov 2014 13:03:26 -0330

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 <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]