如何將 \note[itemize] 用於具有疊加層的框架

如何將 \note[itemize] 用於具有疊加層的框架

我想在框架的每張投影片上新增註釋,我使用 itemize[<+->] 或 \alert<2> 等覆蓋選項。下面的程式碼使註解出現在最後。在框架內使用 \note{itemize} 會導致錯誤。有什麼建議麼?

\documentclass{beamer}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{pgfpages}
\setbeameroption{show notes on second screen=right} 

\begin{document}

\begin{frame} %\note[itemize] {\item first note for the whole frame \item second note for the whole frame} %%% uncomment for reproducing error
\begin{itemize}[<+->]
\item first item
\item second item
\end{itemize}
\end{frame}\note[itemize] {\item first note for the whole frame \item second note for the whole frame}

\end{document}

答案1

對於框架內的使用,您可以\note[item]{}這樣使用:

\documentclass{beamer}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{pgfpages}
\setbeameroption{show notes on second screen=right} 

\begin{document}

\begin{frame} 
\begin{itemize}[<+->]
\item first item
\item second item
\end{itemize}
\note<1>[item]{first note for the whole frame}
\note<2>[item]{second note for the whole frame}
\end{frame}

\end{document}

相關內容