Beamer:在禁忌的第二张幻灯片中显示一列

Beamer:在禁忌的第二张幻灯片中显示一列

我需要准备一个表格,其中第三行和第六行仅出现在第二张幻灯片中,因为它们的元素是练习的答案。我尝试输入一个将军,\onslide<2->>没有成功。有人能帮我解决这个问题吗?

\documentclass{beamer}
\usepackage{tabu}

\begin{document}
\begin{frame}
\frametitle{Activity}
\begin{center}
\renewcommand{\arraystretch}{1.25}
\begin{tabu} to \linewidth 
 {*{3}{>{\bfseries}X[0.2rm]X[lm$]>{\color{Blue}}X[lm$]}}
% Exercise
1) & 3x + 6 & 3(x+2) & 2) & 5x+15 & 5(x+3) & 3) & 4x+20 & 4(x+5) \cr
\end{tabu}
\end{center}
\end{frame}
\end{document}

答案1

您可以添加\visible想要发现的各个元素:

\documentclass{beamer}
\usepackage{tabu}

\begin{document}
\begin{frame}
\frametitle{Activity}
\begin{center}
\renewcommand{\arraystretch}{1.25}
\begin{tabu} to \linewidth 
 {*{3}{>{\bfseries}X[0.2rm]X[lm$]>{\color{blue}}X[lm$]}}
% Exercise
1) & 3x + 6 & \visible<2->{3(x+2)} & 2) & 5x+15 & \visible<2->{5(x+3)} & 3) & 4x+20 & \visible<2->{4(x+5)} \cr
\end{tabu}
\end{center}
\end{frame}
\end{document}

相关内容