[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: preparing colored text
From: |
Bijan Soleymani |
Subject: |
Re: preparing colored text |
Date: |
02 Apr 2003 14:18:03 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
jaepstein_63@yahoo.com (Jonathan Epstein) writes:
> I've read a lot about faces over the years, but there's something that
> I just don't get: how do I prepare some text which is colored in a
> specific way?
>
> E.g., suppose I have the following text in my Emacs buffer (say, the
> *Scratch* buffer):
> Here is some sample text colored in different ways
>
> How can I make "Here is" red, "some sample" blue, "text" green,
> "colored in" red, and "different ways" blue ?
If your version of emacs has it, you should probably try enriched-mode.
M-x enriched mode
Then select the text you want to be red.
Then from the menu go in Edit -> Text Properties -> Foreground Color
and enter red.
Repeat for all other colors.
Hope that helps,
Bijan