I'm creating a draft document template (article). I need the draft watermark on every page except the titlepage, but it's skipping the List of Figures. The problem seems to be coming from the second setcounter, where the number restart in Arabic, because removing that makes the draft show up on the List of Figures. How do I fix it?
\documentclass[printwatermark]{article}
\usepackage{xwatermark}
\usepackage{xcolor}
\usepackage{lipsum}%used to generate false content
\newwatermark[allpages,color=gray!25,angle=45,scale=5,xpos=0,ypos=0]{DRAFT}%determines watermark characteristics
\begin{document}
%starts page numbers at i
\setcounter{page}{1}
\renewcommand{\thepage}{\roman{page}}
NOTICES:\linebreak
\lipsum[1-2]
\newpage
\tableofcontents
\newpage
\listoffigures
\newpage
%starts page numbers at 1
\setcounter{page}{1}
\renewcommand{\thepage}{\arabic{page}}
\section{Demo Section}
\lipsum[1-2]
\subsection{Demo Subsection}
\lipsum[1-2]
\subsubsection{Demo Subsubsection}
\lipsum[1-2]
%includes figure in list of figures
\begin{figure}[h]
\includegraphics[width=.5\linewidth]{PlaceHolder}
\centering
\caption{Demo Graphic}
\label{fig:figure1}
\end{figure}
\end{document}
I've searched through the xwatermark guide, stackexchange, etc, but I can't find anything about the two conflicting.
Best Answer
This is to show you another option with powerful
background
package. Just adding\usepackage{background}
will add the theDraft
text.You can customize the background contents with
\backgroundsetup
contents=
can be anything like atikzpicture
or any picture/text.If you don't want the background for just one page like
title page
, use\NoBgThispage
in that page.