tex-font-lock-keywords-3
tex-font-lock-keywords-3 is a variable defined in `
tex-mode.el
'.
Its value is shown
below.
- This variable may be risky if used as a file-local variable.
Documentation:
Experimental expressions to highlight in TeX modes.
Value:
(("\\$\\$?\\(?:[^$\\{}]\\|\\\\.\\|{\\(?:[^{}\\]\\|\\\\.\\|{\\(?:[^{}\\]\\|\\\\.\\|{[^}]*}\\)*}\\)*}\\)+\\$?\\$"
(0 tex-math-face))
("\\\\\\(begin\\|chapter\\|end\\|new\\(?:command\\|environment\\|theorem\\)\\|p\\(?:ar\\(?:agraph\\|t\\)\\|rovidecommand\\)\\|renew\\(?:command\\|environment\\|theorem\\)\\|s\\(?:ection\\|ub\\(?:paragraph\\|s\\(?:ection\\|ub\\(?:paragraph\\|section\\)\\)\\)\\)\\|title\\)\\*? *\\(\\[[^]]*\\] *\\)*{\\(\\(?:[^{}\\]\\|\\\\.\\|{[^}]*}\\)+\\)" 3 font-lock-function-name-face keep)
("\\\\\\(?:provide\\|\\(?:re\\)?new\\)command\\** *\\(\\\\[A-Za-z@]+\\)" 1 font-lock-function-name-face keep)
("\\\\\\(addto\\(?:counter\\|length\\)\\|newcounter\\*?\\|set\\(?:counter\\|\\(?:leng\\|towid\\)th\\)\\) *{\\(\\(?:[^{}\\]\\|\\\\.\\|{[^}]*}\\)+\\)" 2 font-lock-variable-name-face)
("\\\\\\(bibliography\\|document\\(?:class\\|style\\)\\|epsf\\(?:ig\\)?\\|in\\(?:clude\\(?:graphics\\*?\\|only\\)?\\|put\\)\\|nofiles\\|psfig\\|usepackage\\|verbatiminput\\) *\\(\\[[^]]*\\] *\\)*{\\(\\(?:[^{}\\]\\|\\\\.\\|{[^}]*}\\)+\\)" 3 font-lock-builtin-face)
("\\\\\\(nolinkurl\\|path\\|url\\) *\\(\\[[^]]*\\] *\\)*{\\(\\(?:[^{}\\]\\|\\\\.\\|{[^}]*}\\)+\\)" 3 'tex-verbatim)
("^[ ]*\\\\def *\\\\\\(\\(\\w\\|@\\)+\\)" 1 font-lock-function-name-face)
("\\\\\\(bibitem\\|cite[pt]?\\|eqref\\|glossary\\|index\\|label\\|nocite\\|\\(?:page\\|v\\)?ref\\) *\\(\\[[^]]*\\] *\\)*{\\(\\(?:[^{}\\]+\\|\\\\.\\|{[^}]*}\\)+\\)" 3 font-lock-constant-face)
("\\(\"[<`]\\|<<\\|``\\|«\\)[^'\">{]+\\(\"['>]\\|''\\|>>\\|»\\)" . font-lock-string-face)
("\\\\\\(\\\\\\*?\\)" . font-lock-warning-face)
("\\(\\\\\\(allowdisplaybreaks\\|clear\\(?:\\(?:double\\)?page\\)\\|displaybreak\\|enlargethispage\\|linebreak\\|n\\(?:ew\\(?:\\(?:lin\\|pag\\)e\\)\\|o\\(?:\\(?:lin\\|pag\\)ebreak\\)\\)\\|pagebreak\\)\\)\\([^a-zA-Z@]\\|\\'\\)" 1 font-lock-warning-face)
"\\\\\\([a-zA-Z@]+\\**\\|[^ \n]\\)"
("\\\\\\(boldsymbol\\|pmb\\|text\\(?:bf\\|sc\\|up\\)\\) *{\\(\\(?:[^{}\\]+\\|\\\\.\\|{[^}]*}\\)+\\)" 2
(tex-font-lock-append-prop 'bold)
append)
("\\\\\\(emph\\|text\\(?:it\\|sl\\)\\) *{\\(\\(?:[^{}\\]+\\|\\\\.\\|{[^}]*}\\)+\\)" 2
(tex-font-lock-append-prop 'italic)
append)
("\\\\\\(em\\|it\\|sl\\)\\>\\(\\(?:[^{}&\\]+\\|\\\\.\\|{[^}]*}\\)+\\)" 2
(tex-font-lock-append-prop 'italic)
append)
("\\\\\\(bf\\(series\\)?\\)\\>\\(\\(?:[^{}&\\]+\\|\\\\.\\|{[^}]*}\\)+\\)" 3
(tex-font-lock-append-prop 'bold)
append)
(tex-font-lock-match-suscript
(1
(tex-font-lock-suscript
(match-beginning 0))
append)))