0

I'm using the package tcolorbox with the library theorems. I'm having issues with \pause when imbedded within a \tcboxmath: instead of hiding the following part of the frame, it hides only the following part in the box, showing all the rest of the frame after the box.

Below is a mwe. Thanks for your help.

\documentclass{beamer}

\usepackage{tcolorbox}
\tcbuselibrary{theorems}
\begin{document}

\begin{frame}
If I put a pause in a tcboxmath frame like here: $\tcboxmath{\cos(x+\pi) = \pause -\cos(x)}$, this is what happens...
\end{frame}

\end{document}

Output

3
  • What do you expect before pause? half tcbox or "this is what happens" hidden?
    – Ignasi
    Commented Aug 24, 2021 at 9:28
  • I expect "this is what happens" hidden.
    – bordrach
    Commented Aug 25, 2021 at 14:42
  • As I posed below, yes (incredible that we've posted this a exactly the sae time!), even though the answer is quite problematic in my line of work: changing to tcolorbox raises here quite a problem... I haven't figured out why this happens sometimes and not always in tcolorbox enironment. Thanks!
    – bordrach
    Commented Aug 29, 2021 at 9:21

1 Answer 1

0

My problem isn't after all limited to the use of tcboxmath as the same thing happens in some tcolorbox environment - though not all... The problem has actually already been raised here Tabular inside tcolorbox breaks beamer \pause?, and seems to be linked with the use of Tikz. The workaround is to use \only instead of \pause.

Not the answer you're looking for? Browse other questions tagged .