好的,我为即将发表的会议论文演示准备了一些非常漂亮的幻灯片。我使用了幻灯片编号格式SLIDE No./TOTAL SLIDES
。但我在演示结束时(结论幻灯片之后)添加了一些备用幻灯片,以帮助回答潜在的问题。
因此,我希望幻灯片编号在结论幻灯片处停止,因为那些备用幻灯片不是我演讲的一部分。
梅威瑟:
\documentclass{beamer}
\usepackage[utf8]{inputenc}
\usetheme{Madrid}
\usepackage{lipsum}
\title[BAU]
{Here's my paper title}
\author[F.~Author, S.~Author \& L.~Author]
{F.~Author\inst{1} S.~Author\inst{1,}\inst{2} \and L.~ Author\inst{1,}\inst{3}}
\institute[BAU]
{
\inst{1}%
The University
\and
\inst{2}%
Institute ABC
\and
\inst{3}%
Lab XYZ
}
\date[PQR 2021]
{PQR2021 \\September 19-22, 2021
}
\setbeamertemplate{caption}{\raggedright\insertcaption\par}
\begin{document}
\frame{\titlepage}
\begin{frame}{Introduction}
\lipsum[1][1]\par
\lipsum[1][2]\par
\lipsum[1][3]\par
\end{frame}
\begin{frame}[allowframebreaks]{Methodology}
\lipsum[1][4-6]\par
\end{frame}
\begin{frame}[allowframebreaks]{Data Collection}
\lipsum[2-4][12-18]\par
\framebreak
\lipsum[1][4]\par
\lipsum[1][5]\par
\lipsum[1][6]\par
\end{frame}
\section{Conclusion }%
\begin{frame}{Conclusion}
\begin{itemize}
\setlength\itemsep{1em}
\item Some points.
\item More points.
\item Yet even more points.
\end{itemize}
\end{frame}
\begin{frame}[allowframebreaks]{Backup Slide}
\textbf{Figure to ans potential question}
\framebreak
\textit{Table XXX}
\end{frame}
\end{document}
在这种情况下,结论幻灯片编号应该6/6
为6/8
。
答案1
您可以将附加材料(备用幻灯片)放在附录中并添加\setbeamertemplate{page number in head/foot}[appendixframenumber]
序言。然后附录将使用其自己的编号。
\documentclass{beamer}
\usepackage[utf8]{inputenc}
\usetheme{Madrid}
\usepackage{lipsum}
\title[BAU]
{Here's my paper title}
\author[F.~Author, S.~Author \& L.~Author]
{F.~Author\inst{1} S.~Author\inst{1,}\inst{2} \and L.~ Author\inst{1,}\inst{3}}
\institute[BAU]
{
\inst{1}%
The University
\and
\inst{2}%
Institute ABC
\and
\inst{3}%
Lab XYZ
}
\date[PQR 2021]
{PQR2021 \\September 19-22, 2021
}
\setbeamertemplate{caption}{\raggedright\insertcaption\par}
\setbeamertemplate{page number in head/foot}[appendixframenumber]
\begin{document}
\frame{\titlepage}
\begin{frame}{Introduction}
\lipsum[1][1]\par
\lipsum[1][2]\par
\lipsum[1][3]\par
\end{frame}
\begin{frame}[allowframebreaks]{Methodology}
\lipsum[1][4-6]\par
\end{frame}
\begin{frame}[allowframebreaks]{Data Collection}
\lipsum[2-4][12-18]\par
\framebreak
\lipsum[1][4]\par
\lipsum[1][5]\par
\lipsum[1][6]\par
\end{frame}
\section{Conclusion }%
\begin{frame}{Conclusion}
\begin{itemize}
\setlength\itemsep{1em}
\item Some points.
\item More points.
\item Yet even more points.
\end{itemize}
\end{frame}
\appendix
\begin{frame}[allowframebreaks]{Backup Slide}
\textbf{Figure to ans potential question}
\framebreak
\textit{Table XXX}
\end{frame}
\end{document}
答案2
谢谢你的包是我需要的,然后在备份幻灯片之前\usepackage{appendixnumberbeamer}
添加命令。\appendix