Beamer 框架有分页符和暂停功能吗?

Beamer 框架有分页符和暂停功能吗?

我有一个 beamer 框架,出于某些原因,我希望它带有allowframebreaks选项(具有框架标题计数器)。我figure在这个框架上有多个定理框和一个 tikZ 图片(在环境中),分布在 2 个页面上。现在到了有趣的部分:我想添加\pause一些内容以一点一点地显示它,但这似乎弄乱了它,我有点理解,因为从技术上讲,它仍然只有一个框架显示在框架中断的多张幻灯片上同时暂停... 有谁有更好的想法如何做到这一点,或者可以告诉我这是否可行?非常感谢 F


\documentclass{beamer}
\usetheme{CambridgeUS}
\usecolortheme{seahorse}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{csquotes}
\usepackage{graphicx}
\usepackage{pgfplots}
\setbeamertemplate{theorems}[ams style]
\begin{document}
\begin{frame}[allowframebreaks]{Theorems}
    \begin{theorem}
        Suppose $|I|\geq3$ and $\Theta$ is \textbf{rich}:\\
        For any $i,~\theta'_i,~\theta_i$, manipulation $\theta'_i$ is an \textbf{OM} for $\theta_i$ under mechanism $\phi\iff$ for any mechanism $\psi$ \textbf{i-undistinguishable} from $\phi,~\theta'_i$ is a \textbf{profitable} manipulation for $\theta_i$
    \end{theorem}
    %\pause
    \begin{figure}
        \centering
        \scalebox{.75}{\input{Plot1.tex}} %see my previous question
        %\caption{}
        %\label{fig:f1}
    \end{figure}
    %\pause
    \begin{theorem}
        Any stable-dominating mechanism is \textbf{not obviously manipulable}
    \end{theorem}
    %\pause
    \begin{theorem}
        Any stable mechanism is individually rational, Pareto efficient, and \textbf{not obviously manipulable}
    \end{theorem}
    %\pause
    \begin{theorem}
        The $(K+1)$-price auction is \textbf{not obviously manipulable}
    \end{theorem}
    %\pause
    \begin{theorem}
        Every efficient, individually rational, and weakly budget balanced mechanism is \textbf{obviously manipulable}
    \end{theorem}
\end{frame}
\end{document}

答案1

引用beamer用户指南中的一段话:

您可以使用该选项allowframebreaks将幻灯片⟨frame text⟩拆分为多张幻灯片,但您不能使用叠加功能。(见第 59 页)

和:

使用此选项是邪恶的。在(好的)演示文稿中,您会仔细准备每张幻灯片,并在将某些内容放在某张幻灯片而不是其他幻灯片之前三思而后行。使用 allowframebreaks 选项会导致创建可怕的、无休止的演示文稿,这些演示文稿更像是“投影在墙上的纸张”,而不是演示文稿。尽管如此,该选项确实有其用途。最明显的是,它可以方便地自动拆分参考书目或长方程式。

因此,我手动将内容分成 3 张幻灯片,如下所示:

\documentclass{beamer}
\usetheme{CambridgeUS}
\usecolortheme{seahorse}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{csquotes}
\usepackage{graphicx}
\usepackage{pgfplots}
\setbeamertemplate{theorems}[ams style]
\begin{document}
\begin{frame}{Theorems I}
    \begin{theorem}
        Suppose $|I|\geq3$ and $\Theta$ is \textbf{rich}:\\
        For any $i,~\theta'_i,~\theta_i$, manipulation $\theta'_i$ is an \textbf{OM} for $\theta_i$ under mechanism $\phi\iff$ for any mechanism $\psi$ \textbf{i-undistinguishable} from $\phi,~\theta'_i$ is a \textbf{profitable} manipulation for $\theta_i$
    \end{theorem}
\end{frame}
\begin{frame}{Theorems II}
    \begin{figure}
        \centering
        \scalebox{.75}{\input{Plot1.tex}} %see my previous question
        %\caption{}
        %\label{fig:f1}
    \end{figure}
\end{frame}
\begin{frame}{Theorem III}
    \begin{theorem}
        Any stable-dominating mechanism is \textbf{not obviously manipulable}
    \end{theorem}
    \pause
    \begin{theorem}
        Any stable mechanism is individually rational, Pareto efficient, and \textbf{not obviously manipulable}
    \end{theorem}
    \pause
    \begin{theorem}
        The $(K+1)$-price auction is \textbf{not obviously manipulable}
    \end{theorem}
    \pause
    \begin{theorem}
        Every efficient, individually rational, and weakly budget balanced mechanism is \textbf{obviously manipulable}
    \end{theorem}
\end{frame}
\end{document}

相关内容