auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Re: indentation in equation environment


From: Ralf Angeli
Subject: Re: [AUCTeX] Re: indentation in equation environment
Date: Sat, 13 Jan 2007 16:14:11 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux)

* Sebastian P. Luque (2007-01-13) writes:

> On Sat, 13 Jan 2007 13:42:01 +0100,
> Ralf Angeli <address@hidden> wrote:
>
>> * Sebastian P. Luque (2007-01-12) writes:
>>> Whenever line breaks are introduced to make it easier to read the LaTeX
>>> in an equation environment, the closing statement gets an awkward
>>> indentation.
>
>> What's the output of `C-h v TeX-newline-function RET'?
>
> It says:
>
> ,-----[ C-h v TeX-newline-function RET ]
> | TeX-newline-function is a variable defined in 
> `/usr/share/emacs-snapshot/site-lisp/auctex/tex.elc'.
> | Its value is 
> | reindent-then-newline-and-indent

That means you've customized it to perform an indent after typing
<RET>.  Indentation in equation environments is not supported very
well.  So your options are to either reset `TeX-newline-function' to
its default value or to customize `LaTeX-indent-environment-list' and
inhibit indentation in equation environments completely.  Use the
verbatim environments shown in the variable as an example.

-- 
Ralf




reply via email to

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