Hi,

I need help in configuring the LaTeX-fill command. I use the align command of amsmath. I want the \intertext command to come on a new line. For example, LaTeX-fill-buffer command produces the following code:

\documentclass[12pt]{article} \usepackage{amsmath}
\begin{document}
\begin{itemize}
\item The following is an example of a DAE system:
 \begin{align*}
   \frac {dx}{dt} = f(x,y) \intertext{This is a differential equation.
     The following is an algebraic equation:} y = g(x,y)
 \end{align*}
\item DAEs are generally more difficult to solve, compared to ODEs.
\end{itemize}
\end{document}

I want the material in the align environment to be formatted as follows:

 \begin{align*}
   \frac {dx}{dt} = f(x,y)
   \intertext{This is a differential equation.  The following is an
     algebraic equation:}
   y = g(x,y)
 \end{align*}

Is it possible?  Thanks.

Kannan




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

Reply via email to