/[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 3305 by jfenwick, Mon Oct 25 05:04:22 2010 UTC revision 4131 by gross, Fri Jan 11 03:54:16 2013 UTC
# Line 10  Line 10 
10  \usepackage{times}  \usepackage{times}
11  \usepackage{listings}  \usepackage{listings}
12  \usepackage{ifpdf}  \usepackage{ifpdf}
13    \usepackage{makeidx}
14    
15  %\usepackage{avant}  %\usepackage{avant}
16  %\renewcommand{\familydefault}{\sfdefault}  % Switch to san seriff  %\renewcommand{\familydefault}{\sfdefault}  % Switch to san seriff
17  \usepackage{url}  \usepackage{url}
18  \usepackage{xspace}  \usepackage{xspace}
19  \usepackage{graphicx,color}  \usepackage{graphicx}
20  \usepackage{amsmath}    %For equation*  \usepackage{amsmath}    %For equation*
21  \usepackage{amsfonts,amssymb} % see http://www.ams.org/tex/amslatex.html  \usepackage{amsfonts,amssymb} % see http://www.ams.org/tex/amslatex.html
22  \usepackage[nohyphen, strings]{underscore}  \usepackage[nohyphen, strings]{underscore}
23    
24  %Blue was chosen here because it looks ok when printed  %Blue was chosen here because it looks ok when printed
25  \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=false, colorlinks=true,linkcolor=blue,citecolor=blue,urlcolor=blue,pdfusetitle]{hyperref}
26    
27    %Dummy commands for if we ever need to switch off hyperref
28    % \providecommand{\pdfbookmark}[3][0]{}
29    % \providecommand{\currentpdfbookmark}[2]{}
30    % \providecommand{\subpdfbookmark}[2]{}
31    
32    
33  \usepackage{fancyhdr}  \usepackage{fancyhdr}
# Line 57  Line 63 
63    
64  \newenvironment{bigdef}[1]{%  \newenvironment{bigdef}[1]{%
65    
66  \noindent  \vspace{1em}
67  \setlength{\hangindent}{2cm}  \setlength{\hangindent}{2cm}%
68  \textbf{#1}  \raggedright\textbf{#1}
69    
70  \setlength{\hangindent}{1cm}%  \setlength{\hangindent}{1cm}%
71  \setlength{\hangafter}{0}%  \setlength{\hangafter}{0}%
 \noindent%  
72  }%  }%
73  {%  {%
74    
 \vspace{0.5cm}  
75  }  }
76    
77  \newenvironment{classdesc}[2]{%  \newenvironment{classdesc}[2]{%
78    \begin{bigdef}{class #1(#2)}}{\end{bigdef}}
79    \newenvironment{classdesc*}[1]{%
80  \begin{bigdef}{class #1}}{\end{bigdef}}  \begin{bigdef}{class #1}}{\end{bigdef}}
81    
82  \newenvironment{methoddesc}[3][{}]{%  \newenvironment{methoddesc}[3][{}]{%
# Line 110  Line 116 
116  \newcommand{\kbd}[1]{\texttt{#1}}  \newcommand{\kbd}[1]{\texttt{#1}}
117  \newcommand{\function}[1]{\texttt{#1}}  \newcommand{\function}[1]{\texttt{#1}}
118  \newcommand{\class}[1]{\texttt{#1}}  \newcommand{\class}[1]{\texttt{#1}}
119    \newcommand{\exception}[1]{\texttt{#1}}
120  \newcommand{\constant}[1]{\textsl{#1}}  \newcommand{\constant}[1]{\textsl{#1}}
121  \newcommand{\method}[1]{\texttt{#1}}  \newcommand{\method}[1]{\texttt{#1}}
122  \newcommand{\member}[1]{\texttt{#1}}  \newcommand{\member}[1]{\texttt{#1}}
# Line 133  Line 140 
140    
141  \renewcommand{\maketitle}{  \renewcommand{\maketitle}{
142  \begin{titlepage}  \begin{titlepage}
143    \pdfbookmark[0]{Title page}{title}
144  \textsf{  \textsf{
145  \begin{raggedleft}  \begin{raggedleft}
146  \Huge  \Huge
# Line 163  Line 171 
171  \renewcommand*{\thechapter}{\Alph{chapter}} %How hyperref generates chapters  \renewcommand*{\thechapter}{\Alph{chapter}} %How hyperref generates chapters
172  }  }
173    
   
   

Legend:
Removed from v.3305  
changed lines
  Added in v.4131

  ViewVC Help
Powered by ViewVC 1.1.26