From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: Change color for two words in LaTeX export using cologr package? Date: Fri, 24 Jul 2015 15:43:55 +0200 Message-ID: References: <87twst8yjx.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIdGe-0000ca-Rz for emacs-orgmode@gnu.org; Fri, 24 Jul 2015 09:44:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZIdGa-0002Zj-Lt for emacs-orgmode@gnu.org; Fri, 24 Jul 2015 09:44:04 -0400 Received: from mail-wi0-f172.google.com ([209.85.212.172]:36098) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIdGa-0002Ww-Cz for emacs-orgmode@gnu.org; Fri, 24 Jul 2015 09:44:00 -0400 Received: by wicgb10 with SMTP id gb10so29593061wic.1 for ; Fri, 24 Jul 2015 06:43:59 -0700 (PDT) Received: from Rainers-MacBook-Pro-2.local (arn78-1-88-186-171-7.fbx.proxad.net. [88.186.171.7]) by smtp.gmail.com with ESMTPSA id l6sm3606037wib.18.2015.07.24.06.43.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Jul 2015 06:43:58 -0700 (PDT) In-Reply-To: <87twst8yjx.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Fri, 24 Jul 2015 14:39:30 +0100") 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 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eric S Fraga writes: > On Friday, 24 Jul 2015 at 15:07, Rainer M Krug wrote: >> Hi >> >> In an org document, I want to change the text colour of two words >> {\color{red} red line } to red in a sentence and the rest should be >> normal colour. >> >> I am missing something, as this changes the text colour for the rest of >> the sentence into red. How can I only change the colour of the two >> words? > > I usually do this type of thing as follows: > > #+latex: {\color{red} > red line > #+latex: } > > which allows for org-isms in the text. Alternatively, you could do: > > ... @@latex:{\color{red} red line}@@ > > if you don't need to use org syntax within the {}. Thanks - I will try it out on Monday. But it looks good. Thanks, Rainer =2D-=20 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,= UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2 iQEcBAEBCAAGBQJVskEcAAoJENvXNx4PUvmCrioIAMB8cl5g9ntBtDBKqP/rDFWS grdzOI2R1dWHRT8fpZHiyxlohEkyUKNZibkRdKb6j3QVo8CxTnplPg/eHUPgOqfw xjCqXF7my2LIb2Ednsi+QNJMmB6d+qHzvkIo1dUgme9iZJgtqz16E6QvMKV1nXc4 wm5k1Xu1GfxhxQvnUQl/bV1LwzWA3za8g1EKdlY6qYQ73e5A1uE9rHcHQXymv85/ 2MtaPev5Ps7fI7LAQqQg3imRfmu/P1pPxaZMiYBTA68uTkDvPSvQgMRRtl2ZmPC8 bgkHKDPC75buZvG9upQpumlMcZCMTM4iS8QsANnKYG0dX3w5SQnn3NfzWz8Jn+E= =gRmh -----END PGP SIGNATURE----- --=-=-=--