TeX - LaTeX Asked on September 25, 2021
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:
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}
Correct answer by John Kormylo on September 25, 2021
Use eso-pic
to insert the picture in the B
ackG
round 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:
documentclass{article}
usepackage{eso-pic,graphicx,transparent}
begin{document}
AddToShipoutPictureBG*{%
AtPageLowerLeft{%
transparent{0.4}includegraphics[width=paperwidth,height=paperheight]{hands}%
}%
}
Huge Text!
end{document}
Answered by Werner on September 25, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP