summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/catoptions/catoptions-guide.cfg
blob: dddd400303581c7f0a7bc4709d0e423cf8c6d920 (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
\ProvidesFile{catoptions-guide.cfg}%
  [2011/02/06 v0.1 Definitions file for catoptions-guide.tex (AM)]

\usepackage{xwatermark}
\fancypagenos[%
  nopageone       = true,
  showpageno      = true,
  showfootrule    = false,
  ycoord          = -.45\paperheight,
  xcoord          = .4\paperwidth,
  scale           = 1,
  angle           = 45,
  lhead           = {The \textcolor{maccolor}{catoptions} package},
  style           = {Page~\thepage~of~\pageref{xwmlastpage}},
  rhead           = \tcl{black}{\today},
]

\amltxoptions{%
  geometry        = {left=3cm,right=3cm,top=2.5cm,bottom=2.5cm,includeheadfoot},
  review          = false,
  parindent       = false,
  toc             = false,
  frontpagestyle  = empty,
  pretitleskip    = 0ex,
  afttitleskip    = 1ex,
  presuptitleskip = 15ex,
  aftsuptitleskip = 0ex,
  presubtitleskip = 0ex,
  aftsubtitleskip = 0ex,
  natbib          = {numbers,sort&compress},
  cmdcolor        = xmagenta1,
  stycolor        = xgreen1,
  specolor        = teal,
  secheadcolor    = blue
}

\AfterStartOfDocument{\MakeQuoteCommand*_}
\def\otherchars{\quoted{other} characters\sspace}
\newletcs*\sectionbreak\medbreak
\newletcs\mccolor\makemaccolor
\newletcs\pucolor\makepurple
\AtBeginDocument{\redef*\thefootnote{\fnsymbol{footnote}}}

%\dummywatermark
\newwatermark
[page=1,fontfamily=phv,fontsize=11pt,fontseries=m,align=center,
  coordunit=pc,width=\hsize,angle=0,scale=1.8,xcoord=0,ycoord=32.5]
{\fadingtext[textcolor=blue,boxcolor=red,
  scale=1.8,letterwidth=7.8mm,height=1.5ex]{catoptions}\\[1ex]
  \tcl{blue}{\resizebox{.5\width}{!}{Setting up
  {\tt\string\futurelet} characters, restoring catcodes,
  and parsing options}}%
}

%\dummywatermark
\newwatermark
[page=1,fontfamily=phv,fontsize=10pt,fontseries=m,color=black,align=center,
coordunit=pc,width=\hsize,angle=0,scale=1,xcoord=0,ycoord=24]
{%
  \Citation[author={Michael J. Downes, 1958--2003},textcolor=black,leftmargin=0em,
    fonttype=\small]{%
    The \pkgnoidx'{pcatcode} functionality would work best if it were built into the
    \usecsn{latex2e} kernel, but it cannot be usefully added to the kernel now without
    adversely affecting document compatibility across different systems. This package
    therefore modifies one or two of the low-level package-loading functions defined
    by the kernel. Theoretically speaking, the \pkgnoidx'{pcatcode} itself has to guard against the
    kind of catcode problems that it is intended to circumvent. If you would like a
    nice little \tex\unskip nician's exercise, try your hand, before looking at the code of the
    \pkgnoidx'{pcatcode}, at the task that I set for myself: find the minimal set of catcode
    assumptions that one has to make before attempting to establish normalcy, where normalcy is
    defined as the state at the end of the \latex kernel, just before the last
    \hx{\makeatother}. This is the state that may normally be expected at the
    beginning of a \hx{\documentclass} file, if the \latex format file does not
    have any extensions (\eg, \pkgm{babel}) compiled in.
  }%
}

\endinput

%%% End of file catoptions-guide.cfg %%%