3 * Description: TeX/LaTeX command, comment and math highlighting.
4 * Author: Toni Giorgino <toni@pcape2.pi.infn.it>
7 /* Syntactically highlights _every_ TeX command. A more specialized
8 * LaTeX mode might instead operate by keyword, eg. reproducing text
9 * emphasis and boldface, perhaps cluttering the output too much.
10 * Label and reference highlighting is a better candidate for a To Do
11 * list. Please report modifications. TG
14 state tex extends HighlightEntry
16 /* escaped comment mark */
29 /* one non-letter commands */
36 /* multi letter commands */
43 /* display math environment */
50 /* inline math environment */
52 variable_name_face (true);
54 variable_name_face (false);