summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/xwatermark/doc/xwatermark-examples1.tex
blob: 206b5bfdbc0325c07b4a1620e68e0de9d6f1d1ee (plain)
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
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%
% This is file 'xwatermark-examples1.tex', version 1.5.2d.                   %
%                                                                            %                                                              % 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-2012 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.2d\\[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}