summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/xwatermark/xwatermark-examples2.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/xwatermark/xwatermark-examples2.tex')
-rw-r--r--Master/texmf-dist/doc/latex/xwatermark/xwatermark-examples2.tex21
1 files changed, 10 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/latex/xwatermark/xwatermark-examples2.tex b/Master/texmf-dist/doc/latex/xwatermark/xwatermark-examples2.tex
index d654ee57eea..5e8c9e52ee2 100644
--- a/Master/texmf-dist/doc/latex/xwatermark/xwatermark-examples2.tex
+++ b/Master/texmf-dist/doc/latex/xwatermark/xwatermark-examples2.tex
@@ -1,5 +1,5 @@
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%
-% This is file 'xwatermark-examples2.tex', version 1.5.2. %
+% This is file 'xwatermark-examples2.tex', version 1.5.2a. %
% %
% This work (ie, all the files in the xwatermark manifest) may be %
% distributed and/or modified under the conditions of the LaTeX %
@@ -15,17 +15,16 @@
% implied warranties of merchantability and fitness for a particular %
% purpose. %
% %
-% Copyright (c) 2009-2011 Ahmed Musa (amusa22@gmail.com). %
+% Copyright (c) 2009-2012 Ahmed Musa (amusa22@gmail.com). %
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%
\documentclass[final,showpagenos]{article}
\makeatletter
+
\InputIfFileExists{xwatermark-examples.cfg}{}{%
\errmessage{No file xwatermark-examples.cfg or wrong path}}
\thispagestyle{empty}
-
-%\watermarkpaths*[.](/){{},/Graphics}
\watermarkpaths[.](/){{}{/Graphics}}
\newwatermark*[%
@@ -69,7 +68,7 @@
\newwallpaper*[%
page=4,fontfamily=put,textcolor=violet!70,fontsize=1cm,textscale=1,
textalign=center,textangle=45,picangle=0,tilexoffset=0pt,squaretiles,
- tileyoffset=0pt,picontoptext=false,boxalign=center,%top left,
+ tileyoffset=0pt,picontoptext=false,boxalign=center,%top-left,
picbb=20 21 590 400,picscale=1,picfile=comet1,%tileno=8,
picfileext=epsx
]{Comet}
@@ -77,7 +76,7 @@
\dummywallpaper[%
page=5,fontfamily=put,textcolor=BurntOrange,fontsize=1cm,textscale=2,
textalign=center,textangle=45,picangle=45,squaretiles,tilexoffset=0pt,
- tileyoffset=0pt,picontoptext=false,%boxalign=lt,
+ tileyoffset=0pt,picontoptext=false,%boxalign=l-t,
picbb=115 623 238 747,picscale=2,picfile=xwatermarkpic1,
picfileext=eps
]{YES}
@@ -130,19 +129,19 @@
}%
}
-\begin{newcomment}
+\begin{ltscomment}
The same watermark is placed twice on the same page.
Compare this with one of the examples in xwatermark-examples1.tex:
-\end{newcomment}
+\end{ltscomment}
\usecsn{watermark-2a}{-.428\paperwidth}{90}
\usecsn{watermark-2a}{.428\paperwidth}{-90}
-\begin{newcomment}
+\begin{ltscomment}
Here is an inefficient example. \scalebox and \rotatebox
could have been more efficiently achieved in the following
example:
-\end{newcomment}
+\end{ltscomment}
\newwatermark[page=\lastdocpage,width=\paperheight]{%
\setbox\xwm@boxb=\hb@xt@.9\paperheight{%
\hfuzz\maxdimen\hss
@@ -161,7 +160,7 @@ example:
{\setbox\z@\vbox to.25\paperheight{}\box0}%
\bfseries The \texttt{\ttcl{blue}{xwatermark}} Package
\xcopyright{red}\\[1ex]
- \large Version 1.5.2\\[2ex]
+ \large Version 1.5.2a\\[2ex]
\Large EXAMPLES (File 2)%
}
\author{%