请考虑以下 MWE:
\documentclass{beamer}
\begin{document}
\begin{frame}
\frametitle{Odd-Even Overlay}
\begin{overprint}
\onslide<1,3>
\begin{itemize}
\item Now in the odd ones.
\end{itemize}
\onslide<2,4>
\begin{itemize}
\item Now in the even ones.
\end{itemize}
\end{overprint}
\begin{overprint}
\onslide<+>
\begin{itemize}
\item 1
\end{itemize}
\onslide<+>
\begin{itemize}
\item 2
\end{itemize}
\onslide<+>
\begin{itemize}
\item 3
\end{itemize}
\onslide<+>
\begin{itemize}
\item 4
\end{itemize}
\end{overprint}
\end{frame}
\end{document}
现在,我不想在顶部覆盖层中写\onslide<1,3>
或,而是想写类似或的内容。\onslide<2,4>
\onslide<odd-ones-only>
\onslide<even-ones-only>
我怎样才能做到这一点?