diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/xwatermark/xwatermark-guide.cfg')
-rw-r--r-- | Master/texmf-dist/doc/latex/xwatermark/xwatermark-guide.cfg | 116 |
1 files changed, 87 insertions, 29 deletions
diff --git a/Master/texmf-dist/doc/latex/xwatermark/xwatermark-guide.cfg b/Master/texmf-dist/doc/latex/xwatermark/xwatermark-guide.cfg index b6f5627ea40..7fa223561c7 100644 --- a/Master/texmf-dist/doc/latex/xwatermark/xwatermark-guide.cfg +++ b/Master/texmf-dist/doc/latex/xwatermark/xwatermark-guide.cfg @@ -1,19 +1,21 @@ %++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++% -% This is file xwatermark-guide.cfg, version 1.5.1 % +% This is file xwatermark-guide.cfg, version 1.5.2 % % % % Copyright (c) 2009-2011 Ahmed Musa (amusa22@gmail.com). % %++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++% \ProvidesFile{xwatermark-guide.cfg} - [2011/07/30 v1.5.1 Configuration file for xwatermark-guide.tex (AM)] + [2011/10/20 v1.5.2 Configuration file for xwatermark-guide.tex (AM)] \NeedsTeXFormat{LaTeX2e} \makeatletter -\newprovidedcommands{% - \newdef\new@def,\renewdef\renew@def,\robustdef\robust@def, - \providerobustdef\LTS@providerobustdef +\cptloadpackages{% + xwatermark|printwatermark; + array; + colortbl; + multido; } +%\keepXColumns \providerobustdef*\colorbullet#1{\textcolor{#1}{\textbullet}\sspace} -\newvariables{dimen}[col]{one,two,three,total}[\z@pt] \new@def*\whline{% \noalign{\global\let\savedarw\arrayrulewidth \gdef\arrayrulewidth{1pt}}% @@ -25,27 +27,27 @@ \newcolumntype{M}{>{\rightskip-.4cm}m{\dimexpr\coltotal+.5cm}} \amltxoptions{% - geometry-options = {left=3cm,right=3cm,top=2.5cm,% + geometryoptions = {left=3cm,right=3cm,top=2.5cm,% bottom=2.5cm,includeheadfoot}, - review-document = false, + reviewdocument = false, parindent = false, toc = false, frontpagestyle = empty, pretitleskip = 0ex, posttitleskip = 1ex, - presuptitleskip = .1\paperheight,%15ex, + presuptitleskip = .17\paperheight,%15ex, postsuptitleskip = 0ex, presubtitleskip = 0ex, postsubtitleskip = 0ex, - postauthorskip = 3cm, - natbib-options = {numbers,sort&compress}, - command-color = xmagenta1, - style-color = xgreen1, - special-color = teal, - section-head-color = blue + postauthorskip = 1.5cm, + natbiboptions = {numbers,sort&compress}, + cmdcolor = xmagenta1, + stylecolor = xgreen1, + specialcolor = teal, + sectionheadcolor = blue } \AfterStartOfDocument{% - \renewdef*\thefootnote{\fnsymbol{footnote}}% + \let\footnote\ltsfootnote } \robustdef*\otherchars{\quoted{other} characters\sspace} \newdef*\impnote{\emph{Important note}:\space} @@ -53,27 +55,27 @@ \newletcs\mccolor\makemaccolor \newletcs\pucolor\makepurple -\ifamd@tablefile\else +\ifamd@subsidfile\else\ltsafterfi -\usepackage[persistent]{xdocmute} +\usepackage[persistent,useincluput]{ltxtools-incluput} \fancypagenos[% - show-on-page-one = false, - show-page-numbers = true, - show-headrule = true, - show-footrule = false, - y-position = -.45\paperheight, - x-position = 0, + showonpageone = false, + showpagenumbers = true, + showheadrule = true, + showfootrule = false, + yposition = -.44\paperheight, + xposition = 0, scale = 1, angle = 0, - left-header = {The \textcolor{maccolor}{xwatermark} package}, + left-header = {The \textcolor{macrocolor}{xwatermark} package}, style = {\textsc{Page~\thepage~of~\pageref{xwmlastpage}}}, - right-header = \tcl{black}{\today} + right-header = \ttcl{black}{\today} ] -\newwatermark +\newwatermark' [page=1,fontfamily=phv,fontsize=11pt,fontseries=m,align=center, - coordunit=pc,width=.975\paperwidth,angle=0,scale=1,xpos=-.62,ypos=31.7]{% + 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]{% @@ -90,6 +92,62 @@ }% }% } -\fi + +\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 |