I know this is similar to other questions. Other answers address either:

  1. Adding a transparent image
  2. Centering an image but I cannot find an answer with both.

With previous answers I can successfully make my image transparent OR centered, but not both. I've tried integrating methods for the two with no luck.

Here's the code I'm using on my introduction slide


         \vbox to \paperheight
              {\tikz \node[opacity=0.2] 
                 {\vfil\hbox to \paperwidth
                  \hfil}\vfil} ;  }

Combining the work of Transparent image background in beamer and Image on full slide in beamer package, you can do something like:


\tikz[overlay,remember picture] \node[opacity=0.3, at=(current page.center)] {


Background transparent image, centered on slide


sample output

You have to compile twice to get the image centered.

| improve this answer | |
  • You also need to think of the aspect ratio. – kiss my armpit Apr 12 '13 at 16:06
  • @Karl'sstudents: good point. Back when I was doing a lot of beamer stuff I thought about a macro that would maximize the image size to fit the aspect ratio. But I never got around to it. – Matthew Leingang Apr 12 '13 at 16:33
  • Why do you need the remember picture option? – Herr K. Apr 12 '13 at 16:38
  • @Kevin: the remember picture key is useful when you want to mark a position on the page rather than within the picture. You can see it documented in Section 16.13.2 of the pgf v2.10 manual. – Matthew Leingang Apr 12 '13 at 16:42
  • @MatthewLeingang: I thought overlay is used for that purpose (as I understand it, overlay is like drawing a bounding box of zero dimension, so that the TikZ picture doesn't affect the positioning of other materials on the page). remember picture, according to the manual is used so that you can later on refer to nodes in the current picture. – Herr K. Apr 12 '13 at 16:49

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.