[Tex/LaTex] Beamer – in columns exposing picture in one column before and after text in other column

beamercolumns

I'm doing a presentation in beamer, and I was wondering is it possible to, in two columns, make text first appear in left column, then on the second click I'd get a picture in the right column, and then I'd just continue with the text in the left column?

The way I made it now is, that the picture in the right column will come after the text in the left column:

\begin{frame}
\frametitle{Prva probna valna funkcija}
Varijacionu metodu započinjemo sljedećom probnom valnom funkcijom\pause
\begin{columns}
    \begin{column}{0.5\textwidth}
    \begin{itemize}
    \item\begin{equation*}
    \varphi_1(x)=\left(\frac{b}{\sqrt{\pi}}\right)^{1/2}e^{-\frac{b^2}{2}x^2}
    \end{equation*}
    \pause
    \item Očekivana vrijednost energije\pause
    \begin{equation*}
    E(b)=\langle\varphi_1|\hat{H}|\varphi_1\rangle,
    \end{equation*}
    \end{itemize}
    \end{column}\pause
    \begin{column}{0.5\textwidth}
    \centerline{\includegraphics[width=0.9\textwidth]{valfun1.eps}}
    \end{column}
\end{columns}
\end{frame}

And I'd like it to have the first equation shown first, then the picture on the right, and then some more text on the left…

Thanks for any advice.

Best Answer

You can use \onslide:

\PassOptionsToPackage{demo}{graphicx}
\documentclass{beamer}


\begin{document}

\begin{frame}
\frametitle{Prva probna valna funkcija}
Varijacionu metodu započinjemo sljedećom probnom valnom funkcijom\pause
\begin{columns}
    \begin{column}{0.5\textwidth}
    \begin{itemize}
    \item\onslide<1->{\begin{equation*}
    \varphi_1(x)=\left(\frac{b}{\sqrt{\pi}}\right)^{1/2}e^{-\frac{b^2}{2}x^2}
    \end{equation*}}
    \item\onslide<4>{Očekivana vrijednost energije\pause
    \begin{equation*}
    E(b)=\langle\varphi_1|\hat{H}|\varphi_1\rangle,
    \end{equation*}}
    \end{itemize}
    \end{column}
    \begin{column}{0.5\textwidth}
    \onslide<2->{\centerline{\includegraphics[width=0.9\textwidth]{valfun1.eps}}}
    \end{column}
\end{columns}
\end{frame}

\end{document}

I used the line \PassOptionsToPackage{demo}{graphicx} to make my example compilable for everyone; don't include that line in your actual code.