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}

Such kind of auto-indent is more convenient for me since I may recognize that
these contents are in an environment, and it is more helpful if you are in a
combination of two environments. such as

\begin{equation}
  \label{eq:2}
  sdfsdfsdfsdfsdfsdf
     \begin{split}
         sdfsdfsdfsdsds
         sdfsdfsdfsdfds
    \end{split}
  sdfsdsdfsddffsdffsdf
\end{equation}

Thank you very much for your concern.


Peng


_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to