Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm trying to add a watermark to my paper, simply by adding a

 \usepackage{draftwatermark}

But the watermark doesn't appear to be showing up?

On closer inspection, it's there, but offset from the page, so it only just shows in one corner.

Any ideas? I'm using a journal specific style class (MNRAS / mn2e.cls).

A MWE:

\documentclass{mn2e}
\usepackage{draftcopy}
\usepackage{lipsum}

\begin{document}

\lipsum[1-11]

\end{document}

enter image description here

share|improve this question
4  
Can you provide us with a minimal working example, please? –  Vahid Damanafshan Sep 19 '12 at 18:00
1  
I took the liberty of adding a MWE (and an image of the resulting document) illustrating the problem mentioned; I hope it's OK. –  Gonzalo Medina Sep 20 '12 at 3:07
add comment

2 Answers

Figured it out eventually. According to the documentation, draftwatermark

also assumes that \paperwidth and \paperheight are set correctly.

I suspected the journal class file might be doing something weird. Turns out you can enforce the standard page size by including

\usepackage[a4paper]{geometry}

after you set up the document with mn2e.

Here's a fixed MWE, with some draftwatermark options for good measure:

\documentclass{mn2e}

\usepackage[a4paper]{geometry}
\usepackage{draftwatermark}
\SetWatermarkScale{5}
\SetWatermarkLightness{0.9}

\usepackage{lipsum}

\begin{document}
\lipsum[1-11]
\end{document}
share|improve this answer
add comment

or set them explicitly

\usepackage{geometry}
\geometry{height=11truein,width=8.5truein}
\usepackage{draftwatermark}\SetWatermarkText{{\ifnum\value{page}>12 Too long \else\fi}}
share|improve this answer
2  
Welcome to TeX.SX! Could you expand your answer by providing a complete example that users may directly paste and compile? See as example TimS's answer. It also makes clear to new users where your proposed solution has to be put in the document. –  Claudio Fiandrino Feb 28 at 11:15
    
Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. –  Martin Schröder Feb 28 at 11:37
    
Also rewrite your answer: For me it is not immediately clear what you refer to, because on with my setting your answer appears in the moment before the other one. Something like “In addition to answer of TimS. You can also set papersize explicitly …” –  Speravir Feb 28 at 19:35
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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