1 |
110 |
guanucolui |
%%
|
2 |
|
|
%% This is file `ecsgdpsummary.cls',
|
3 |
|
|
%% generated with the docstrip utility.
|
4 |
|
|
%%
|
5 |
|
|
%% The original source files were:
|
6 |
|
|
%%
|
7 |
|
|
%% ecsdocs.dtx (with options: `gdpsummary')
|
8 |
|
|
%%
|
9 |
|
|
%% Copyright (C) 2001 by Steve R. Gunn
|
10 |
|
|
%%
|
11 |
|
|
%% This file is part of the ECSDocs class distribution
|
12 |
|
|
%%
|
13 |
|
|
\NeedsTeXFormat{LaTeX2e}[1996/12/01]
|
14 |
|
|
\ProvidesClass{ecsgdpsummary}
|
15 |
|
|
[2003/25/04 v1.6
|
16 |
|
|
LaTeX document class]
|
17 |
|
|
\def\baseclass{book}
|
18 |
|
|
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
|
19 |
|
|
\def\@checkoptions#1#2{
|
20 |
|
|
\edef\@curroptions{\@ptionlist{\@currname.\@currext}}
|
21 |
|
|
\@tempswafalse
|
22 |
|
|
\@tfor\@this:=#2\do{
|
23 |
|
|
\@expandtwoargs\in@{,\@this,}{,\@curroptions,}
|
24 |
|
|
\ifin@ \@tempswatrue \@break@tfor \fi}
|
25 |
|
|
\let\@this\@empty
|
26 |
|
|
\if@tempswa \else \PassOptionsToClass{#1}{\baseclass}\fi
|
27 |
|
|
}
|
28 |
|
|
\@checkoptions{11pt}{{10pt}{11pt}{12pt}}
|
29 |
|
|
\PassOptionsToClass{a4paper}{\baseclass}
|
30 |
|
|
\ProcessOptions\relax
|
31 |
|
|
\LoadClass{\baseclass}
|
32 |
|
|
\newcommand\bhrule{\typeout{------------------------------------------------------------------------------}}
|
33 |
|
|
\newcommand\btypeout[1]{\bhrule\typeout{\space #1}\bhrule}
|
34 |
|
|
\usepackage{setspace}
|
35 |
|
|
\onehalfspacing
|
36 |
|
|
\setlength{\parindent}{0pt}
|
37 |
|
|
\setlength{\parskip}{2.0ex plus0.5ex minus0.2ex}
|
38 |
|
|
\usepackage{vmargin}
|
39 |
|
|
\setmarginsrb { 1.5in} % left margin
|
40 |
|
|
{ 0.6in} % top margin
|
41 |
|
|
{ 1.0in} % right margin
|
42 |
|
|
{ 0.8in} % bottom margin
|
43 |
|
|
{ 20pt} % head height
|
44 |
|
|
{0.25in} % head sep
|
45 |
|
|
{ 9pt} % foot height
|
46 |
|
|
{ 0.3in} % foot sep
|
47 |
|
|
\raggedbottom
|
48 |
|
|
\setlength{\topskip}{1\topskip \@plus 5\p@}
|
49 |
|
|
\doublehyphendemerits=10000 % No consecutive line hyphens.
|
50 |
|
|
\brokenpenalty=10000 % No broken words across columns/pages.
|
51 |
|
|
\widowpenalty=9999 % Almost no widows at bottom of page.
|
52 |
|
|
\clubpenalty=9999 % Almost no orphans at top of page.
|
53 |
|
|
\interfootnotelinepenalty=9999 % Almost never break footnotes.
|
54 |
|
|
\usepackage{fancyhdr}
|
55 |
|
|
\lhead[\rm\thepage]{\fancyplain{}{\sl{\rightmark}}}
|
56 |
|
|
\rhead[\fancyplain{}{\sl{\leftmark}}]{\rm\thepage}
|
57 |
|
|
\chead{}\lfoot{}\rfoot{}\cfoot{}
|
58 |
|
|
\pagestyle{fancy}
|
59 |
|
|
\markboth{GDP Summary Report}{GDP Summary Report}
|
60 |
|
|
\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
|
61 |
|
|
\hbox{}
|
62 |
|
|
\thispagestyle{empty}
|
63 |
|
|
\newpage
|
64 |
|
|
\if@twocolumn\hbox{}\newpage\fi\fi\fi}
|
65 |
|
|
\usepackage{amsmath,amsfonts,amssymb,amscd,amsthm,xspace}
|
66 |
|
|
\theoremstyle{plain}
|
67 |
|
|
\newtheorem{example}{Example}[section]
|
68 |
|
|
\newtheorem{theorem}{Theorem}[section]
|
69 |
|
|
\newtheorem{corollary}[theorem]{Corollary}
|
70 |
|
|
\newtheorem{lemma}[theorem]{Lemma}
|
71 |
|
|
\newtheorem{proposition}[theorem]{Proposition}
|
72 |
|
|
\newtheorem{axiom}[theorem]{Axiom}
|
73 |
|
|
\theoremstyle{definition}
|
74 |
|
|
\newtheorem{definition}[theorem]{Definition}
|
75 |
|
|
\theoremstyle{remark}
|
76 |
|
|
\newtheorem{remark}[theorem]{Remark}
|
77 |
|
|
\usepackage[centerlast,small,sc]{caption2}
|
78 |
|
|
\setlength{\captionmargin}{20pt}
|
79 |
|
|
\newcommand{\fref}[1]{Figure~\ref{#1}}
|
80 |
|
|
\newcommand{\tref}[1]{Table~\ref{#1}}
|
81 |
|
|
\newcommand{\eref}[1]{Equation~\ref{#1}}
|
82 |
|
|
\newcommand{\cref}[1]{Chapter~\ref{#1}}
|
83 |
|
|
\newcommand{\sref}[1]{Section~\ref{#1}}
|
84 |
|
|
\newcommand{\aref}[1]{Appendix~\ref{#1}}
|
85 |
|
|
\renewcommand{\topfraction}{0.85}
|
86 |
|
|
\renewcommand{\bottomfraction}{.85}
|
87 |
|
|
\renewcommand{\textfraction}{0.1}
|
88 |
|
|
\renewcommand{\dbltopfraction}{.85}
|
89 |
|
|
\renewcommand{\floatpagefraction}{0.75}
|
90 |
|
|
\renewcommand{\dblfloatpagefraction}{.75}
|
91 |
|
|
\setcounter{topnumber}{9}
|
92 |
|
|
\setcounter{bottomnumber}{9}
|
93 |
|
|
\setcounter{totalnumber}{20}
|
94 |
|
|
\setcounter{dbltopnumber}{9}
|
95 |
|
|
\usepackage{graphicx}
|
96 |
|
|
\usepackage{epstopdf}
|
97 |
|
|
\usepackage[scriptsize]{subfigure}
|
98 |
|
|
\usepackage{booktabs}
|
99 |
|
|
\usepackage{rotating}
|
100 |
|
|
\usepackage{listings}
|
101 |
|
|
\usepackage{lstpatch}
|
102 |
|
|
\lstset{captionpos=b,
|
103 |
|
|
frame=tb,
|
104 |
|
|
basicstyle=\scriptsize\ttfamily,
|
105 |
|
|
showstringspaces=false,
|
106 |
|
|
keepspaces=true}
|
107 |
|
|
\lstdefinestyle{matlab} {
|
108 |
|
|
language=Matlab,
|
109 |
|
|
keywordstyle=\color{blue},
|
110 |
|
|
commentstyle=\color[rgb]{0.13,0.55,0.13}\em,
|
111 |
|
|
stringstyle=\color[rgb]{0.7,0,0} }
|
112 |
|
|
\usepackage[pdfpagemode={UseOutlines},bookmarks=true,bookmarksopen=true,
|
113 |
|
|
bookmarksopenlevel=0,bookmarksnumbered=true,hypertexnames=false,
|
114 |
|
|
colorlinks,linkcolor={blue},citecolor={blue},urlcolor={red},
|
115 |
|
|
pdfstartview={FitV},unicode,breaklinks=true]{hyperref}
|
116 |
|
|
\pdfstringdefDisableCommands{
|
117 |
|
|
\let\\\space
|
118 |
|
|
}
|
119 |
|
|
\newcommand*{\supervisor}[1]{\def\supname{#1}}
|
120 |
|
|
\newcommand*{\examiner}[1]{\def\examname{#1}}
|
121 |
|
|
\newcommand*{\degree}[1]{\def\degreename{#1}}
|
122 |
|
|
\newcommand*{\authors}[1]{\def\authornames{#1}}
|
123 |
|
|
\newcommand*{\addresses}[1]{\def\addressnames{#1}}
|
124 |
|
|
\newcommand*{\university}[1]{\def\univname{#1}}
|
125 |
|
|
\newcommand*{\UNIVERSITY}[1]{\def\UNIVNAME{#1}}
|
126 |
|
|
\newcommand*{\department}[1]{\def\deptname{#1}}
|
127 |
|
|
\newcommand*{\DEPARTMENT}[1]{\def\DEPTNAME{#1}}
|
128 |
|
|
\newcommand*{\group}[1]{\def\groupname{#1}}
|
129 |
|
|
\newcommand*{\GROUP}[1]{\def\GROUPNAME{#1}}
|
130 |
|
|
\newcommand*{\faculty}[1]{\def\facname{#1}}
|
131 |
|
|
\newcommand*{\FACULTY}[1]{\def\FACNAME{#1}}
|
132 |
|
|
\newcommand*{\subject}[1]{\def\subjectname{#1}}
|
133 |
|
|
\newcommand*{\keywords}[1]{\def\keywordnames{#1}}
|
134 |
|
|
\supervisor {}
|
135 |
|
|
\examiner {}
|
136 |
|
|
\degree {}
|
137 |
|
|
\authors {}
|
138 |
|
|
\university {\texorpdfstring{\href{http://www.soton.ac.uk}
|
139 |
|
|
{University of Southampton}}
|
140 |
|
|
{University of Southampton}}
|
141 |
|
|
\UNIVERSITY {\texorpdfstring{\href{http://www.soton.ac.uk}
|
142 |
|
|
{UNIVERSITY OF SOUTHAMPTON}}
|
143 |
|
|
{UNIVERSITY OF SOUTHAMPTON}}
|
144 |
|
|
\department {\texorpdfstring{\href{http://www.ecs.soton.ac.uk}
|
145 |
|
|
{School of Electronics and Computer Science}}
|
146 |
|
|
{School of Electronics and Computer Science}}
|
147 |
|
|
\DEPARTMENT {\texorpdfstring{\href{http://www.ecs.soton.ac.uk}
|
148 |
|
|
{SCHOOL OF ELECTRONICS AND COMPUTER SCIENCE}}
|
149 |
|
|
{SCHOOL OF ELECTRONICS AND COMPUTER SCIENCE}}
|
150 |
|
|
\group {\texorpdfstring{\href{http://www.isis.ecs.soton.ac.uk}
|
151 |
|
|
{Image, Speech and Intelligent Systems Group}}
|
152 |
|
|
{Image, Speech and Intelligent Systems Group}}
|
153 |
|
|
\GROUP {\texorpdfstring{\href{http://www.isis.ecs.soton.ac.uk}
|
154 |
|
|
{IMAGE, SPEECH AND INTELLIGENT SYSTEMS GROUP}}
|
155 |
|
|
{IMAGE, SPEECH AND INTELLIGENT SYSTEMS GROUP}}
|
156 |
|
|
\faculty {\texorpdfstring{\href{http://www.engineering.soton.ac.uk}
|
157 |
|
|
{Faculty of Engineering, Science and Mathematics}}
|
158 |
|
|
{Faculty of Engineering, Science and Mathematics}}
|
159 |
|
|
\FACULTY {\texorpdfstring{\href{http://www.engineering.soton.ac.uk}
|
160 |
|
|
{FACULTY OF ENGINEERING, SCIENCE AND MATHEMATICS}}
|
161 |
|
|
{FACULTY OF ENGINEERING, SCIENCE AND MATHEMATICS}}
|
162 |
|
|
\addresses {}
|
163 |
|
|
\subject {}
|
164 |
|
|
\keywords {}
|
165 |
|
|
\renewcommand\maketitle{
|
166 |
|
|
\btypeout{Title Page}
|
167 |
|
|
\hypersetup{pdftitle={\@title}}
|
168 |
|
|
\hypersetup{pdfsubject=\subjectname}
|
169 |
|
|
\hypersetup{pdfauthor=\authornames}
|
170 |
|
|
\hypersetup{pdfkeywords=\keywordnames}
|
171 |
|
|
\thispagestyle{empty}
|
172 |
|
|
\begin{titlepage}
|
173 |
|
|
\let\footnotesize\small
|
174 |
|
|
\let\footnoterule\relax
|
175 |
|
|
\let \footnote \thanks
|
176 |
|
|
\setcounter{footnote}{0}
|
177 |
|
|
\null\vfil
|
178 |
|
|
\vskip 60\p@
|
179 |
|
|
\begin{center}
|
180 |
|
|
\setlength{\parskip}{0pt}
|
181 |
|
|
{\large\textbf{\UNIVNAME}\par}
|
182 |
|
|
{\large \facname \par}
|
183 |
|
|
\vfill
|
184 |
|
|
{\large A group design project summary report submitted}
|
185 |
|
|
{\large for the award of \par \degreename \par}
|
186 |
|
|
\vfill
|
187 |
|
|
{\normalsize Supervisor: \supname \par}
|
188 |
|
|
{\normalsize Examiner: \examname \par}
|
189 |
|
|
\vfill
|
190 |
|
|
\hspace{6mm}\parbox[t][51mm][s]{89mm}{
|
191 |
|
|
\center
|
192 |
|
|
\vfill
|
193 |
|
|
{\large \bf \@title \par}
|
194 |
|
|
\vfill
|
195 |
|
|
{\normalsize by \authornames \par}
|
196 |
|
|
\vfill
|
197 |
|
|
{\normalsize \@date \par}
|
198 |
|
|
\vfill
|
199 |
|
|
}
|
200 |
|
|
\parbox[t][95mm][s]{89mm}{}
|
201 |
|
|
\end{center}
|
202 |
|
|
\par
|
203 |
|
|
\@thanks
|
204 |
|
|
\vfil\null
|
205 |
|
|
\end{titlepage}
|
206 |
|
|
\setcounter{footnote}{0}%
|
207 |
|
|
\global\let\thanks\relax
|
208 |
|
|
\global\let\maketitle\relax
|
209 |
|
|
\global\let\@thanks\@empty
|
210 |
|
|
\global\let\@author\@empty
|
211 |
|
|
\global\let\@date\@empty
|
212 |
|
|
\global\let\@title\@empty
|
213 |
|
|
\global\let\title\relax
|
214 |
|
|
\global\let\author\relax
|
215 |
|
|
\global\let\date\relax
|
216 |
|
|
\global\let\and\relax
|
217 |
|
|
\cleardoublepage
|
218 |
|
|
}
|
219 |
|
|
\newcommand\acknowledgements[1]{
|
220 |
|
|
\btypeout{Acknowledgements}
|
221 |
|
|
\addtotoc{Acknowledgements}
|
222 |
|
|
}
|
223 |
|
|
\newcommand\dedicatory[1]{
|
224 |
|
|
\btypeout{Dedicatory}
|
225 |
|
|
}
|
226 |
|
|
\endinput
|
227 |
|
|
%%
|
228 |
|
|
%% End of file `ecsgdpsummary.cls'.
|