%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++% % This is file xwatermark-guide.cfg, version 1.5.2 % % % % Copyright (c) 2009-2011 Ahmed Musa (amusa22@gmail.com). % %++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++% \ProvidesFile{xwatermark-guide.cfg} [2011/10/20 v1.5.2 Configuration file for xwatermark-guide.tex (AM)] \NeedsTeXFormat{LaTeX2e} \makeatletter \cptloadpackages{% xwatermark|printwatermark; array; colortbl; multido; } %\keepXColumns \providerobustdef*\colorbullet#1{\textcolor{#1}{\textbullet}\sspace} \new@def*\whline{% \noalign{\global\let\savedarw\arrayrulewidth \gdef\arrayrulewidth{1pt}}% \hline \noalign{\global\let\arrayrulewidth\savedarw}% } \newcolumntype{I}{!{\color{red}\vrule width 1pt}} \newcolumntype{W}{>{\hspace{0pt}\arraybackslash}m{\colthree}} \newcolumntype{M}{>{\rightskip-.4cm}m{\dimexpr\coltotal+.5cm}} \amltxoptions{% geometryoptions = {left=3cm,right=3cm,top=2.5cm,% bottom=2.5cm,includeheadfoot}, reviewdocument = false, parindent = false, toc = false, frontpagestyle = empty, pretitleskip = 0ex, posttitleskip = 1ex, presuptitleskip = .17\paperheight,%15ex, postsuptitleskip = 0ex, presubtitleskip = 0ex, postsubtitleskip = 0ex, postauthorskip = 1.5cm, natbiboptions = {numbers,sort&compress}, cmdcolor = xmagenta1, stylecolor = xgreen1, specialcolor = teal, sectionheadcolor = blue } \AfterStartOfDocument{% \let\footnote\ltsfootnote } \robustdef*\otherchars{\quoted{other} characters\sspace} \newdef*\impnote{\emph{Important note}:\space} \let\sectionbreak\medbreak \newletcs\mccolor\makemaccolor \newletcs\pucolor\makepurple \ifamd@subsidfile\else\ltsafterfi \usepackage[persistent,useincluput]{ltxtools-incluput} \fancypagenos[% showonpageone = false, showpagenumbers = true, showheadrule = true, showfootrule = false, yposition = -.44\paperheight, xposition = 0, scale = 1, angle = 0, left-header = {The \textcolor{macrocolor}{xwatermark} package}, style = {\textsc{Page~\thepage~of~\pageref{xwmlastpage}}}, right-header = \ttcl{black}{\today} ] \newwatermark' [page=1,fontfamily=phv,fontsize=11pt,fontseries=m,align=center, coordunit=pc,width=.975\paperwidth,angle=0,scale=1,xpos=-.62,ypos=31.65]{% \xwmcolorbox[framesep=5pt,framerule=2pt,fillcolor=white, outerframecolor=purple,innerframecolor=brown,textalign=justified, width=.975\paperwidth]{% \normalfont\small\color{black}\vspace*{-1ex}% \parbox{.95\paperwidth}{% \begin{center}\colorbullet{red}\hspace{1cm}\licensename\hspace{1cm}% \colorbullet{red}\end{center}\vspace*{1ex}% 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. \CopyrightYear\vspace*{1ex}% }% }% } \def\colorseriescycle{20} \definecolorseries{C}{cmyk}{last}{white}[cmyk]{1,0,0,0} \resetcolorseries[10]{C} \definecolorseries{M}{cmyk}{last}{white}[cmyk]{0,1,0,0} \resetcolorseries[10]{M} \definecolorseries{Y}{cmyk}{last}{white}[cmyk]{0,0,1,0} \resetcolorseries[10]{Y} \definecolorseries{K}{cmyk}{last}{white}[cmyk]{0,0,0,1} \resetcolorseries[10]{K} \definecolorseries{L}{rgb}{step}{yellow!50}[cmyk]{0.1,0.1,0.3} \resetcolorseries[10]{L} \newwatermark'[page=1,coordunit=pc,ypos=25,scale=.5]{% \begingroup \fboxsep=2mm\relax \def\elt#1{% \vbox{% \hbox{% \normalfont \fboxsep=2mm\relax \hfil \detokenize\expandafter {\expandafter0\expandafter.\number#1}% \hfil\vrule height1ex depth.25ex width0pt }% }% }% \multido{\ncolr=0+1}{10}{\colorbox{C!![\ncolr]}{\elt{\ncolr}}}\\ \multido{\ncolr=0+1}{10}{\colorbox{M!![\ncolr]}{\elt{\ncolr}}}\\ \multido{\ncolr=0+1}{10}{\colorbox{Y!![\ncolr]}{\elt{\ncolr}}}\\ \multido{\ncolr=0+1}{10}{\colorbox{K!![\ncolr]}{\elt{\ncolr}}}\\ \multido{\ncolr=0+1}{10}{\colorbox{L!![\ncolr]}{\elt{\ncolr}}}% \endgroup } \newwatermark[page=1,coordunit=pc,ypos=25]{% \begingroup \fboxsep=2mm\relax \@tempcnta\z@pt \cpttfor xwatermark\dofor{% \csn@def{d@\number\@tempcnta}{% \vbox{\hbox to\dimexpr\paperwidth/13\relax {\hfil\detokenize{#1}\hfil \vrule height1.8ex depth.6ex width0pt}% }% }% \advance\@tempcnta\@ne }% \def\elt{\usename{d@\ncolr}}% \multido{\ncolr=0+1}{10}{\colorbox{C!![\ncolr]}{\elt}}\\ \multido{\ncolr=0+1}{10}{\colorbox{M!![\ncolr]}{\elt}}\\ \multido{\ncolr=0+1}{10}{\colorbox{Y!![\ncolr]}{\elt}}\\ \multido{\ncolr=0+1}{10}{\colorbox{K!![\ncolr]}{\elt}}\\ \multido{\ncolr=0+1}{10}{\colorbox{L!![\ncolr]}{\elt}}% \endgroup } \ltsfi \endinput