1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%
% This is file 'xwatermark-examples1.tex', version 1.5.1. %
% %
% IMPORTANT NOTICE: %
% This example file is not user compilable! The packages needed %
% to compile the examples are not yet available in the public %
% domain. This does not affect the functions of the %
% xwatermark package. I am sorry, but I can't answer requests for %
% packages not yet released. Users can copy the examples into their %
% own files and compile them, removing all undefined commands. %
% %
% 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.6,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.7,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{\tcl{blue}{xwatermark}} Package
\xcopyright{red}\\[1ex]
\large Version 1.5.1\\[2ex]
\Large EXAMPLES (File 1)%
}
\author{%
\textbf{Ahmed Musa}\\Preston, United Kingdom\\
\email{amusa22@gmail.com}
}
\maketitle
\thispagestyle{empty}
\newpage
\noindent
\lipsum[1-3]
\newpage
\lipsum[1-4]
\newpage
\lipsum[1-4]
\newpage
\lipsum[1-4]
\newpage
\lipsum[1-4]
\newpage
\lipsum[1-4]
\end{document}
|