[Top][All Lists]

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

Re: [AUCTeX] about auto-indent

From: Ralf Angeli
Subject: Re: [AUCTeX] about auto-indent
Date: Sun, 17 May 2009 08:28:01 +0200

* peng shao (2009-05-17) writes:

> Hi dear all. I am asking a question about auto-indent in Emacs+Auctex.
> It is about the
> environment. For example when I insert an equation environment I receive
> \begin{equation}
>   \label{eq:2}
>   sdfsdfsdfffff
> dsfsdfsdfsdfsdfsdfsdf
> sdfsdfsdf
> \end{equation}
> The "sdf" part is the content I input after the auto-generation of 
> environment.
> You see it loses the auto-indent in the second line. What I really want is
> \begin{equation}
>   \label{eq:2}
>   sdfsdfsdfffff
>   dsfsdfsdfsdfsdfsdfsdf
>   sdfsdfsdf
> \end{equation}

M-x customize-variable <RET> TeX-newline-function <RET>

This is described in the AUCTeX manual.


reply via email to

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