0

I want to have a frame background image in beamer that has opacity. I am using the following code:

\documentclass[aspectratio=169]{beamer} \usepackage{graphicx} \usepackage{tikz} \begin{document} % Define the background image and its transparency \newcommand\BackgroundPic{ \begin{tikzpicture}[remember picture,overlay] \node[opacity=0.1, at=(current page.center)] { \includegraphics[width=\paperwidth, height=\paperheight]{vangoghwaves.tiff} }; \end{tikzpicture} } \begin{frame} \BackgroundPic \frametitle{Your Slide Title} Your content goes here. \end{frame} \end{document} 

But the image opacity does not change. I have also tried:

\usebackgroundtemplate{% \tikz\node[opacity=0.3] {\includegraphics[height=\paperheight,width=\paperwidth]{vangoghwaves.tiff}};} 

in the preamble and various others, but it simply remains stubbornly opaque.

Any suggestions welcome. I am using Texifier (which is up to date), and have also tried various different typesetting options to no avail.

Added a screenshot here:

enter image description here

8
  • 2
    Since when have LaTeX had support for tiff files? Does this even compile without error? Commented Aug 13, 2024 at 9:24
  • 3
    If I change your image to \includegraphics[width=\paperwidth, height=\paperheight]{example-image} then it works just fine, and the is a clear difference when you change the opacity. Commented Aug 13, 2024 at 9:25
  • 1
    Unrelated: you don't need \usepackage{graphicx}, beamer already loads it. Commented Aug 13, 2024 at 9:34
  • @daleif - thank you, but it still doesn't work for me. No error for the tiff file - but I also have it as a jpg and that still doesn't work. Commented Aug 13, 2024 at 9:52
  • 2
    Please specify which engine you use (pdflatex, xelatex, lualatex). Which reviewer are you using? Does it support opacity? Commented Aug 13, 2024 at 10:04

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.