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.
Asked
Active
Viewed 529 times
0
Sebastiano
- 54,118
Ana
- 1
1 Answers
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}
(had to borrow some code from https://tex.stackexchange.com/a/345713/36296 as this questions did not show how to use xeboiboites)
samcarter_is_at_topanswers.xyz
- 158,329
-
In case this does not work for you, please show us a minimal working example (MWE) – samcarter_is_at_topanswers.xyz Apr 27 '17 at 15:44
-

boiboites? I cannot find such a package on ctan https://www.ctan.org/search/?phrase=boiboites And how is it used? – samcarter_is_at_topanswers.xyz Apr 27 '17 at 11:14xeboiboiteslooks like an alternative totcolorboxbut I am not sure that it provides as many features. – DRi Apr 28 '17 at 07:37