I'd like to insert a PDF, but make it "lighter" by setting the opacity to 10% ("background watermark"). How to do that? A solution that works with texlive 2011 would be great.
I use pdflatex and includegraphics to insert the image.
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityYou could use the transparent
package to set the opacity of your background image:
\documentclass{article}
\usepackage{lipsum}
\usepackage{graphicx}
\usepackage{transparent}
\usepackage{eso-pic}
\AddToShipoutPicture*{
\put(0,0){
\parbox[b][\paperheight]{\paperwidth}{%
\vfill
\centering
{\transparent{0.4}\includegraphics[width=0.5\textwidth]{drawing}}%
\vfill
}
}
}
\begin{document}
\lipsum
\end{document}
In case the transparency doesn't work with your image for some reason, you could instead put a semi-transparent white box over your image:
\documentclass{article}
\usepackage{lipsum}
\usepackage{graphicx}
\usepackage{transparent}
\usepackage{eso-pic}
\AddToShipoutPicture*{
\put(0,0){
\parbox[b][\paperheight]{\paperwidth}{%
\vfill
\centering
\includegraphics[width=0.5\textwidth]{drawing}%
\vfill
}
}
\put(0,0){%
\transparent{0.7}\textcolor{white}{\rule{\paperwidth}{\paperheight}}
}
}
\begin{document}
\lipsum
\end{document}
To use transparent
with XeLaTeX, insert
\RequirePackage{pdfmanagement-testphase}
\DeclareDocumentMetadata{}
at the very beginning of the document (before \documentclass
).
See this issue for more details.
tikz-pgf
bundle into my tiny document...\tracingall
the resulting output and see what specials to use :-)