On Sun, May 17, 2009 at 6:28 AM, Ralf Angeli <[email protected]> wrote: > * 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 >
Dear Ralf Thank you very much. Sorry for not reading the manual:) Peng _______________________________________________ auctex mailing list [email protected] http://lists.gnu.org/mailman/listinfo/auctex
