6

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?

  • 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 May 2 '15 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. – Fabio Somenzi May 2 '15 at 16:40
  • Thanks for the report. Luckily, I usually have to deal with simple tables ;-) – giordano May 2 '15 at 16:52
6

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.

  • 1
    Oh yes, the new indentation is so painful for complex tabulars – Vincent Fourmond Sep 18 '16 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. – Christian Herenz Aug 8 at 14:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.