%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++% % This is file xwatermark-examples.cfg, version 1.5.2a % % % % Copyright (c) 2009-2012 Ahmed2Musa (a.musa@rocketmail.com). % %++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++% \ProvidesFile{xwatermark-examples.cfg} [2012/02/01 v1.5.2a Configuration file for xwatermark-examples.tex (AM)] \NeedsTeXFormat{LaTeX2e} \makeatletter \@ifundefined{ver@ltxtools-base1.sty}{% \csname @\ifx\documentclass\@twoclasseserror first\else second\fi oftwo\endcsname \usepackage\RequirePackage{ltxtools-base1}% }{} \AtBeginDocument{\hypersetup{pdfstartview=Fit,colorlinks}} \ltsloadpackages{% xcolor|dvipsnames,table,hyperref; geometry|left=3cm,right=3cm,top=2.5cm,bottom=2.5cm,includeheadfoot; lipsum; amsmath; amssymb; ltxtools-doc; xwatermark|printwatermark; hyperref|verbose=false,pdfpagemode=UseThumbs, pdfview=FitB,pdfstartview=FitB; } \WrapQuotes \new@def\hspce{\hspace{1cm}} \nameabbrev\lppl{\LaTeX\ Project Public License}[LPPL] \providerobust@def*\eg{% \ifnextcharTF.{e.\,g\sspace}{e.\,g.\@\sspace}% } \providerobust@def*\ie{% \ifnextcharTF.{i.\,e\sspace}{i.\,e.\@\sspace}% } \shelllet\ttcl=\textcolor \providerobust@def*\xcopyright#1{% \unskip\ttcl{#1}{\textsuperscript{\copyright}}% } \robust@def*\xxcopyright{% \mbox{\textcopyright~\lower.7\p@\hbox{\uppercase \expandafter{\romannumeral\year}}}\sspace } \robust@def*\colorbullet#1{\ttcl{#1}{\textbullet}\sspace} \providerobust@def*\pkg{% \ifnextcharTF'% {\@firstoftwo{\def\xwm@pkgsw{00}\xwm@pkg}} {\def\xwm@pkgsw{01}\xwm@pkg}% } \robust@def*\xwm@pkg#1{% \def\do##1{\ttcl{ForestGreen}{\texttt{##1}}}% \ltsprintcommalist{#1}\do \if\xwm@pkgsw\@space package\ifnum\maxindrisnr>\@ne s\fi\fi } \providerobust@def*\email{\hyper@normalise\xwm@email} \robust@def*\xwm@email#1{\href{mailto:#1}{#1}} \AfterStartOfDocument{% \def\thefootnote{\fnsymbol{footnote}}% } \fancypagenos[ showonpageone = false, coordunit = pc, showheadrule = false, showfootrule = false, x-position = 0, y-position = -.5\textwidth, scale = 2.5, angle = 0, hfoffset-left = .9, hfoffset-right = .9, style = Page \thepage~of~\lastdocpage, header-left = \ttcl{blue}{\today}, header-right = Ahmed Musa, footer-center = \pkg'{xwatermark}, header-center = \textsf{\ttcl{purple}{Demonstration document}} ] \renewcommand\textfraction{0.05} \renewcommand\topfraction{0.95} \renewcommand\bottomfraction{0.95} \abovedisplayskip=6pt plus3pt minus1pt \belowdisplayskip=6pt plus3pt minus1pt \abovedisplayshortskip=0pt plus3pt minus0pt \belowdisplayshortskip=4pt plus3pt minus0pt \belowcaptionskip=6pt plus3pt minus1pt \abovecaptionskip=6pt plus3pt minus1pt \setcounter{totalnumber}{5} \csn@def{watermark-2}{% % The macro \aaa below is an unlikely example definition, % but it provides a test of xwatermark schemes: \def\aaa##1{##1}% \xwmcolorbox[fillcolor=gray!55,width=.982\paperheight, textalign=center,framesep=5pt,framerule=2pt, outerframecolor=blue,innerframecolor=white]{% \color{white}\framebox[2cm][c]{\phantom{Hello}}% \hspce\color{black}\ttcl{red}{\textbullet}% \hspce The marks on these pages were placed effortlessly by using the \pkg'{xwatermark} \hspce\ttcl{red}{\textbullet}\hspce\color{white}% \framebox[2cm][c]{\phantom{Hello}}% \rotatebox[origin=c]{90}{\makebox[1.4cm][c]{\phantom{Hello}}}% }\\[0cm]% \rotatebox[origin=c]{-90}{\raisebox{-13.55cm}[0cm][0cm]{% \hspace*{-.1mm}% \xwmcolorbox[framesep=5pt,framerule=2pt,fillcolor=yellow!75, outerframecolor=ForestGreen,innerframecolor=white, textalign=center,width=.715\paperwidth]{% \color{white}\framebox[2cm][c]{\phantom{Hello}}\hspce \color{black}\ttcl{red}{\textbullet}% \hspce Page~\thepage~of~\pageref*{xwmlastpage}\hspce \ttcl{red}{\textbullet}\hspce \color{white}\framebox[2cm][c]{\phantom{Hello}}% \rotatebox[origin=c]{90}{\makebox[1.4cm][c]{\phantom{Hello}}}% }}}\\[0cm]% \rotatebox[origin=c]{-90}{\raisebox{12.35cm}[0cm][0cm] {\makebox[0cm][r]{% \xwmcolorbox[framesep=5pt,framerule=2pt,fillcolor=yellow!55, outerframecolor=ForestGreen,innerframecolor=white, textalign=justified,width=.715\paperwidth]{% \normalfont\small\color{blue}\vspace*{-1ex}% \begin{center}\colorbullet{red}\hspace{.25cm}% \ttcl{Purple}{LICENSE}% \hspace{.25cm}\colorbullet{red}\end{center}\relax This work (\ie, all the files in the \pkg'{xwatermark} manifest) may be distributed and/or modified under the conditions of the \lppl, either version~1.3 of this license or any later version. The \lppl maintenance status of this software is \quoted{author-maintained}. This software is provided \quoted{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. }}}}\\[0cm]% \xwmcolorbox[framesep=5pt,framerule=2pt,fillcolor=gray!55, outerframecolor=blue,innerframecolor=white, textalign=center,width=.982\paperheight]{% \color{white}\framebox[2cm][c]{\phantom{Hello}}% \hspce\color{black}\ttcl{red}{\textbullet}% \hspace{4.3cm}User manual for the \pkg'{xwatermark} \hspace{4.3cm}\ttcl{red}{\textbullet}\hspce \color{white}\framebox[2cm][c]{\phantom{Hello}}% \rotatebox[origin=c]{90}{\makebox[1.4cm][c] {\phantom{Hello}}}% }% } \newcommand*\scaleb[1]{\scalebox{2.5}{#1}} \newcommand*\tmptexbox{% \fboxrule4pt\fbox{\scaleb\TeX}\\[0ex]\fbox{\scaleb\LaTeX}% } \csn@def{watermark-3}{% \xwmcolorbox[width=.8\paperwidth,framerule=4pt,framebox, framesep=4pt,innerframecolor=Green,outerframecolor=blue]{% \xwmminipage[width=.7\paperwidth,textalign=left, framerule=4pt,framecolor=magenta,textcolor=red,framebox] {\tmptexbox}\\[0ex]% \xwmminipage[width=.7\paperwidth,textalign=center, textcolor=blue,framerule=4pt,framecolor=black,framebox] {\tmptexbox}\\[0ex]% \xwmminipage[width=.7\paperwidth,textalign=right, framecolor=ProcessBlue,textcolor=orange,framerule=4pt, framebox]{\tmptexbox}% }% } \csn@def{watermark-4}{% \xwmcolorbox[fillcolor=teal,width=.983\paperheight, textalign=center,framesep=5pt,framerule=2pt, outerframecolor=purple,innerframecolor=magenta]{% \color{white}\framebox[2cm][t]{\phantom{Hello}}% \hspce\color{orange!85!red!55}% \ttcl{red}{$\blacktriangleright$}\hspce The~ \texttt{\ttcl{white}{xwatermark}}~ package\hspce\ttcl{red}{$\blacktriangleleft$}% \hspce\color{white}\framebox[2cm][t]{\phantom{Hello}}% \rotatebox[origin=c]{90}{\makebox[1.4cm][c]{\phantom{Hello}}}% }\\[0cm]% \rotatebox[origin=c]{-90}{\raisebox{-13.7cm}[0cm][0cm]{% \hspace*{-.1mm}% \xwmcolorbox[framesep=5pt,framerule=2pt, fillcolor=green!75!blue!50,outerframecolor=brown, innerframecolor=white,textalign=center,width=.713\paperwidth, textcolor=white]{a.musa@rocketmail.com}}% }\\[0cm]% \rotatebox[origin=c]{-90}{\raisebox{13.5cm}[0cm][0cm]{% \makebox[0cm][r]{% \xwmcolorbox[framesep=5pt,framerule=2pt, fillcolor=green!75!blue!50,outerframecolor=brown, innerframecolor=white,textalign=center,width=.713\paperwidth, textcolor=white]{\xxcopyright Ahmed Musa}% }}}\\[0cm]% \xwmcolorbox[framesep=5pt,framerule=2pt,fillcolor=teal, outerframecolor=purple,innerframecolor=magenta,textalign=center, width=.983\paperheight]{\color{white}\framebox[2cm][t] {\phantom{Hello}}\hspce\color{orange!85!red!55}% \ttcl{red}{$\blacktriangleright$}\hspace{2.1cm}% Page~\thepage~of~\pageref*{xwmlastpage}% \hspace{2cm}\ttcl{red}{$\blacktriangleleft$}\hspce \color{white}\framebox[2.1cm][t]{\phantom{Hello}}% \rotatebox[origin=c]{90}{\makebox[1.4cm][c]{\phantom{Hello}}}% }% } \csn@def{watermark-5}{% \xwmcolorbox[framesep=5pt,framerule=4pt,innerframecolor=green, outerframecolor=red,textalign=center,width=.7\paperheight, textcolor=blue]{\scalebox{5}{Hello world,}}\\[.25ex]% \xwmcolorbox[framesep=5pt,framerule=4pt,innerframecolor=white, outerframecolor=blue,fillcolor=brown!55,textalign=center, width=.7\paperheight,textcolor=red]{\scalebox{5}{We're here!}}% } \csn@def{watermark-6}{% \xwmminipage[width=\hsize,framerule=2pt,framebox,framecolor=green, height=2cm,depth=2cm]{% \xwmminipage[width=\hsize,textalign=center,textcolor=magenta, framebox]{\fbox{\TeX}\\[0ex]\fbox{\LaTeX}}% }% } \csn@def{watermark-7}{% \begin{center}% \color{Yellow}% \fboxrule4\p@ \centering\fbox{% \begin{minipage}[c]{\textwidth}% \xwmstrut{2cm}\z@ \color{ProcessBlue}\centering \fboxrule3\p@\vss \fbox{% \begin{minipage}[c]{.5\hsize}% \xwmstrut{1.3cm}\z@ \fboxrule4\p@\vss \centering\color{LimeGreen}% \fbox{\ttcl{red}{\scalebox{2}{xwatermark}}}% \xwmstrut\z@{1cm}% \end{minipage}% }% \xwmstrut\z@{2cm}% \end{minipage}% } \end{center}% } \endinput