# Different font size/position of beamer's navigation symbols template's content depending on regular/plain frames

Let's suppose I'd like to divert the navigation symbols template (e.g. in order replace them by the frame numbers, see this bug report ;) I would be facing troubles regarding the font size/position, depending on regular/plain frames, as shown by the following MCE.

How could I get rid of these troubles?

\documentclass{beamer}
\usetheme{PaloAlto}
\begin{document}
\begin{frame}
\frametitle{A regular frame}
\end{frame}
\begin{frame}[plain]
\frametitle{A plain frame}
\end{frame}
\end{document}


• I guess the problem is that the navigation symbols are placed above the footline, which is not there on plain frames. Would you be interested in a brute force tikz solution? (the different font size can be avoided by explicitly setting it \tiny\insertframenumber/\inserttotalframenumber) – user36296 Dec 10 '18 at 11:48
• @samcarter I see for the reason. About the brute force solution, why not but I would have expected a not too verbose solution to expose to LaTeX newbies :) About the font size, I already tried this, but noticed \tiny is larger than the font size in regular frames (okay, I could make use of \fontsize{...}{...}\selectfont)). – Denis Bitouzé Dec 10 '18 at 11:55
• I think the reason for the different font size boils down to that if it not explicit set, it uses the font size of whatever element was typeset before and normally that is the footline, but on a plain frame, there is no footline ... – user36296 Dec 10 '18 at 11:56
• I'm not sure I understand your sentence \tiny is larger than the font size in regular frames Could you make an example to show which problem you encounter? – user36296 Dec 10 '18 at 12:06
• Try with \setbeamertemplate{navigation symbols}{\Tiny\insertframenumber/\inserttotalframenumber} (sorry, I confused \tiny with \Tiny) – user36296 Dec 10 '18 at 12:22

The problem is that there is no special font size set in your redefined navigation symbols template. So the fontsize of whatever element was typeset before is used. Normally the footline comes before, but on plain frames there is no footline.

As a workaround you can explicitly set the font size:

\documentclass{beamer}

\begin{document}
\begin{frame}
\frametitle{A regular frame}
\end{frame}

\begin{frame}
\frametitle{A plain frame}
\end{frame}
\end{document}


Brute force solution and total overkill: use tikz and position the pagenumber relative to the page

\documentclass{beamer}
\usetheme{PaloAlto}
\usepackage{tikz}

\begin{tikzpicture}[remember picture, overlay]
\end{tikzpicture}}
\begin{document}
\begin{frame}
\frametitle{A regular frame}
\end{frame}
\begin{frame}[plain]
\frametitle{A plain frame}
\end{frame}
\end{document}


• I guess you meant \tiny instead of \Tiny. – Denis Bitouzé Dec 10 '18 at 13:35
• No, tiny is bigger than Tiny :) (that was the difference to the normal slides yous aw) – user36296 Dec 10 '18 at 13:38
• Another point I'm learning thanks to you: the two extra font sizes \Tiny and \TINY :) – Denis Bitouzé Dec 10 '18 at 14:04