summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pagerange/pagerange-guide.cfg
blob: 959799e6989bdf09134e36a6006423fa256fb67f (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
\ProvidesFile{pagerange-guide.cfg}%
  [2010/02/03 v0.5 Configuration file for pagerange-guide.tex (A.Musa)]
\makeatletter
\usepackage[scaled=0.9]{helvet}
\usepackage{xspace}
\usepackage{xcolor}
\usepackage{shortvrb}
\usepackage{fancyvrb}
\usepackage{parskip}
\usepackage{paralist}
\usepackage{fancyhdr}
\usepackage{tabularx}
\usepackage{ltablex}
\keepXColumns
\usepackage[draft,allpages]{draftmark}
\draftmarksetup{mark={\color{red}\framebox[22.2cm][c]{}\\[15.4cm]
  \color{red}\framebox[22.2cm][c]{}},angle=90,scale=1,
  xcoord=-.2,ycoord=-1.5}
\ifx\pagerange\relax\usepackage[acceptempty]{pagerange}\fi
\ifx\lastpage\relax\usepackage{lastpage}\fi
\usepackage{hyperref}
\hypersetup{colorlinks=true,linkcolor=red,pdfpagemode=UseThumbs,
  implicit=true,breaklinks=true,citecolor=purple,pdfview=FitH,
  pdfstartview=FitH}
\CustomVerbatimEnvironment{pverbatim}{Verbatim}{numbers=left,
  numberblanklines=false,firstnumber=last,frame=single,rulecolor=\color{yellow},
  framerule=2pt,framesep=2pt, fillcolor=\color{magenta},formatcom=\color{blue},
  xrightmargin=-0pc,commandchars=\|\(\),commentchar=\&}
\def\ie{\@ifnextchar.{i.e}{i.e.}\xspace}
\def\eg{\@ifnextchar.{e.g}{e.g.}\xspace}
\def\etc{\@ifnextchar.{etc}{etc.}\xspace}
\providecommand*\email[1]{\href{mailto:#1}{#1}}
\newcommand*\pgtxtt{\fontfamily{txtt}\selectfont\scshape\color{brown}}
\fancyhf{}
\fancyhfoffset[R,L]{\dimexpr\marginparsep+\marginparwidth\relax}
\lhead{\pgtxtt The \texttt{\textcolor{blue}{pagerange}} Package}
\rhead{\pgtxtt Page~\thepage~of~\pageref*{LastPage}}
\renewcommand\headrule{\color{blue}\hrule height1pt width\headwidth\relax
  \vspace{2pt}\hrule height1pt width\headwidth\vspace{-2pt}}
\renewcommand\footrule{\color{blue}\hrule height1pt width\headwidth\relax
  \vspace{2pt}\hrule height1pt width\headwidth\vspace{2pt}}
\date{\textcolor{purple}{\today}\vadjust{\kern1ex\hrule}}
\newcounter{examplecnt}[section]
\newcommand*\pgexample[1]{%
  \refstepcounter{examplecnt}%
  \endgraf\vspace*{0.5\baselineskip}%
  \textbf{\textcolor{purple}{Example~\thesection.\theexamplecnt\enspace}#1}%
  \endgraf\nobreak\@nobreakfalse
}
\providecommand*\space{ }
\definecolor{xgreen}{rgb}{0.00,0.59,0.00}
\@ifdefinable\pgresult{\def\pgresult#1{\textcolor{xgreen}{#1}}}
\newcommand*\La{\leavevmode L\raise.42ex\hbox{\footnotesize\kern-.35em A}}
\newcommand*\TeXorLaTeX{\hbox{(\/\La\kern-.15em\/)\kern-.1em\TeX}}
\newcommand*\texorlatex{\TeXorLaTeX\xspace}

\endinput

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