문제

in LaTeX Beamer, the total number of slides includes those that only contain the table of contents before each section/subsection, which increases the total number of slides unnecessarily. Is there any way to prevent this?

In other words: I don't want slides containing the TOC to have page numbers.

Kind regards, mefiX

도움이 되었습니까?

해결책

Add the line

\addtocounter{framenumber}{-1}

on each frame you wish to exclude from total count.

See also this other Question here on Stackoverflow, which might assist you further.

다른 팁

The frame option noframenumbering will exclude certain frames from increasing the framenumber. I would recommend to use it in combination with the plain option, otherwise it might look that the frames with the toc will show the same frame number as the frame before.

\documentclass{beamer}

\setbeamertemplate{footline}[frame number]

\AtBeginSection[]{%
    \begin{frame}[noframenumbering,plain]
    \tableofcontents[currentsection]
    \end{frame}
}

\begin{document}

\section{title}
\begin{frame}
\end{frame}

\end{document}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top