Changing background image of LaTeX Beamer

I’ve learned a very nice trick to change the background image of your LaTeX Beamer presentations. First of all I will give an example how to change the background image for all your frames. All you have to do is to put the following code into the preamble of your .tex document:

\usebackgroundtemplate{
\includegraphics[width=\paperwidth,
height=\paperheight]{my_bg_image}
}

Now if you want to change the background only for one specific frame, then you have to create a block and set an image (in this example my_bg_image) as the background of this block and then you can enter the code of your frame, like the following example:

{
\usebackgroundtemplate{\includegraphics[width=\paperwidth]{my_bg_image}}
\begin{frame}
\frametitle{Frame with nice background}
\begin{itemize}
\item 1
\item 2
\item 3
\end{itemize}
\end{frame}
}

That’s all. Now we are able to create some beautiful slides.

About these ads

4 Responses to “Changing background image of LaTeX Beamer”

  1. Yay! This was a big help in setting everything up for my presop!

  2. Fantastic! I had been looking for something like this for a while!

  3. Great comment, thanks!

  4. and what if you want to change the background within a frame (when using overlay) ? For example to complete a picture on the background while you have text on the frame ?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: