投影仪中脚注放置问题

投影仪中脚注放置问题

我正在使用该beamer课程进行演示。我的问题是脚注的位置。不幸的是,所有脚注都出现在末尾(演示文稿的最后一张幻灯片)。如何让脚注出现在我使用它们的幻灯片上?

\documentclass{beamer}
\begin{document}
\begin{frame}[allowframebreaks]{}
This is\footnote{The first Footnote} a test.\\
This is\footnote{The second Footnote} a test.\\
This is a test.\\
This is a test.\\
\framebreak
This is a test.\\
\framebreak
This is\footnote{The first Footnote} a test.\\
\end{frame}
\end{document}

答案1

我找到了一条捷径:

使用 Latex 创建完所有幻灯片后,将包含脚注的页面从正文中分离出来(让它们形成一个单独的框架)。例如,运行以下代码。

请注意,以这种方式,如果您\framebreak在某些地方手动插入了 -code,那么您必须\\在所有 -code 之前放置(或一个空行)\framebreak,否则,Latex 会合并一些页面:

\documentclass{beamer}
\usepackage{lipsum}
\title{Title}
\date{2021}
\begin{document}
\begin{frame}[allowframebreaks]{}
\maketitle
\framebreak
This is the first page.\\
\framebreak
This is the second page.\\
\framebreak
\lipsum[1]
\lipsum[1]
\lipsum[1]
\end{frame}
\begin{frame}
This is\footnote{The first Footnote} a test.\\
This is\footnote{The second Footnote} a test.\\
\end{frame}
\begin{frame}[allowframebreaks]{}
This is a test.\\
This is a test.\\
\framebreak
This is a test.
\end{frame}
\begin{frame}
This is\footnote{The third Footnote} a test.\\
\end{frame}
\end{document}

相关内容