* 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.
--
Ralf
_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex