19

How to include a background image to only one page, any page, of a beamer presentation?

With reference to Beamer: Transparent AND centered background image on intro slide

How can I include the background to only one page of the beamer presentation?

2

1 Answer 1

17

You can declare the background just before the slide, and un-declare it just after it.:

\documentclass{beamer}
\usepackage{tikz}



\begin{document}

\begin{frame}
Background transparent image, not here
\end{frame}

\usebackgroundtemplate{%             declare it
\tikz[overlay,remember picture] \node[opacity=0.3, at=(current page.center)] {
   \includegraphics[height=\paperheight,width=\paperwidth]{example-image-a}};
}

\begin{frame}
Background transparent image, centered on slide
\end{frame}

\usebackgroundtemplate{ }    %% undeclare it

\begin{frame}
Background transparent image, not here
\end{frame}

\end{document}

enter image description here

You can also use a group on the other hand:

\bgroup
\usebackgroundtemplate{%
\tikz[overlay,remember picture] \node[opacity=0.3, at=(current page.center)] {
   \includegraphics[height=\paperheight,width=\paperwidth]{example-image-a}};
}

\begin{frame}
Background transparent image, centered on slide
\end{frame}

\egroup
2
  • 3
    Neither of these methods work when using a theme (i.e. Darmstadt, Madrid, Warsaw).
    – SigmaX
    May 11, 2015 at 15:33
  • This formulation has no effect whatsoever with TexLive 2022. Jun 23, 2023 at 14:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .