想要章节和子章节页面幻灯片在每个章节的末尾

想要章节和子章节页面幻灯片在每个章节的末尾
\documentclass[xcolor=table,compress,t,fleqn]{beamer}

\makeatletter   % add "\color{blue}" to argument of "\maketag@@@"
\def\tagform@#1{\maketag@@@{\color{strawberry}(\ignorespaces#1\unskip\@@italiccorr)}}
\makeatother

\usefonttheme[onlymath]{serif}
\renewcommand\mathfamilydefault{\rmdefault}
\setlength{\mathindent}{0pt}
\addtobeamertemplate{block begin}{\setlength\abovedisplayskip{0pt}}
% Version for handouts
% \documentclass[handout,red]{beamer}
% \usetheme{Rochester}
% \usepackage{pgfpages}
% \pgfpagesuselayout{4 on 1}[a4paper,border shrink=5mm,landscape]

\mode<presentation>
{
\usetheme{Copenhagen} %\usetheme{Szeged} % \usetheme{Malmoe}  %\usetheme{Berlin} \usetheme{cambridgeUS} % \usetheme{copenhagen} %AnnArbor %Boadilla
\setbeamercolor{structure}{fg=blue!90!black}

\AtBeginSection[]{
    \placelogotrue
  \begin{frame}\frametitle{Next Chapter}
  \vfill
  \centering
  \begin{beamercolorbox}[sep=8pt,center,shadow=true,rounded=true]{title}
    \usebeamerfont{title}\insertsectionhead\par%
  \end{beamercolorbox}
  \vfill
  \end{frame}
}

\begin{document}
\section{Part 2}
\subsection{Part 3}
\begin{frame}\frametitle{Part 1}

\end{frame}
\end{document}

答案1

你需要

  \tableofcontents[sectionstyle=show/hide,subsectionstyle=show/show/hide]

在每个部分的开头。一个完整的例子(我删除了问题中对这里的问题不重要的部分代码):

\documentclass[xcolor=table,compress,t,fleqn]{beamer}
\usefonttheme[onlymath]{serif}

\mode<presentation>
{
\usetheme{Copenhagen}
\setbeamercolor{structure}{fg=blue!90!black}
\AtBeginSection[]{
  \begin{frame}
  \frametitle{\chaptername~\thesection}
  \vfill
  \tableofcontents[sectionstyle=show/hide,subsectionstyle=show/show/hide]
  \vfill
  \end{frame}
  }
}

\begin{document}

\section{Test section one}
\subsection{Test subsection one one}
\begin{frame}
\frametitle{Test}
\end{frame}
\subsection{Test subsection one two}
\begin{frame}
\frametitle{Test}
\end{frame}

\section{Test section two}
\subsection{Test subsection two one}
\begin{frame}
\frametitle{Test}
\end{frame}
\subsection{Test subsection two two}
\begin{frame}
\frametitle{Test}
\end{frame}
\subsection{Test subsection two three}
\begin{frame}
\frametitle{Test}
\end{frame}

\end{document}

第一部分大纲的图片:

在此处输入图片描述

第二部分大纲的图片:

在此处输入图片描述

相关内容