[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX] Highlighting user-defined macros
From: |
sven . bretfeld |
Subject: |
[AUCTeX] Highlighting user-defined macros |
Date: |
Sun, 15 Apr 2007 18:00:39 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hello list
Can anybody show me how I can define highlighting rules for my own
LateX macros in my .emacs. I hate this customize-group thing, since I
don't understand it anyway (I've tried it for an hour now).
For example, I have two self-defined functions I want to highlight in
.tex-files:
\mybox{text}
\agendum{text1}{text2}
How can I, for example, give "text" in the mybox-argument a red color,
and the "text1" of \agendum a red color and "text2" a yellow
background?
Maybe somebody can sent me a coding example from his/her own .emacs. I
will find out the rest.
Thank you for help
Sven
- [AUCTeX] Highlighting user-defined macros,
sven . bretfeld <=