5

In beamer I have a frame that is plain. (I use plain frame to remove the table of contents in header and the footer icons.)

\documentclass{beamer}
\useoutertheme{infolines}
\begin{document}
\begin{frame}[plain]
  \frametitle{Agenda}
  Here we go...
\end{frame}
\end{document}

When I use plain, the page numbering in the footer disappear. How can I show them without removing plain?

  • 1
    Could you provide the community with a minimal working example (MWE) that replicates the current result? Also, where do you want to place the page number if there is no footer? – Werner Nov 23 '15 at 7:23
  • 1
    The easiest solution would be to use the tikzpagenodes package and manually add \tikz[remember picture,overlay]{\node at (current page footer area) {\thepage};} – John Kormylo Nov 23 '15 at 15:32
7

Some possibilities:

  1. Just remove the headline and leave the footline in place.

  2. A layer, which is always present, even on plain frames, are the navigation symbols. If you don't use them, simply replace them by the frame number. But in case you want to keep them, it's also possible to add the framenumber to the existing symbols.


\documentclass{beamer}
\useoutertheme{infolines}
\begin{document}

%Possibility 1
{
\setbeamertemplate{headline}{\vskip-\headheight}
\begin{frame}
  \frametitle{Agenda}
  Here we go...
\end{frame}
}

%Possibility 2
{
\setbeamertemplate{navigation symbols}{\insertframenumber}
\begin{frame}[plain]
  \frametitle{Agenda}
  Here we go...
\end{frame}
}

\end{document}
  • Great! Just a bug: in Possibility 1, there should be no [plain] because that will remove the footer too! – Supernormal Sep 13 '17 at 23:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.