How do I add watermark into document, but from second page. Or better, from, instance, from second page and to, for instance, 10th page of document?

  • possible duplicate of Watermark on selected pages
    – Null
    Mar 4 '15 at 21:41
  • @Null, superb, but how do I set watermark from 2nd page to LAST page, i.e., how do I get number of pages inside latex doc? Mar 4 '15 at 21:43
  • Are you using the xwatermark package or would you be willing to use another one? Mar 4 '15 at 21:45
  • @Null Unless the OP confirms that he is using xwatermark this could be not a duplicate of the linked question. Mar 4 '15 at 21:46
  • 1
    Closing voters: this is not a duplicate of the linked question; there the problem is specific to xwatermark which is not used by the OP here. Mar 4 '15 at 22:00

Here's one option using the background package; read the package documentation to see all the customization possibilities it offers:


  \backgroundsetup{contents={my text}}



Use the


command in the \else branch to place the desired material, at the desired location, with the specified attributes. enter image description here


Similar to Gonzalo's answer, just using draftwatermark:

enter image description here


  \ifnum\value{page}=1\relax% Nothing on page 1;
  \else DRAFT \fi}




For conditional printing of content, make sure you specify this condition as part of \SetWatermarkText.

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.