Thank you (Nick and Tom). Both the solutions above worked.
Regards,
Chai
On Fri, Sep 12, 2014 at 9:53 PM, Thomas S. Dye wrote:
> Aloha Chai,
>
> Chaitanya Krishna writes:
>
> > Hello all,
> >
> > I would like to have some text in color when I export my org document to
> > latex.
> >
> > I trie
Aloha Chai,
Chaitanya Krishna 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}
One way is with a macro, e.g.,
#+MACRO: red \textcolor{red
Chaitanya Krishna 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
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 docume