![使用投影機僅顯示目錄中的某些部分](https://rvso.com/image/370293/%E4%BD%BF%E7%94%A8%E6%8A%95%E5%BD%B1%E6%A9%9F%E5%83%85%E9%A1%AF%E7%A4%BA%E7%9B%AE%E9%8C%84%E4%B8%AD%E7%9A%84%E6%9F%90%E4%BA%9B%E9%83%A8%E5%88%86.png)
答案1
\appendix
作為命令的替代方案萊德里斯回答您可以將多餘的幻燈片放在單獨的\part
:
\documentclass{beamer}
\begin{document}
\begin{frame}
\tableofcontents
\end{frame}
\section{main}
\begin{frame}
abc
\end{frame}
\section{more main}
\begin{frame}
abc
\end{frame}
\part{second part}
\section{backup}
\begin{frame}
abc
\end{frame}
\end{document}
答案2
感謝您的解決方案賴德里斯和薩姆卡特。他們倆都像魅力一樣工作!
我還找到了使用該包的另一個解決方案書籤,以防有人想從目錄中隱藏選定的部分(文檔中的任何位置)。這是代碼:
\documentclass{beamer}
\usepackage{bookmark}
\begin{document}
\frame{\frametitle{Table of contents}
\tableofcontents
}
\section{Main Section 1}
\frame{Main Section 1}
\section{Main Section 2}
\frame{Main Section 2}
\section{Main Section 3}
\frame{Main Section 3}
\bookmark[page=5]{Questions Section 1}
\section*{Questions Section 1}
\frame{Questions Section 1}
\bookmark[page=6]{Questions Section 2}
\section*{Questions Section 2}
\frame{Questions Section 2}
\end{document}
答案3
您可以使用\appendix
以下 MWE 中所示的命令:
\documentclass{beamer}
\begin{document}
\begin{frame}
\tableofcontents
\end{frame}
\section{First Section}
\begin{frame}
some text
\end{frame}
\appendix
\section{First Section in Appendix}
\begin{frame}
some additional text
\end{frame}
\end{document}
附錄中的部分在目錄中隱藏,但在 pdf 書籤中列出。