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?

Echeban
  • 605
  • 1
  • 5
  • 14

1 Answers1

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