2

When I use \pause in \[ \] formula in the theorem environment, I get an unexpected extra space below the formula; see Theorem: Pause (formula). Now I remove it using \vspace{-0.60}cm, as in Theorem: Pause and Negative VSpace.

How to remove it without using \vspace?

\documentclass[beamer]{standalone}
\usetheme{CambridgeUS}

\begin{document}
\begin{frame}
  \begin{theorem}[No Pause]
    \[
      a + b = c
    \]
  \end{theorem}

  \begin{theorem}[Pause (formula)]
    \[
      a + b = \pause c
    \]
  \end{theorem}

  \begin{theorem}[Pause and Negative VSpace]
    \[
      a + b = \pause c
    \]
    \vspace{-0.60cm}
  \end{theorem}

  \begin{theorem}[Pause (text)]
    a + b = \pause c
  \end{theorem}
\end{frame}
\end{document}

beamer-pause-space

3

I haven't traced fully and I'm not sure it's completely robust in all cases but you can keep the pause mechanics within the formula, so avoid starting a line after the display, by adding a group

enter image description here

\documentclass[beamer]{standalone}
\usetheme{CambridgeUS}

\begin{document}
\begin{frame}
  \begin{theorem}[No Pause]
    \[
      a + b = c
    \]
  \end{theorem}

  \begin{theorem}[Pause (formula)]
    \[
      {a + b = \pause c}
    \]
  \end{theorem}

  \begin{theorem}[Pause and Negative VSpace]
    \[
      a + b = \pause c
    \]
    \vspace{-0.60cm}
  \end{theorem}

  \begin{theorem}[Pause (text)]
    a + b = \pause c
  \end{theorem}
\end{frame}
\end{document}
  • +1 Writing {\pause} also works and doesn't freeze the spacing in the formula. – Andrew Swann Apr 8 at 7:40

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.