/[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 3300 by jfenwick, Mon Oct 25 00:22:14 2010 UTC revision 3301 by jfenwick, Mon Oct 25 01:27:54 2010 UTC
# 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]{%
 \newenvironment{methoddesc}[3][{}]{\begin{description}\item[\textbf{#2}(#3)]\mbox{}\\}{\end{description}}  
 \newenvironment{funcdesc}[2]{%  
58  \noindent  \noindent
59  \begin{list}{}{\setlength{\labelwidth}{0cm}}  \setlength{\hangindent}{2cm}
60  \item \textbf{#1(#2)}  \textbf{#1}
61  \end{list}  
62  \begin{list}{}{}  \setlength{\hangindent}{1cm}%
63  \item  \setlength{\hangafter}{0}%
64    \noindent%
65  }%  }%
66  {%  {%
67  \end{list}%  
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}  \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}}

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

  ViewVC Help
Powered by ViewVC 1.1.26