summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/xwatermark/xwatermark-guide.cfg
blob: b6f5627ea404a5dbd6ba3a2d7ca18f4fa7e3402b (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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%
% This is file xwatermark-guide.cfg, version 1.5.1                           %
%                                                                            %
% 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)]
\NeedsTeXFormat{LaTeX2e}
\makeatletter
\newprovidedcommands{%
  \newdef\new@def,\renewdef\renew@def,\robustdef\robust@def,
  \providerobustdef\LTS@providerobustdef
}
\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}}%
  \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{%
  geometry-options      = {left=3cm,right=3cm,top=2.5cm,%
                          bottom=2.5cm,includeheadfoot},
  review-document       = false,
  parindent             = false,
  toc                   = false,
  frontpagestyle        = empty,
  pretitleskip          = 0ex,
  posttitleskip         = 1ex,
  presuptitleskip       = .1\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
}
\AfterStartOfDocument{%
  \renewdef*\thefootnote{\fnsymbol{footnote}}%
}
\robustdef*\otherchars{\quoted{other} characters\sspace}
\newdef*\impnote{\emph{Important note}:\space}
\let\sectionbreak\medbreak
\newletcs\mccolor\makemaccolor
\newletcs\pucolor\makepurple

\ifamd@tablefile\else

\usepackage[persistent]{xdocmute}

\fancypagenos[%
  show-on-page-one  = false,
  show-page-numbers = true,
  show-headrule     = true,
  show-footrule     = false,
  y-position        = -.45\paperheight,
  x-position        = 0,
  scale             = 1,
  angle             = 0,
  left-header       = {The \textcolor{maccolor}{xwatermark} package},
  style             = {\textsc{Page~\thepage~of~\pageref{xwmlastpage}}},
  right-header      = \tcl{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.7]{%
  \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}%
    }%
  }%
}
\fi

\endinput