Beamer を使用して目次の一部のセクションのみを表示する

Beamer を使用して目次の一部のセクションのみを表示する

私は、beamer でプレゼンテーションを準備しています。プレゼンテーションするスライドに加えて、質問に備えて追加のスライドをいくつか含めたいと思っています。これらの追加スライドには、セクションとサブセクションを使用して、ブックマークを使用してドキュメント全体をナビゲートできるようにしたいと考えています。ただし、これらのセクションを TOC スライドに表示するのではなく、PDF ビューアのブックマーク ナビゲーション ペインにのみ表示したいです。どうすればいいかご存知ですか?

参考までに、ドキュメントの見た目のイメージを投稿します。 ここに画像の説明を入力してください

答え1

\appendixからのコマンドの代わりとしてleandriis の回答追加のスライドを別の場所に配置することもできます\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

解決策をありがとうございますレアンドリスそしてサムカーターどちらもとても効果的です!

パッケージを使った別の解決策も見つけましたブックマーク選択したセクション(ドキュメント内の任意の場所)を TOC から非表示にしたい場合。コードは次のとおりです。

\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 ブックマークにはリストされます。

関連情報