| 1 |
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++% |
| 2 |
% This is file 'xwatermark-examples1.tex', version 1.5.2d. % |
| 3 |
% % % This work (ie, all the files in the xwatermark manifest) may be % |
| 4 |
% distributed and/or modified under the conditions of the LaTeX % |
| 5 |
% Project Public License, either version 1.3 of this license or any % |
| 6 |
% later version. The latest version of this license is at % |
| 7 |
% http://www.latex-project.org/lppl.txt and version 1.3 or later % |
| 8 |
% is part of all distributions of LaTeX version 2005/12/01 or later. % |
| 9 |
% % |
| 10 |
% The LPPL maintenance status of this software is 'author-maintained'. % |
| 11 |
% % |
| 12 |
% This software is provided 'as it is', without warranty of any kind, % |
| 13 |
% either expressed or implied, including, but not limited to, the % |
| 14 |
% implied warranties of merchantability and fitness for a particular % |
| 15 |
% purpose. % |
| 16 |
% % |
| 17 |
% Copyright (c) 2009-2012 Ahmed Musa ([email protected]). % |
| 18 |
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++% |
| 19 |
|
| 20 |
\documentclass[a4paper,10pt,final,showpagenos]{article} |
| 21 |
\makeatletter |
| 22 |
\InputIfFileExists{xwatermark-examples.cfg}{}{% |
| 23 |
\errmessage{No file xwatermark-examples.cfg or wrong path}} |
| 24 |
\xnewwatermark[pages={\lastdocpage-1}-\lastdocpage,fontfamily=phv,fontsize=11pt, |
| 25 |
fontseries=m,align=center,height=\paperheight,width=\paperheight, |
| 26 |
angle=90,scale=1,xpos=1.15,ypos=0]{\usecsn{watermark-4}} |
| 27 |
\xnewwatermark*[pagex={3,5,7},fontfamily=phv,fontsize=11pt, |
| 28 |
fontseries=m,align=center,height=\paperheight,width=\paperheight, |
| 29 |
angle=0,scale=1,xpos=0,ypos=40]{\usecsn{watermark-7}} |
| 30 |
\xnewwatermark[page=1,fontfamily=phv,fontsize=11pt, |
| 31 |
fontseries=m,align=center,height=\paperwidth,width=\paperheight, |
| 32 |
angle=90,scale=1,xpos=1.15,ypos=0]{\usecsn{watermark-2}} |
| 33 |
\xnewwatermark[page=3,fontfamily=phv,fontsize=11pt,fontseries=m,align=center, |
| 34 |
height=\paperheight,width=.7\paperheight,angle=45,scale=1,xpos=0, |
| 35 |
ypos=0]{\usecsn{watermark-5}} |
| 36 |
\xnewwatermark[evenpages,fontfamily=phv,fontsize=11pt,fontseries=m,align=center, |
| 37 |
height=\paperheight,width=\paperheight,angle=45,scale=1,xpos=1, |
| 38 |
ypos=0]{\usecsn{watermark-3}} |
| 39 |
|
| 40 |
\begin{document} |
| 41 |
|
| 42 |
\title{% |
| 43 |
{\setbox\z@\vbox to.25\paperheight{}\box0}% |
| 44 |
\bfseries The \texttt{\ttcl{blue}{xwatermark}} Package |
| 45 |
\xcopyright{red}\\[1ex] |
| 46 |
\large Version 1.5.2d\\[2ex] |
| 47 |
\Large EXAMPLES (File 1)% |
| 48 |
} |
| 49 |
\author{% |
| 50 |
\textbf{Ahmed Musa}\\Preston, United Kingdom\\ |
| 51 |
\email{[email protected]} |
| 52 |
} |
| 53 |
\maketitle |
| 54 |
|
| 55 |
\thispagestyle{empty} |
| 56 |
|
| 57 |
\newpage |
| 58 |
\noindent |
| 59 |
\ltslipsum[1-3] |
| 60 |
|
| 61 |
\newpage |
| 62 |
\ltslipsum[1-4] |
| 63 |
|
| 64 |
\newpage |
| 65 |
\ltslipsum[1-4] |
| 66 |
|
| 67 |
\newpage |
| 68 |
\ltslipsum[1-4] |
| 69 |
|
| 70 |
\newpage |
| 71 |
\ltslipsum[1-4] |
| 72 |
|
| 73 |
\newpage |
| 74 |
\ltslipsum[1-4] |
| 75 |
\end{document} |