比默和博伊博伊特

比默和博伊博伊特

我正在用beamerandboiboites來表示定義、定理…。在每個定理中,我都有幾個項目用於\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

相關內容