![如何將 \note[itemize] 用於具有疊加層的框架](https://rvso.com/image/420890/%E5%A6%82%E4%BD%95%E5%B0%87%20%5Cnote%5Bitemize%5D%20%E7%94%A8%E6%96%BC%E5%85%B7%E6%9C%89%E7%96%8A%E5%8A%A0%E5%B1%A4%E7%9A%84%E6%A1%86%E6%9E%B6.png)
我想在框架的每張投影片上新增註釋,我使用 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}