0

I am using beamer and boiboites for the definitions, theorems, …. In each theorem I have several items and use \pause for making the animation. The problem is that the box of the definition, theorem,… only appear at the end and not before the items. Why does it happen? I have tried several ways \onlside<1>, \only<1>, \visible .... no one works.

Sebastiano
  • 54,118
Ana
  • 1

1 Answers1

1

This should work out of the box:

\documentclass{beamer}
\usepackage{amsthm}

\usepackage{xeboiboites}
  \newbreakabletheorem[
    small box style={draw=blue,fill=blue,line width=0.02cm, rounded corners},   
    big box style={fill=white,draw=blue,rounded corners,line width=0.02cm},
    size=1\textwidth, 
    headfont=\bfseries\large\color{white}
  ]{myproblem}{Problem}{myproblem}


\begin{document}

\begin{frame}

\begin{myproblem}
\begin{itemize}
\item test
\pause
\item test2
\end{itemize}
\end{myproblem}

\end{frame}

\end{document}

enter image description here

(had to borrow some code from https://tex.stackexchange.com/a/345713/36296 as this questions did not show how to use xeboiboites)