Beamer:同步多个 \pause 实例

Beamer:同步多个 \pause 实例

我有一个投影仪框架,我在图像上绘制“焦点”框,每个框都按顺序显示。但是,我想在图像下有一个列表,其中每个项目都会显示相应的“焦点”框。我该如何实现?

我当前的 tex 文件:

(....)
\begin{tikzpicture}
   \node (schematic) {\includegraphics[width=\textwidth]{imgs/framework_schematic.png}};
   \pause
   \draw[orange,line width=1pt,rounded corners] (-5.5,-2.3) rectangle (-3.2,1.2);
   \pause
   \draw[orange,line width=1pt,rounded corners] (-2.6,-2.6) rectangle (0.2,2.0);
   \pause
   \draw[orange,line width=1pt,rounded corners] (0.8,-1.8) rectangle (3.6,0.9);
\end{tikzpicture}
\begin{itemize}
   \pause
   \item \textbf{Box 1}: description 1;
   \pause
   \item \textbf{Box 2}: description 2;
   \pause
   \item \textbf{Box 3}: description 3;
\end{itemize}
(....)

不起作用,而是先检查箱子,然后再检查列表上的物品。

答案1

您可以简单地手动指示itemize项目应该出现在哪个覆盖层上:

\documentclass{beamer}


\usepackage{tikz}
\begin{document}

\begin{frame}
(....)
\begin{tikzpicture}
   \node (schematic) {\includegraphics[width=.3\textwidth]{example-image}};
   \pause
   \draw[orange,line width=1pt,rounded corners] (-5.5,-2.3) rectangle (-3.2,1.2);
   \pause
   \draw[orange,line width=1pt,rounded corners] (-2.6,-2.6) rectangle (0.2,2.0);
   \pause
   \draw[orange,line width=1pt,rounded corners] (0.8,-1.8) rectangle (3.6,0.9);
\end{tikzpicture}
\begin{itemize}
%   \pause
   \item<2-> \textbf{Box 1}: description 1;
%   \pause
   \item<3-> \textbf{Box 2}: description 2;
%   \pause
   \item<4-> \textbf{Box 3}: description 3;
\end{itemize}
(....)

\end{frame} 

\end{document}

相关内容