抑制附录幻灯片中的节计数器

抑制附录幻灯片中的节计数器

我希望在演示文稿结束时有一张参考幻灯片,但该幻灯片既不计入幻灯片计数,也不算作某个部分的一部分(在幻灯片标题中放置一个圆圈)。

不计算幻灯片计数中的参考幻灯片,使用\appendix使用不计算备份幻灯片

但是,标题中仍然有一个填充的圆圈,看起来很糟糕。我该如何删除这个圆圈?解决方案Beamer:删除单个框架上的标题及其空间(用于计划),但保留脚注太强了,因为它还删除了标题的基本样式,而我只想删除部分圆圈。

如果原始标题和章节列表能够保留在附录幻灯片上,我会很高兴;我只是觉得空白标题中的一个随机圆圈看起来很糟糕。

这是我的代码。请注意,我正在使用自定义脚注线。

\documentclass{beamer}

\usetheme{Szeged}
\usepackage{appendixnumberbeamer}
\title{Title}
\author{Author}

%custom footline: adds author name in left, title in middle, pagecount in right
\setbeamertemplate{footline}
{%
  \begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot}
  \end{beamercolorbox}
  \hbox{%
    \begin{beamercolorbox}[wd=0.333333\paperwidth, ht=2.5ex, dp=1.125ex, left]{title in head/foot}%
     \hspace{1em} \usebeamerfont{author in head/foot}\insertshortauthor%~~\beamer@ifempty{\insertshortinstitute}{}{(\insertshortinstitute)}
    \end{beamercolorbox}%
    \begin{beamercolorbox}[wd=0.333333\paperwidth, ht=2.5ex, dp=1.125ex, center]{title in head/foot}%
      \usebeamerfont{title in head/foot}\insertshorttitle
    \end{beamercolorbox}%
    \begin{beamercolorbox}[wd=0.333333\paperwidth, ht=2.5ex, dp=1.125ex, right]{title in head/foot}%
      \usebeamerfont{title in head/foot}\insertframenumber/\inserttotalframenumber\hspace*{1em}
    \end{beamercolorbox}}
  \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
  \end{beamercolorbox}
}

\begin{document}

\section{Section 1}
\begin{frame}{Frame 1}
Some content
\end{frame}

\appendix
\begin{frame}{References}

\end{frame}
\end{document}

答案1

如果您只需要摆脱圆圈,那么快速而又肮脏的方法是取消注释插入它的部分。

\documentclass{beamer}

\usetheme{Szeged}
\usepackage{appendixnumberbeamer}
\title{Title}
\author{Author}

\makeatletter
\newcommand{\plainheadline}
{%
  \begin{beamercolorbox}[colsep=1.5pt]{upper separation line head}
  \end{beamercolorbox}
  \begin{beamercolorbox}{section in head/foot}
    %\vskip2pt\insertnavigation{\paperwidth}\vskip2pt
  \end{beamercolorbox}%
  \ifbeamer@theme@subsection%
    \begin{beamercolorbox}[colsep=1.5pt]{middle separation line head}
    \end{beamercolorbox}
    \begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,%
      leftskip=.3cm,rightskip=.3cm plus1fil]{subsection in head/foot}
      \usebeamerfont{subsection in head/foot}\insertsubsectionhead
    \end{beamercolorbox}%
  \fi%
  \begin{beamercolorbox}[colsep=1.5pt]{lower separation line head}
  \end{beamercolorbox}
}
\makeatother

%custom footline
\setbeamertemplate{footline} % For custom footer. Adds author name in left, title in middle, pagecount in right
{%
  \begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot}
  \end{beamercolorbox}
  \hbox{%
    \begin{beamercolorbox}[wd=0.333333\paperwidth, ht=2.5ex, dp=1.125ex, left]{title in head/foot}%
     \hspace{1em} \usebeamerfont{author in head/foot}\insertshortauthor%~~\beamer@ifempty{\insertshortinstitute}{}{(\insertshortinstitute)}
    \end{beamercolorbox}%
    \begin{beamercolorbox}[wd=0.333333\paperwidth, ht=2.5ex, dp=1.125ex, center]{title in head/foot}%
      \usebeamerfont{title in head/foot}\insertshorttitle
    \end{beamercolorbox}%
    \begin{beamercolorbox}[wd=0.333333\paperwidth, ht=2.5ex, dp=1.125ex, right]{title in head/foot}%
      \usebeamerfont{title in head/foot}\insertframenumber/\inserttotalframenumber\hspace*{1em}
    \end{beamercolorbox}}
  \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
  \end{beamercolorbox}
}

\begin{document}

\section{Section 1}
\begin{frame}{Frame 1}
Some content
\end{frame}

\appendix
\setbeamertemplate{headline}{\plainheadline}
\begin{frame}{References}

\end{frame}
\end{document}

相关内容