7

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?

3
  • Try to customize LaTeX-indent-environment-list: M-x customize-variable RET LaTeX-indent-environment-list RET and remove LaTeX-indent-tabular from the tabular-like entries.
    – giordano
    Commented May 2, 2015 at 16:17
  • @giordano It worked. Thanks! Incidentally, I think the new indentation style is an improvement for tabulars with simple entries, but not for tabulars with complex entries. Commented May 2, 2015 at 16:40
  • Thanks for the report. Luckily, I usually have to deal with simple tables ;-)
    – giordano
    Commented May 2, 2015 at 16:52

1 Answer 1

7

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.

2
  • 1
    Oh yes, the new indentation is so painful for complex tabulars Commented 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. Commented Aug 8, 2019 at 14:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .