* sven bretfeld (2007-04-15) writes:

> 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).

What did you try exactly?

> 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?

Assigning different colors to different arguments of the same macro is
currently not supported.

> Maybe somebody can sent me a coding example from his/her own .emacs. I
> will find out the rest.

Using the customize interface is really the easiest way in this case.

-- 
Ralf


_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to