Variable: LaTeX-indent-comment-start-regexp
LaTeX-indent-comment-start-regexp is a customizable variable defined
in latex.el.
Value
"%"
Documentation
Regexp matching comments ending the indent level count.
This means, we just count the LaTeX tokens \left, \right, \begin,
and \end up to the first occurence of text matching this regexp.
Thus, the default "%" stops counting the tokens at a comment. A
value of "%[^>]" would allow you to alter the indentation with
comments, for example with comment %> \begin.
Lines which start with % are not considered at all, regardless of this
value.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/latex.el
(defcustom LaTeX-indent-comment-start-regexp "%"
"Regexp matching comments ending the indent level count.
This means, we just count the LaTeX tokens \\left, \\right, \\begin,
and \\end up to the first occurence of text matching this regexp.
Thus, the default \"%\" stops counting the tokens at a comment. A
value of \"%[^>]\" would allow you to alter the indentation with
comments, for example with comment `%> \\begin'.
Lines which start with `%' are not considered at all, regardless of this
value."
:group 'LaTeX-indentation
:type 'regexp)