AUCTeX 11.88 introduced a new style of indentation for tabular-like environments. I understand this is implemented in LaTeX-indent-tabular. Is there an easy way to revert to the old style?
1 Answer
You can restore the old behavior by removing LaTeX-indent-tabular
from LaTeX-indent-environment-list
: M-x customize-variable
RET LaTeX-indent-environment-list
RET and remove all LaTeX-indent-tabular
occurrences from tabular-like entries.
-
1Oh yes, the new indentation is so painful for complex tabulars Sep 18, 2016 at 14:48
-
Rather then removing them from the list, there are checkboxes in the customization dialog, so that you can turn them on and off according to the editing task at hand (click Apply after you made your selection). For complex tabulars I usually turn them off, while for simple tabulars I turn them on. Aug 8, 2019 at 14:05
LaTeX-indent-environment-list
:M-x customize-variable RET LaTeX-indent-environment-list RET
and removeLaTeX-indent-tabular
from the tabular-like entries.