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

Diff of /trunk/doc/user/esysdoc.cls

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

revision 3297 by caltinay, Fri Oct 22 05:47:37 2010 UTC revision 3301 by jfenwick, Mon Oct 25 01:27:54 2010 UTC
# Line 21  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=true, 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]{hyperref}
25    
26  \usepackage{fancyhdr}  \usepackage{fancyhdr}
27  \renewcommand{\footrulewidth}{0.4pt}  \renewcommand{\footrulewidth}{0.4pt}
# Line 54  Line 54 
54  %This should be converted into a two arg form so we can have different fonts for different parts  %This should be converted into a two arg form so we can have different fonts for different parts
55  \newcommand*{\programopt}[1]{#1}  \newcommand*{\programopt}[1]{#1}
56    
57  \newenvironment{classdesc}[2]{\begin{description}\item[class #1]\mbox{}\\}{\end{description}}  \newenvironment{bigdef}[1]{%
58  \newenvironment{methoddesc}[3][{}]{\begin{description}\item[\textbf{#2}(#3)]\mbox{}\\}{\end{description}}  \noindent
59  \newenvironment{funcdesc}[2]{\begin{description}\item[\textbf{#1}(#2)]\mbox{}\\}{\end{description}}  \setlength{\hangindent}{2cm}
60    \textbf{#1}
61    
62    \setlength{\hangindent}{1cm}%
63    \setlength{\hangafter}{0}%
64    \noindent%
65    }%
66    {%
67    
68    \vspace{0.5cm}
69    }
70    
71    \newenvironment{classdesc}[2]{%
72    \begin{bigdef}{class #1}}{\end{bigdef}}
73    
74    \newenvironment{methoddesc}[3][{}]{%
75    \begin{bigdef}{#2(#3)}}{\end{bigdef}}
76    \newenvironment{funcdesc}[2]{%
77    \begin{bigdef}{#1(#2)}%
78    }
79    {%
80    \end{bigdef}
81    }
82    
83    % {
84    % \begin{bigdef}[#1(#2)]
85    % \noindent
86    % \setlength{\hangindent}{2cm}
87    % \textbf{#1(#2)}
88    %
89    % }
90    % \setlength{\hangindent}{1cm}
91    % \setlength{\hangafter}{0}
92    % \noindent
93    % }%
94    % {%
95    %
96    % \mbox{}\\
97    % }
98    
99    \setlength{\itemindent}{-1cm}\setlength{\leftmargin}{1cm}
100    
101  \newenvironment{memberdesc}[2][{}]{\begin{description}\item[\textbf{#2}]\mbox{}\\}{\end{description}}  \newenvironment{memberdesc}[2][{}]{\begin{description}\item[\textbf{#2}]\mbox{}\\}{\end{description}}
102  \newenvironment{datadesc}[1]{\begin{description}\item[\textbf{#1}]\mbox{}\\}{\end{description}}  \newenvironment{datadesc}[1]{\begin{description}\item[\textbf{#1}]\mbox{}\\}{\end{description}}
103    

Legend:
Removed from v.3297  
changed lines
  Added in v.3301

  ViewVC Help
Powered by ViewVC 1.1.26