Variable: LaTeX-auto-class-regexp-list
LaTeX-auto-class-regexp-list is a variable defined in latex.el.
Value
(("\\\\Require\\(Package\\)\\(?:\\[\\([^]]*\\)\\]\\)?{\\([^#\\.\n
]+?\\)}"
(2 3 1) LaTeX-auto-style)
("\\\\Require\\(Package\\)WithOptions\\(\\){\\([^#\\.\n
]+?\\)}"
(2 3 1) LaTeX-auto-style)
("\\\\Load\\(Class\\)\\(?:\\[\\([^]]*\\)\\]\\)?{\\([^#\\.\n
]+?\\)}"
(2 3 1) LaTeX-auto-style)
("\\\\Load\\(Class\\)WithOptions\\(\\){\\([^#\\.\n
]+?\\)}" (2 3 1)
LaTeX-auto-style)
("\\\\DeclareRobustCommand\\*?{?\\\\\\([A-Za-z]+\\)}?\\[\\([0-9]+\\)\\]\\[\\([^\n
]*?\\)\\]"
(1 2 3) LaTeX-auto-optional)
("\\\\DeclareRobustCommand\\*?{?\\\\\\([A-Za-z]+\\)}?\\[\\([0-9]+\\)\\]"
(1 2) LaTeX-auto-arguments)
("\\\\DeclareRobustCommand\\*?{?\\\\\\([A-Za-z]+\\)}?" 1
TeX-auto-symbol)
("\\\\\\(?:Declare\\(?:FixedFont\\|Math\\(?:Accent\\|Delimiter\\|\\(?:Radica\\|Symbo\\)l\\)\\|OldFontCommand\\|Text\\(?:Accent\\|Com\\(?:mand\\|posite\\)\\|FontCommand\\|Symbol\\)\\)\\|ProvideText\\(?:Accent\\|Com\\(?:mand\\|posite\\)\\|Symbol\\)\\){?\\\\\\([A-Za-z]+\\)}?"
1 TeX-auto-symbol))
Documentation
List of regular expressions matching macros in LaTeX classes and packages.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/latex.el
(defvar LaTeX-auto-class-regexp-list
`(;; \RequirePackage[<options>]{<package>}[<date>]
("\\\\Require\\(Package\\)\\(?:\\[\\([^]]*\\)\\]\\)?\
{\\([^#\\.\n\r]+?\\)}"
(2 3 1) LaTeX-auto-style)
;; \RequirePackageWithOptions{<package>}[<date>],
("\\\\Require\\(Package\\)WithOptions\\(\\){\\([^#\\.\n\r]+?\\)}"
(2 3 1) LaTeX-auto-style)
;; \LoadClass[<options>]{<package>}[<date>]
("\\\\Load\\(Class\\)\\(?:\\[\\([^]]*\\)\\]\\)?{\\([^#\\.\n\r]+?\\)}"
(2 3 1) LaTeX-auto-style)
;; \LoadClassWithOptions{<package>}[<date>]
("\\\\Load\\(Class\\)WithOptions\\(\\){\\([^#\\.\n\r]+?\\)}"
(2 3 1) LaTeX-auto-style)
;; \DeclareRobustCommand{<cmd>}[<num>][<default>]{<definition>},
;; \DeclareRobustCommand*{<cmd>}[<num>][<default>]{<definition>}
("\\\\DeclareRobustCommand\\*?{?\\\\\\([A-Za-z]+\\)}?\
\\[\\([0-9]+\\)\\]\\[\\([^\n\r]*?\\)\\]"
(1 2 3) LaTeX-auto-optional)
("\\\\DeclareRobustCommand\\*?{?\\\\\\([A-Za-z]+\\)}?\\[\\([0-9]+\\)\\]"
(1 2) LaTeX-auto-arguments)
("\\\\DeclareRobustCommand\\*?{?\\\\\\([A-Za-z]+\\)}?"
1 TeX-auto-symbol)
;; Patterns for commands described in "LaTeX2e font selection" (fntguide)
(,(concat "\\\\"
(regexp-opt '("DeclareMathSymbol" "DeclareMathDelimiter"
"DeclareMathAccent" "DeclareMathRadical"
"DeclareTextCommand" "DeclareTextSymbol"
"DeclareTextAccent" "DeclareTextComposite"
"ProvideTextCommand" "ProvideTextSymbol"
"ProvideTextAccent" "ProvideTextComposite"
"DeclareFixedFont"
"DeclareTextFontCommand"
"DeclareOldFontCommand"))
"{?\\\\\\([A-Za-z]+\\)}?")
1 TeX-auto-symbol))
"List of regular expressions matching macros in LaTeX classes and packages.")