Variable: flyspell-tex-command-regexp

flyspell-tex-command-regexp is a customizable variable defined in flyspell.el.gz.

Value

"\\(\\(begin\\|end\\)[  ]*{\\|\\(cite[a-z*]*\\|label\\|ref\\|eqref\\|usepackage\\|documentclass\\)[     ]*\\(\\[[^]]*\\]\\)?{[^{}]*\\)"

Documentation

A string that is the regular expression that matches TeX commands.

This variable was added, or its default value changed, in Emacs 21.1.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/flyspell.el.gz
(defcustom flyspell-tex-command-regexp
  "\\(\\(begin\\|end\\)[ \t]*{\\|\\(cite[a-z*]*\\|label\\|ref\\|eqref\\|usepackage\\|documentclass\\)[ \t]*\\(\\[[^]]*\\]\\)?{[^{}]*\\)"
  "A string that is the regular expression that matches TeX commands."
  :version "21.1"
  :type 'regexp)