0

I would like to read in a multi-page pdf and then apply a watermark to all of the pages on it.

Here is the LaTeX script I'm using

\documentclass[12pt,twoside]{article} \usepackage[printwatermark]{xwatermark} \usepackage{pdfpages} % Multi-page PDF inclusions % Declare watermark \newwatermark*[allpages,color=red!50,angle=45,scale=3,xpos=0,ypos=0]{My Watermark} \begin{document} \includepdf[pages=-]{MultPageDocument.pdf} \end{document} 

The script above will read in all of the pages of the PDF document, however the watermark will only be applied to the first page.

How can I modify the scrip so that the watermark is applied to all pages?

2
  • You could use hooks to add a watermark, see e.g. tex.stackexchange.com/questions/132582/… Commented Jan 1, 2024 at 21:22
  • do not use the xwatermark package, it loads the catoptions package which is not fully compatible with a current latex. Commented Jan 1, 2024 at 23:30

1 Answer 1

1

Can this help?

\documentclass{article} \usepackage{pdfpages} \usepackage{draftwatermark} \SetWatermarkText{Confidential} \SetWatermarkScale{4} \begin{document} \includepdf[pages=-]{pdffiles/061_00002.pdf} \end{document} 

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.