Thanks, Ralf. I don't know whether I did the correct way or not. I'm
using "C-h v" to customize it, which produces the following results:
----------------------------------------------
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(font-latex-user-keyword-classes (quote (("intertext" ("intertext")
(:family "font-lock-type-face") (command 1))))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
----------------------------------------------
To my surprise, it give the same color inside "intertext" as the text
parts.
BTW: I'm using AUCTeX 11.55
MikTeX 2.4
CVS Emacs 21.3.50.1
Windows XP.
--------
Best Regards,
Adam
----- Original Message -----
From: "Ralf Angeli" <address@hidden>
To: "Adam Johnson" <address@hidden>
Cc: <address@hidden>
Sent: Monday, March 28, 2005 2:44 AM
Subject: Re: How to change the font color of "intertext".
[Using new mailing list address in Cc.]
* Adam Johnson (2005-03-27) writes:
The font color inside the command "intertext" of AMS environment "align"
is
same to equation parts. However, it in fact should share the same color
as
the text parts. (This is reason it is called "intertext".) How can I
change the color scheme? Thanks.
Using normal text color together with normal fontification is not
possible. You could add a new keyword user class by customizing
`font-latex-user-keyword-classes', add "intertext" to it and use
e.g. the face `font-lock-type-face' for it. This will give you a
green color for the macro argument if you haven't changed the face.
It is currently not possible to use standard faces like `default' or
`bold' with `font-latex-user-keyword-classes'. I am in course of
fixing this.
--
Ralf