/[escript]/trunk/doc/esysdoc.cls
ViewVC logotype

Diff of /trunk/doc/esysdoc.cls

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3294 by jfenwick, Fri Oct 22 01:15:56 2010 UTC revision 3295 by jfenwick, Fri Oct 22 01:56:02 2010 UTC
# Line 8  Line 8 
8    
9  \usepackage[a4paper, left=2.5cm, right=2.5cm, nohead, vcentering, scale=0.8]{geometry}  \usepackage[a4paper, left=2.5cm, right=2.5cm, nohead, vcentering, scale=0.8]{geometry}
10  \usepackage{times}  \usepackage{times}
 % \usepackage{fancyvrb} % Hopefully this will give us our code environments  
11  \usepackage{listings}  \usepackage{listings}
12  \usepackage{ifpdf}  \usepackage{ifpdf}
13    
# Line 22  Line 21 
21  \usepackage[nohyphen, strings]{underscore}  \usepackage[nohyphen, strings]{underscore}
22    
23  %Blue was chosen here because it looks ok when printed  %Blue was chosen here because it looks ok when printed
24  \usepackage[pdfborder={0 0 0},pdfdisplaydoctitle=true,linktocpage=false, colorlinks=true,linkcolor=blue,citecolor=blue,urlcolor=blue]{hyperref}  \usepackage[pdfborder={0 0 0},pdfdisplaydoctitle=true,linktocpage=true, colorlinks=true,linkcolor=blue,citecolor=blue,urlcolor=blue]{hyperref}
25    
26  \usepackage{fancyhdr}  \usepackage{fancyhdr}
27  \renewcommand{\footrulewidth}{0.4pt}  \renewcommand{\footrulewidth}{0.4pt}
# Line 42  Line 41 
41  \ChNameVar{\raggedleft\large\sffamily}  % The word chapter  \ChNameVar{\raggedleft\large\sffamily}  % The word chapter
42  \ChNumVar{\raggedleft\bfseries\Large}   % The number of the chapter  \ChNumVar{\raggedleft\bfseries\Large}   % The number of the chapter
43  \ChTitleVar{\raggedleft \Huge\sffamily} % title of the chapter  \ChTitleVar{\raggedleft \Huge\sffamily} % title of the chapter
44    \ChTitleAsIs
45    
46  %Ensures that latex doesn't have an error if we don't specify the version  %Ensures that latex doesn't have an error if we don't specify the version
47  \providecommand{\RepVersion}{Unknown\xspace}  \providecommand{\RepVersion}{Unknown\xspace}
# Line 70  Line 70 
70  \newcommand{\constant}[1]{\textsl{#1}}  \newcommand{\constant}[1]{\textsl{#1}}
71  \newcommand{\method}[1]{\texttt{#1}}  \newcommand{\method}[1]{\texttt{#1}}
72  \newcommand{\member}[1]{\texttt{#1}}  \newcommand{\member}[1]{\texttt{#1}}
73  \newcommand{\code}[1]{\mbox{\texttt{#1}}}   % Because people try to put code in maths mode  \newcommand{\code}[1]{%
74    \ifmmode%
75    \mbox{\texttt{#1}}%
76    \else%
77    \texttt{#1}%
78    \fi    % Because people try to put code in maths mode
79    }
80    
81  \newenvironment{abstract}{\newpage\mbox{}\vfill\begin{center}\textbf{Abstract}\end{center}}{\vfill\newpage}  \newenvironment{abstract}{\newpage\mbox{}\vfill\begin{center}\textbf{Abstract}\end{center}}{\vfill\newpage}
82    

Legend:
Removed from v.3294  
changed lines
  Added in v.3295

  ViewVC Help
Powered by ViewVC 1.1.26