我正在用beamer
andboiboites
來表示定義、定理…。在每個定理中,我都有幾個項目用於\pause
製作動畫。問題是定義、定理……的框只出現在結尾,而不是出現在專案之前。為什麼會發生這種情況?我已經嘗試了多種方法\onlside<1>
,\only<1>
...\visible
沒有一個有效。
答案1
這應該是開箱即用的:
\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}
(不得不借用一些程式碼https://tex.stackexchange.com/a/345713/36296因為這個問題沒有顯示如何使用xeboiboites
)