13

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?

13

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
  • 3
    Neither of these methods work when using a theme (i.e. Darmstadt, Madrid, Warsaw). – SigmaX May 11 '15 at 15:33

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.