开发者

How do I change the footer/footline of a single frame in Beamer?

开发者 https://www.devze.com 2023-01-04 07:25 出处:网络
So basically I\'ve got something like this at the top of my tex file: \\setbeamertemplate{footline}{Number \\insertframenumber}

So basically I've got something like this at the top of my tex file:

\setbeamertemplate{footline}{Number \insertframenumber}

This applies "Number <#>" to the footer/footline of all frames. Now what I want to do is change the footline for one single frame. Surprisingly, the following doesn't work:

\begin{frame}
    \setbeamertemplate{footline}{New t开发者_运维技巧emplate \insertframenumber}
\end{frame}

How do I achieve changing the footline/footer for one single frame?


Thanks Thomas! For anyone else who might want to get this working, here's a complete example:

\documentclass{beamer}
\setbeamertemplate{footline}{goo \insertframenumber}

\begin{document}
    \begin{frame}[t]{Frame 1}
        A
    \end{frame}

    { % these braces make the change local to the single frame
        \setbeamertemplate{footline}{boo \insertframenumber}
        \begin{frame}[t]{Frame 2}
            B
        \end{frame}
    }

    \begin{frame}[t]{Frame 3}
        C
    \end{frame}
\end{document}
0

精彩评论

暂无评论...
验证码 换一张
取 消