emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "kevin.lemorzadec" <kevin.lemorzadec@mun.ca>
To: emacs-orgmode@gnu.org
Subject: Re: font colour in a table row
Date: Fri, 7 Nov 2014 13:03:26 -0330	[thread overview]
Message-ID: <CAOnPmeWNf8cxEE7wbXmp1+AHt6MzeEzVOco4uVPqjzPJ8=FFVw@mail.gmail.com> (raw)
In-Reply-To: <87mw84ptcv.fsf@ucl.ac.uk>

[-- Attachment #1: Type: text/plain, Size: 1800 bytes --]

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.fraga@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

[-- Attachment #2: Type: text/html, Size: 2823 bytes --]

  reply	other threads:[~2014-11-07 16:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-06  0:36 font colour in a table row kevin.lemorzadec
2014-11-06  9:32 ` Eric S Fraga
2014-11-07 16:33   ` kevin.lemorzadec [this message]
2014-11-07 18:42     ` Eric S Fraga

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='CAOnPmeWNf8cxEE7wbXmp1+AHt6MzeEzVOco4uVPqjzPJ8=FFVw@mail.gmail.com' \
    --to=kevin.lemorzadec@mun.ca \
    --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).