auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing auto-indent behaviour for tabular environments


From: Arash Esbati
Subject: Re: Changing auto-indent behaviour for tabular environments
Date: Thu, 30 Jun 2022 10:17:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50

pglpm@duralexnonlex.org writes:

> PS: You can also turn off this special kind of aligned indentation for
> all LaTeX environments via the customizable variable "Latex Indent
> Environment Check".
>
> Finally, as something more advanced, one could re-define the built-in
> "LaTeX-indent-tabular" function, in such a way that this kind of
> indentation does not take place when some rows are too long. But I
> fear such redefinition could break some things either now or in future
> AUCTeX updates.

Why the hassle?  If you define your own function, just customize the
entry for the environment in question in `LaTeX-indent-environment-list'
to use that function and you're done.

Best, Arash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]