Variable: ispell-tex-skip-alists
ispell-tex-skip-alists is a variable defined in ispell.el.gz.
Value
Large value
((("\\\\\\(hyperref\\|specialrule\\)" ispell-tex-arg-end 3)
("\\\\\\(C\\(?:pagerefrange\\|refrange\\*?\\)\\|LTXtable\\|SI\\|c\\(?:pagerefrange\\|refrange\\*?\\)\\|hyperdef\\|inputminted\\|mdfapptodefinestyle\\|v\\(?:pagerefrange\\*?\\|refrange\\*?\\)\\)" ispell-tex-arg-end 2)
("\\\\\\(Ac\\(?:f\\(?:p\\*\\|[*p]\\)\\|l\\(?:p\\*\\|[*p]\\)\\|p\\*\\|single\\*?\\|[*flp]\\)?\\|B\\(?:UseVerbatim\\*?\\|VerbatimInput\\*?\\)\\|C\\(?:pageref\\|ref\\*?\\)\\|DeleteShortVerb\\|Fref\\|Iac\\|L\\(?:UseVerbatim\\*?\\|VerbatimInput\\*?\\)\\|MakeShortVerb\\*?\\|Nameref\\|Ref\\|SetTblr\\(?:\\(?:Inn\\|Out\\)er\\)\\|UseVerb\\(?:\\*\\|atim\\*?\\)?\\|V\\(?:erbatimInput\\*?\\|ref\\)\\|a\\(?:c\\(?:a\\(?:p\\*\\|[*p]\\)\\|f\\(?:like\\*?\\|p\\(?:\\*\\|like\\*?\\)\\|[*p]\\)\\|l\\(?:p\\*\\|[*p]\\)\\|p\\*\\|reset\\|s\\(?:etup\\|ingle\\*?\\|p\\*\\|[*p]\\)\\|use\\|[*aflps]\\)?\\|ddfontfeatures\\|ttachfile\\(?:setup\\)?\\|uto\\(?:pageref\\*?\\|ref\\*?\\)\\)\\|c\\(?:aption\\(?:of\\*?\\|setup\\*?\\)\\|learcaptionsetup\\*?\\|pageref\\|ref\\*?\\|s\\)\\|empheqset\\|f\\(?:igureversion\\|ref\\|ullref\\|vset\\)\\|h\\(?:ref\\|yper\\(?:baseurl\\|image\\|link\\|setup\\|target\\)\\)\\|i\\(?:ac[ls]\\|nputpygments\\)\\|l\\(?:abelcref\\|cnamecref\\|st\\(?:inputlisting\\|set\\)\\)\\|mdfsetup\\|n\\(?:ame\\(?:[Cc]?ref\\)\\|olinkurl\\|um\\)\\|s\\(?:et\\(?:minted\\(?:inline\\)?\\|py\\(?:gments\\(?:fv\\|pygopt\\)\\|thontexfv\\)\\)\\|i\\(?:ndex\\|setup\\)?\\)\\|t\\(?:cbset\\(?:foreverylayer\\)?\\|extattachfile\\)\\|u\\(?:rl\\|se\\(?:\\(?:prin\\|stdou\\)tpythontex\\)\\)\\|v\\(?:pageref\\*?\\|ref\\*?\\)\\)" ispell-tex-arg-end)
("\\\\\\(addlinespace\\|captionlistentry\\|tcb\\(?:item\\|ox\\)\\)" ispell-tex-arg-end 0)
("\\\\\\(?:mint\\(?:inline\\)?\\|pygment\\)" TeX-ispell-tex-arg-verb-end 1)
("\\\\\\(?:Verb\\|lstinline\\|py\\(?:con[cv]?\\|lab\\(?:con[cv]?\\|[bcsv]\\)?\\|[bcsv]\\)?\\|sympy\\(?:con[cv]?\\|[bcsv]\\)?\\)" TeX-ispell-tex-arg-verb-end)
("\\\\fontspec" TeX-ispell-tex-arg-end 1 1 0)
("\\\\SaveVerb" TeX-ispell-tex-arg-verb-end 1)
("\\\\cmidrule" . "{[-0-9]+}")
("\\\\raisebox" TeX-ispell-tex-arg-end 1 2 0)
("\\\\(" . "\\\\)")
("\\\\addcontentsline" ispell-tex-arg-end 2)
("\\\\add\\(tocontents\\|vspace\\)" ispell-tex-arg-end)
("\\\\\\([aA]lph\\|arabic\\)" ispell-tex-arg-end)
("\\\\cref" ispell-tex-arg-end)
("\\\\bibliographystyle" ispell-tex-arg-end)
("\\\\makebox" ispell-tex-arg-end 0)
("\\\\e?psfig" ispell-tex-arg-end)
("\\\\document\\(class\\|style\\)" . "\\\\begin[ \n]*{document}"))
(("\\(BVerbatim\\*?\\|LVerbatim\\*?\\|SaveVerbatim\\|Verbatim\\(?:\\*\\|Out\\)?\\|align\\(?:\\*\\|at\\*?\\)?\\|d\\(?:array\\*?\\|group\\*?\\|math\\*?\\|series\\*?\\)\\|empheq\\|flalign\\*?\\|gather\\*?\\|lstlisting\\|m\\(?:inted\\|ultline\\*?\\)\\|py\\(?:block\\|co\\(?:de\\|n\\(?:code\\|sole\\|verbatim\\)\\)\\|gments\\|lab\\(?:block\\|co\\(?:de\\|n\\(?:code\\|sole\\|verbatim\\)\\)\\|sub\\|verbatim\\)\\|sub\\|verbatim\\)\\|sympy\\(?:block\\|co\\(?:de\\|n\\(?:code\\|sole\\|verbatim\\)\\)\\|sub\\|verbatim\\)\\|tikzpicture\\)" . "\\\\end{\\(BVerbatim\\*?\\|LVerbatim\\*?\\|SaveVerbatim\\|Verbatim\\(?:\\*\\|Out\\)?\\|align\\(?:\\*\\|at\\*?\\)?\\|d\\(?:array\\*?\\|group\\*?\\|math\\*?\\|series\\*?\\)\\|empheq\\|flalign\\*?\\|gather\\*?\\|lstlisting\\|m\\(?:inted\\|ultline\\*?\\)\\|py\\(?:block\\|co\\(?:de\\|n\\(?:code\\|sole\\|verbatim\\)\\)\\|gments\\|lab\\(?:block\\|co\\(?:de\\|n\\(?:code\\|sole\\|verbatim\\)\\)\\|sub\\|verbatim\\)\\|sub\\|verbatim\\)\\|sympy\\(?:block\\|co\\(?:de\\|n\\(?:code\\|sole\\|verbatim\\)\\)\\|sub\\|verbatim\\)\\|tikzpicture\\)}")
("\\(description\\*?\\|enumerate\\*?\\|itemize\\*?\\|mdframed\\|tc\\(?:b\\(?:itemize\\|raster\\)\\|olorbox\\)\\)" ispell-tex-arg-end 0)
("xltabular" ispell-tex-arg-end 2)
("tcboxed\\(raster\\|itemize\\)" ispell-tex-arg-end)
("tabular[*xy]" TeX-ispell-tex-arg-end)
("booktabs" ispell-tex-arg-end)
("\\(?:long\\|tall\\)?tblr" ispell-tex-arg-end)
("stabular\\*" TeX-ispell-tex-arg-end)
("stabular" ispell-tex-arg-end)
("filecontents\\*?" ispell-tex-arg-end)
("\\(figure\\|table\\)\\*?" ispell-tex-arg-end 0)
("list" ispell-tex-arg-end 2)
("program" . "\\\\end[ ]*{program}")
("verbatim\\*?" . "\\\\end[ ]*{verbatim\\*?}")))
Documentation
Lists of regions to be skipped in TeX mode.
First list is used raw. Second list has key placed inside \begin{}.
Delete or add any regions you want to be automatically selected for skipping in latex mode.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/ispell.el.gz
;;;###autoload
(defvar ispell-tex-skip-alists
(purecopy
'((;;("%\\[" . "%\\]") ; AMStex block comment...
;; All the standard LaTeX keywords from L. Lamport's guide:
;; \cite, \hspace, \hspace*, \hyphenation, \include, \includeonly, \input,
;; \label, \nocite, \rule (in ispell - rest included here)
("\\\\addcontentsline" ispell-tex-arg-end 2)
("\\\\add\\(tocontents\\|vspace\\)" ispell-tex-arg-end)
("\\\\\\([aA]lph\\|arabic\\)" ispell-tex-arg-end)
;;("\\\\author" ispell-tex-arg-end)
("\\\\cref" ispell-tex-arg-end)
("\\\\bibliographystyle" ispell-tex-arg-end)
("\\\\makebox" ispell-tex-arg-end 0)
("\\\\e?psfig" ispell-tex-arg-end)
("\\\\document\\(class\\|style\\)" . "\\\\begin[ \t\n]*{document}"))
(;; delimited with \begin. In ispell: displaymath, eqnarray, eqnarray*,
;; equation, minipage, picture, tabular, tabular* (ispell)
("\\(figure\\|table\\)\\*?" ispell-tex-arg-end 0)
("list" ispell-tex-arg-end 2)
("program" . "\\\\end[ \t]*{program}")
("verbatim\\*?" . "\\\\end[ \t]*{verbatim\\*?}"))))
"Lists of regions to be skipped in TeX mode.
First list is used raw.
Second list has key placed inside \\begin{}.
Delete or add any regions you want to be automatically selected
for skipping in latex mode.")