7

I have included a watermark (using \usepackage{draftwatermark}) for draft copies of my document, several pages of which are inserted from a PDF. The watermark behaves just fine on most pages - the watermark is obscured by text and inline images, as expected/desired - but on the inserted PDF, the watermark obscures the data.

Is this just due to how Latex inserts PDFs? Is there a way to make the inserted PDF show above the draftwatermark?

3

I recommended to use pdftk for such things. If watermark.pdf is the watermark and mydocument.pdf is the (may be LaTeX generated) own document, you can can "watermark" it:

pdftk mydocument.pdf background watermark.pdf output mydocumentdraft.pdf
3

I achieved this by replacing this:

\usepackage{draftwatermark}
\SetWatermarkLightness{0.93}

With this:

\AddToShipoutPicture{%
    \AtTextCenter{%
        \makebox[0pt]{%
            \scalebox{14}{%
                \rotatebox[origin=c]{45}{%
                    \color[gray]{.93}\normalfont DRAFT}}}}}

Which I found on a forum post.

Now the words "DRAFT" appear behind the text in inserted PDF pages, so you can properly read the text of the inserted PDF.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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