我想隐藏 Beamer 中的某些部分,以便我可以根据不同情况调整演示文稿。
请注意,这\section*
会隐藏目录中的部分,但该部分仍会出现在 PDF 中。
我可以设置<presentation:0>
隐藏特定幻灯片。但是我必须对某个部分的所有幻灯片都执行此操作才能隐藏该部分。有没有相当于<presentation:0>
隐藏整个部分的选项?
平均能量损失
\documentclass[t,aspectratio=169]{beamer} % 12pt, handout
\begin{document}
\begin{frame}
\frametitle{Topic}
\tableofcontents
\end{frame}
\section{Main}
\begin{frame}
\frametitle{Main}
\begin{itemize}
\item Points in the main section
\item This section will always be used
\end{itemize}
\end{frame}
\section{Additional}
\begin{frame}
% \begin{frame}<presentation:0> % I could do this for this slide, but I would have to repeat it for all slides in the section.
\frametitle{Additional}
\begin{itemize}
\item Points in the additional section
\item Can this entire section be made hidden?
\end{itemize}
\end{frame}
\end{document}
谢谢
答案1
您可以\mode<presentation:0>
在部分之前使用来隐藏整个部分并切换回正常内容\mode*
:
\documentclass[t,aspectratio=169]{beamer} % 12pt, handout
\begin{document}
\begin{frame}
\frametitle{Topic}
\tableofcontents
\end{frame}
\section{Main}
\begin{frame}
\frametitle{Main}
\begin{itemize}
\item Points in the main section
\item This section will always be used
\end{itemize}
\end{frame}
\mode<presentation:0>
\section{Additional}
\begin{frame}
\frametitle{Additional}
\begin{itemize}
\item Points in the additional section
\item Can this entire section be made hidden?
\end{itemize}
\end{frame}
\mode*
\begin{frame}
content...
\end{frame}
\end{document}