TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The first page of articles on the arXiv have a grey watermark on the first page with the information about the file in it. I want to replicate this, in the easiest way possible. Obligatory TikZ solutions welcome (since I already normally have that loaded...

This is the sort of thing I would like to hack together myself, but I just don't know where to start... I tried looking at the source of an arXiv paper, but it seems that the watermark is added by their autoTeX thing, so it doesn't show up in the source file...

The text needs to be vertical, grey, and allowed to contain macros (like \today or \GITHash from the vc bundle.)

Bonus marks for an additional "every page" solution (but my primary aim is first page only). Actually, the ideal would be something that could be added to the page style "plain" so that it appears on the first page of every chapter...

share|improve this question
It would still be interesting (to plain TeX users) to know how arXiv adds the watermark, because they add it even to plain TeX submissions. – Mafra Aug 17 '11 at 10:04
up vote 6 down vote accepted

I suspect that arxiv adds the watermark in postprocessing.

Obligatory TikZ solution:


\tikz[overlay,remember picture]
    \node at ($(current page.west)+(1.5,0)$) [rotate=90] {\Huge\textcolor{gray}{\today}};


You could add that snippet for example to the \chapter command.

share|improve this answer
Your MWE needs a \usepackage{color} doesn't it? – Seamus Dec 19 '10 at 18:19
@Saemus No, that is automatically loaded by tikz. – Caramdir Dec 19 '10 at 20:32
I agree that the watermark is probably added in postprocessing, since even some of the uncompilable sources they provide seem to have it. – Adrian Petrescu Dec 21 '10 at 5:40

You can use the background package to achieve this. The package uses the TikZ positiong system to position an image either on one page or on all the pages (great also if you just need draft to be printed on one or all the pages of a publication).

It uses any valid TikZ positioning command for example:

\SetBgPosition{current page.north}
share|improve this answer

I found an answer of my own that someone emailed me:

       {\Large \textsf{Draft of \today}}}}

I don't understand why this works though... For completeness, I'll add it to the collection.

share|improve this answer
This seems to be similar to @Thorsten's solution. – Caramdir Dec 19 '10 at 20:39
True, I hadn't actually checked the other solutions when I added this... – Seamus Dec 20 '10 at 12:29
And it seems to contradict what you called "the ideal" in your initial post. Apart from the fact that it also doesn't involve »tikZ«. – Thorsten Donig Dec 20 '10 at 18:10

Packages for the job have already been mentioned. You talked about something that only appears on the chapter pages. The code below shows how you could to do that.




% Setup for headers and footers (fancyhdr)



Not a »tikZ« solution though.

share|improve this answer

I also suspect that arxiv adds the watermark in postprocessing. Obligatory TikZ solution: \documentclass{article} \usepackage[english]{babel} \usepackage{blindtext,tikz} \usetikzlibrary{calc} \begin{document} \tikz[overlay,remember picture] { \node at ($(current page.west)+(1.5,0)$) [rotate=90] {\Huge\textcolor{gray}{\today}}; } \blinddocument
\end{document}You could add that snippet for example to the \chapter command

share|improve this answer

Your Answer


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.