[AUCTeX-devel] Indent inside \[...\] as in normal environment

2015-03-07 Thread Mosè Giordano
Hi all, the display math command \[...\] is equal to an "equation*" environment (at least when amsmath is loaded), but indentation is treated differently. The attached patch makes AUCTeX indent inside \[...\] as in a normal environment. Comments welcome. Bye, Mosè diff --git a/latex.el b/latex.

Re: [AUCTeX-devel] Indent inside \[...\] as in normal environment

2015-03-09 Thread Tassilo Horn
Mosè Giordano writes: > the display math command \[...\] is equal to an "equation*" > environment (at least when amsmath is loaded), but indentation is > treated differently. The attached patch makes AUCTeX indent inside > \[...\] as in a normal environment. Comments welcome. Sounds sensible t