Chaitanya Krishna <icym...@gmail.com> 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