emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Change color for two words in LaTeX export using cologr package?


From: Rainer M Krug
Subject: Re: [O] Change color for two words in LaTeX export using cologr package?
Date: Fri, 24 Jul 2015 15:43:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin)

Eric S Fraga <address@hidden> 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

-- 
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:      address@hidden

Skype:      RMkrug

PGP: 0x0F52F982

Attachment: signature.asc
Description: PGP signature


reply via email to

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