[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] indentation for tables
From: |
Mosè Giordano |
Subject: |
Re: [AUCTeX] indentation for tables |
Date: |
Sun, 17 Jan 2016 16:01:14 +0100 |
Hi Mandar,
2016-01-17 7:46 GMT+01:00 Mandar Mitra <address@hidden>:
> Hi all,
>
> Has the indentation for tabular environments changed recently? (I'm running
> the git version, last pulled around mid-December).
>
> Earlier, I'm reasonably sure column entries would be aligned as follows:
>
> foo &
> |<- bar is indented from here &
>
> But now, the following happens:
>
> foo &
> |<- bar is indented from here &
>
> Can I configure something to get back the old behaviour? I'd put foo and bar
> on different lines only if they're long entries, so to my mind, this
> indentation defeats the purpose behind putting them on different lines.
The new style of indentation has been introduced in AUCTeX 11.88, so
more than one year ago. To restore the previous indentation, add the
following to your init file:
--8<---------------cut here---------------start------------->8---
(eval-after-load "latex"
'(progn
(add-to-list 'LaTeX-indent-environment-list '("tabular"))
(add-to-list 'LaTeX-indent-environment-list '("tabular*"))))
--8<---------------cut here---------------end--------------->8---
Bye,
Mosè