From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chaitanya Krishna Subject: Using color in latex export Date: Fri, 12 Sep 2014 21:13:50 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b10cffb03e8070502e3174a Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSWIP-00023S-SU for emacs-orgmode@gnu.org; Fri, 12 Sep 2014 15:14:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XSWIP-0007F8-1r for emacs-orgmode@gnu.org; Fri, 12 Sep 2014 15:14:13 -0400 Received: from mail-pa0-x236.google.com ([2607:f8b0:400e:c03::236]:58842) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSWIO-0007F0-RU for emacs-orgmode@gnu.org; Fri, 12 Sep 2014 15:14:13 -0400 Received: by mail-pa0-f54.google.com with SMTP id lj1so1928147pab.27 for ; Fri, 12 Sep 2014 12:14:10 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --047d7b10cffb03e8070502e3174a Content-Type: text/plain; charset=UTF-8 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 '{'? Best regards, Chai -- 42 --047d7b10cffb03e8070502e3174a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello all,

I would like to have some te= xt in color when I export my org document to latex.

I tried this:
...
#+latex_header: \usepackage{color}<= /div>
\textcolor{red}{Text I want in red}
...
<= br>
But, this is producing
...
\usepackage{co= lor}
\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 = '{'?

Best regards,
Chai

--
42
--047d7b10cffb03e8070502e3174a--