summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pagerange/pagerange-guide.cfg
blob: 623df949a112d9ef6c8ae917495fe29b690a3d85 (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
\ProvidesFile{pagerange-guide.cfg}%
  [2009/11/07 v0.2 Configuration file for pagerange-guide.tex (A.Musa)]
\usepackage{xspace}
\usepackage{xcolor}
\usepackage{shortvrb}
\usepackage{fancyvrb}
\usepackage{parskip}
\usepackage{paralist}
\usepackage{fancyhdr}
\usepackage{tabularx}
\usepackage[draft,allpages]{draftmark}
\draftmarksetup{mark={\color{red}\framebox[22.3cm][c]{}\\[15.4cm]
  \color{red}\framebox[22.3cm][c]{}},angle=90,scale=1,
  xcoord=-.5,ycoord=-1.5}
\ifx\pagerange\relax\usepackage[acceptempty,hyperlink]{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=W}
\providecommand*\eg{e.g.\xspace}
\providecommand*\ie{i.e.\xspace}
\newcommand*\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
}
\providecommand\space{ }
\definecolor{xgreen}{rgb}{0.00,0.59,0.00}
\newcommand*\result[1]{\textcolor{xgreen}{#1}}

\endinput