비머를 사용하여 TOC의 일부 섹션만 표시

비머를 사용하여 TOC의 일부 섹션만 표시

비머에서 프레젠테이션을 준비하고 있습니다. 제가 발표할 슬라이드 외에도 가능한 질문에 대한 몇 가지 추가 슬라이드를 포함하고 싶습니다. 이러한 추가 슬라이드에는 북마크를 사용하여 전체 문서를 탐색할 수 있도록 섹션과 하위 섹션을 사용하고 싶습니다. 그러나 나는 이러한 섹션이 목차 슬라이드에 표시되는 것이 아니라 PDF 뷰어의 책갈피 탐색 창에만 표시되기를 원합니다. 어떻게 할 수 있는지 아시나요?

참고로 문서가 어떻게 생겼으면 좋겠는지에 대한 이미지를 게시하고 있습니다. 여기에 이미지 설명을 입력하세요

답변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 책갈피에는 나열되어 있습니다.

관련 정보