emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Using color in latex export


From: Nick Dokos
Subject: Re: [O] Using color in latex export
Date: Fri, 12 Sep 2014 15:29:58 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Chaitanya Krishna <address@hidden> writes:

> Hello all,
>
> I would like to have some text in color when I export my org document to 
> latex.
>
> I tried this:
> ...
> #+latex_header: \usepackage{color}
> \textcolor{red}{Text I want in red}
> ...
>
> But, this is producing
> ...
> \usepackage{color}
> \textcolor{red}\{Text I want in red\} in the exported latex document.
> ...
>
> How can I properly export the org file to latex and still have colored text. 
> How can I escape braces '{'?
>

Try this:

--8<---------------cut here---------------start------------->8---
Here is some @@latex:\textcolor{red}{red text}@@
--8<---------------cut here---------------end--------------->8---

Nick





reply via email to

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