在 beamer 类中创建一个仅带有标题的附录标题框

在 beamer 类中创建一个仅带有标题的附录标题框

我想要一个附录的部分框架,但只有居中的标题,我的正常标题页和所有其他带有作者、标题、日期和幻灯片编号的框架的基线不受影响。

\documentclass{beamer}
\usetheme{Boadilla}
\usecolortheme{default}

% PACKAGES
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{appendixnumberbeamer}

\title{My title}
\subtitle{My subtitle}
\author{My name}
\institute[] {
    My university \\
    My faculty \\
    My institute 
}
\date{31. August 2023}

\begin{document}
\frame{\titlepage}
\AtBeginSection[] {
    \begin{frame}
        \frametitle{Inhalt}
        \tableofcontents[currentsection]
    \end{frame}
}

\section{Section 1}
\begin{frame}{Normal Slide}
Test
\end{frame}

\appendix
% Here should be the titlepage with just "Appenix" on the frame.

\begin{frame}{Appendix frame}
Test
\end{frame}

\end{document}

感谢帮助!

答案1

您可以像这样模仿标题框:

\documentclass{beamer}
\usetheme{Boadilla}
%\usecolortheme{default}

% PACKAGES
%\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
%\usepackage{appendixnumberbeamer}
\setbeamertemplate{page number in head/foot}[totalframenumber]

\title{My title}
\subtitle{My subtitle}
\author{My name}
\institute[] {
    My university \\
    My faculty \\
    My institute 
}
\date{31. August 2023}

\begin{document}
\frame{\titlepage}
\AtBeginSection[] {
    \begin{frame}
        \frametitle{Inhalt}
        \tableofcontents[currentsection]
    \end{frame}
}

\section{Section 1}
\begin{frame}{Normal Slide}
Test
\end{frame}

\appendix
\begin{frame}
\centering
\usebeamerfont{title}
\usebeamercolor[fg]{title}
Appendix % or \appendixname for automatic adjustement to the language
\end{frame}

\begin{frame}{Appendix frame}
Test
\end{frame}

\end{document}

在此处输入图片描述

相关内容