I need to break a long equation in my beamer presentation. My code is:


\newenvironment{stepitemize}{\begin{itemize}[<+->]}{\end{itemize} }
\newenvironment{stepenumeratewithalert}{\begin{enumerate}[<+-| alert@+>]}{\end{enumerate}}
\newenvironment{stepitemizewithalert}{\begin{itemize}[<+-| alert@+>]}{\end{itemize} }


\item this equation
V_{t}(K_{t},EF_{t}^{(s)})=\max\limits_{\left\{ I_{\tau }\right\} _{\tau
=0}^{\infty }}E\left\{ \sum_{\tau =0}^{\infty }\beta ^{\tau }\left[ \pi
(K_{t+\tau },EF_{t+\tau }^{(r)})-I_{t+\tau }-C(I_{t+\tau },EF_{t+\tau
}^{(s)})\right] |\Omega _{t}^{(r)}\right\} ,  \tag{11}

I tried eqnarray and multline but I always get an error message. Can someone help me.



  • 1
    If you alway get an error message, then why don't you quote that message so we could know as well. In any case forget you ever heard about eqnarray and use align instead
    – daleif
    May 4 '16 at 15:14

This worked great for me:

    V_{t}(K_{t},EF_{t}^{(s)})=&\max\limits_{\left\{ I_{\tau }\right\} _{\tau
        =0}^{\infty }}E\left\{ \sum_{\tau =0}^{\infty }\beta ^{\tau }\left[ \pi
        (K_{t+\tau },EF_{t+\tau }^{(r)})\right.\right.\nonumber\\
        &\left.\left.-I_{t+\tau }-C(I_{t+\tau },EF_{t+\tau
            }^{(s)})\right] |\Omega _{t}^{(r)}\right\} ,  \tag{11}

I had to place some \left. and \right. before and after the linebreak, because braces have to close in the same line they were opened. But in this case you probably should set the size of the braces manually anyway so that the matching braces are of the same size.

The position of the linebreak isn't optimal, you have to figure out how you like it the most.

  • Thank you very much. It works. Now I will refine the points you suggested.
    – Dario
    May 4 '16 at 15:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.