3

I used the wallpaper package to add a background picture to a document site. My code:

\documentclass{scrartcl}
\usepackage{wallpaper}
\begin{document}
  \ThisTileWallPaper{\paperwidth}{\paperheight}{hands}
  \Huge Text!
\end{document}

I wish to make it transparent so the result looks like this. I mean the transparent package with the command {\transparent{0.4}}. How can I do it? Here's the picture:

picture

7

One can also use TikZ. Be sure to run it twice.

\documentclass{scrartcl}
\usepackage{tikz}
\begin{document}
  \begin{tikzpicture}[remember picture, overlay]
  \node[opacity=0.6,inner sep=0pt] at (current page.center)
   {\includegraphics[width=\paperwidth,height=\paperheight]{example-image}};
  \end{tikzpicture}
  \Huge Text!
\end{document}
| improve this answer | |
  • Hello @John Kormylo. Thank you for your nice answer! – Su-47 Oct 12 '17 at 22:47
5

Use eso-pic to insert the picture in the BackGround of the page you're working on. This way you have full control over the way the image is processed, including setting the appropriate transparency level:

enter image description here

\documentclass{article}

\usepackage{eso-pic,graphicx,transparent}

\begin{document}

\AddToShipoutPictureBG*{%
  \AtPageLowerLeft{%
    \transparent{0.4}\includegraphics[width=\paperwidth,height=\paperheight]{hands}%
  }%
}

\Huge Text!

\end{document}
| improve this answer | |
  • 2
    Hello @Werner. Thank you for your answer! I receive your result only if I add braces {} before and behind this line \transparent{0.4}\includegraphics[width=\paperwidth,height=\paperheight]{hands}. – Su-47 Oct 12 '17 at 22:46

Not the answer you're looking for? Browse other questions tagged or ask your own question.