4

The following MWE does not print frame numbers with MacTeX 2017 (beamer v3.50, LuaTeX 1.0.4):

\documentclass{beamer}
\usetheme{PaloAlto}
%\beamertemplatenavigationsymbolsempty
\setbeamertemplate{footline}[frame number]
%\setbeamertemplate{page number in head/foot}[framenumber]

\begin{document}
\begin{frame}
  \frametitle{Test}
  Bar
\end{frame}
\end{document}

beamer v3.50

But it works with TeXLive 2016 (beamer v3.41, LuaTeX 0.95.0):

beamer v3.41

Using setbeamertemplate{page number in head/foot}[framenumber] instead of \setbeamertemplate{footline}[frame number] does not help. How can I fix it?

6

This change in behaviour was my fault - the problem had been fixed in commit 04b2516 and will probably be included in beamer versions >= 3.51.

Until this version is available from CTAN, place the following files in your working folder:

For now a quick workaround:

\documentclass{beamer}
\usetheme{PaloAlto}
%\beamertemplatenavigationsymbolsempty
\setbeamertemplate{footline}[frame number]
%\setbeamertemplate{page number in head/foot}[framenumber]

\setbeamercolor{page number in head/foot}{fg=black}

\begin{document}
\begin{frame}
  \frametitle{Test}
  Bar
\end{frame}
\end{document}

Alternative approach:

In case you don't need the navigation symbols, you could also display the framenumber there. This has the additional advantage, that the sidebar will go all the way to the bottom of the frame.

\documentclass{beamer}

\usetheme{PaloAlto}

\setbeamertemplate{navigation symbols}{\tiny\insertframenumber}


\begin{document}
\begin{frame}
  \frametitle{Test}
  Bar
\end{frame}
\end{document}
  • Thank you very much! I go for the alternative approach since it fixes the short sidebar that necessitates another workaround. – typokurz May 17 '18 at 14:45

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.