%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%
% This is file 'xwatermark-examples1.tex', version 1.5.2.                    %
%                                                                            %                                                              % This work (ie, all the files in the xwatermark manifest) may be            %
% distributed and/or modified under the conditions of the LaTeX              %
% Project Public License, either version 1.3 of this license or any          %
% later version. The latest version of this license is at                    %
% http://www.latex-project.org/lppl.txt and version 1.3 or later             %
% is part of all distributions of LaTeX version 2005/12/01 or later.         %
%                                                                            %
% The LPPL maintenance status of this software is 'author-maintained'.       %
%                                                                            %
% This software is provided 'as it is', without warranty of any kind,        %
% either expressed or implied, including, but not limited to, the            %
% implied warranties of merchantability and fitness for a particular         %
% purpose.                                                                   %
%                                                                            %
% Copyright (c) 2009-2011 Ahmed Musa (amusa22@gmail.com).                    %
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%

\documentclass[a4paper,10pt,final,showpagenos]{article}
\makeatletter
\InputIfFileExists{xwatermark-examples.cfg}{}{%
  \errmessage{No file xwatermark-examples.cfg or wrong path}}

\xnewwatermark
[pages={\lastdocpage-1}-\lastdocpage,fontfamily=phv,fontsize=11pt,
  fontseries=m,align=center,height=\paperheight,width=\paperheight,
  angle=90,scale=1,xpos=1.15,ypos=0]{\usecsn{watermark-4}}

\xnewwatermark*
[pagex={3,5,7},fontfamily=phv,fontsize=11pt,
  fontseries=m,align=center,height=\paperheight,width=\paperheight,
  angle=0,scale=1,xpos=0,ypos=40]{\usecsn{watermark-7}}

\xnewwatermark
[page=1,fontfamily=phv,fontsize=11pt,
  fontseries=m,align=center,height=\paperwidth,width=\paperheight,
  angle=90,scale=1,xpos=1.15,ypos=0]{\usecsn{watermark-2}}

\xnewwatermark
[page=3,fontfamily=phv,fontsize=11pt,fontseries=m,align=center,
  height=\paperheight,width=.7\paperheight,angle=45,scale=1,xpos=0,
  ypos=0]{\usecsn{watermark-5}}

\xnewwatermark
[evenpages,fontfamily=phv,fontsize=11pt,fontseries=m,align=center,
  height=\paperheight,width=\paperheight,angle=45,scale=1,xpos=1,
  ypos=0]{\usecsn{watermark-3}}

\begin{document}

\title{%
  {\setbox\z@\vbox to.25\paperheight{}\box0}%
  \bfseries The \texttt{\ttcl{blue}{xwatermark}} Package
  \xcopyright{red}\\[1ex]
  \large Version 1.5.2\\[2ex]
  \Large EXAMPLES (File 1)%
}
\author{%
  \textbf{Ahmed Musa}\\Preston, United Kingdom\\
  \email{amusa22@gmail.com}
}
\maketitle

\thispagestyle{empty}

\newpage
\noindent
\ltslipsum[1-3]

\newpage
\ltslipsum[1-4]

\newpage
\ltslipsum[1-4]

\newpage
\ltslipsum[1-4]

\newpage
\ltslipsum[1-4]

\newpage
\ltslipsum[1-4]
\end{document}
