In some versions of the beamer
class (e. g. the one in TeX Live 2016, v3.36), space with the height of the footline is inserted in the background layer before the background content for plain
frames. However, in newer versions of beamer
(e. g. v3.42 from TeX Live 2017), this doesn’t happen anymore and background content starts at the very top of the frame. I think this may be caused by commit f6e1d8e
in beamer
, so it doesn’t look like there is an easy user-side hook to control this.
As an illustration of the issue, consider the first page of the following minimal document:
\documentclass{beamer}
\setbeamertemplate{headline}{\color{red}\rule{\paperwidth}{1cm}}
\setbeamertemplate{background}{\rule{0.8cm}{7cm}}
\begin{document}
\begin{frame}[plain]
plain frame
\end{frame}
\begin{frame}
normal frame
\end{frame}
\end{document}
My problem is that I provide a beamer theme/template which uses a full-page background image on the title slide, so I’m using a plain
frame as the title slide to hide the other frame parts. However, depending on the beamer
version, the background image may be shifted down by the headline height.
How can I account for this shift depending on the version of beamer
? TeX Live 2016 is pretty recent and I can’t simply tell all my users to upgrade their TeX installations (they may be using an LTS release of a Linux distribution or simply not have administrator privileges on their machines), so I’m looking for a LaTeX solution.