我想逐行更改逐项列表中文本的颜色。这是我使用的代码:
\documentclass{beamer}
\mode<presentation>
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amsthm}
\usepackage{array}
\usepackage{graphicx}
\begin{document}
\begin{frame}[t]
\begin{theorem}
$\sqrt{2}$ is irrational.
\end{theorem}
\begin{block}
\begin{proof}
The proof is by contradiction.\pause
\begin{itemize}
\item \alert {item 1} \pause
\item \alert {item 2} \pause
\item \alert {item 3} \pause {Contradiction.}
\end{itemize}
\end{proof}
\end{block}
\end{frame}
\end{document}
这样会突出显示每一行,但之后会保持突出显示状态。如何让文本恢复到原始颜色,以便只突出显示有问题的行?