blob: 3f8346115ea6d321063e7a6bc22eb150cc7b018d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
%% This is file `third-rep.cls'
%%
%% Time-stamp: <2011-08-17 16:46:44 grahamgough>
%%
%%
%% Copyright 1999-2001 G.D. Gough and the University of Manchester
%%
%% This program can redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN
%% archives in directory macros/latex/base/lppl.txt; either
%% version 1 of the License, or (at your option) any later version.
%%
%% A LaTeX class defining layout for UMCSD third year project reports
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{third-rep}[2001/04/03 UMCSD Third year report style]
\DeclareOption{draftgraphics}{\PassOptionsToPackage{draft}{graphicx}}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{report}}
% PROCESS OPTIONS
\ProcessOptions
\LoadClass{report}
\usepackage{a4-mancs}
\usepackage{graphicx}
\usepackage{verbatim}
\newif\ifthanks@
\thanks@false
\def\thanksfile#1{\gdef\@thanksfile{#1}\thanks@true}
\def\supervisor#1{\gdef\@supervisor{#1}}
\def\reportyear#1{\gdef\@reportyear{#1}}
\def\abstractfile#1{\gdef\@abstractfile{#1}}
\def\@title{}\def\@author{}
\def\@supervisor{}
\reportyear{2001}
\abstractfile{null}
\def\dotitleandabstract{%
\thispagestyle{empty}%
\vspace*{1.4in}
\begin{center}
{\large { University of Manchester\\School of Computer Science\\Project Report \@reportyear} \\
\vspace*{0.2in}
{\bf \@title} \\
\vspace*{0.2in}
Author: \@author\\
\vspace*{0.2in}
Supervisor: \@supervisor}
\end{center}
\begin{abstract}
\begin{center}
\large
\@title \\
\vspace*{0.2in}
Author: \@author
\end{center}
\normalsize
\setlength{\parindent}{0pt}
\input \@abstractfile \relax
\begin{center}
\large Supervisor: \@supervisor
\end{center}
\end{abstract}
\ifthanks@{
\clearpage
\vspace*{1.4in}
\begin{center}
{\textbf{Acknowledgements}} \\
\end{center}
\begin{quotation}
\input{\@thanksfile}
\end{quotation}
}
\fi
}
\renewenvironment{thebibliography}[1]
{\chapter*{\bibname
\@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}}%
%%%%%%%%%%%%%%%%%%%%%%%%
\addcontentsline{toc}{chapter}{\protect\numberline{}\bibname}% add toc entry
%%%%%%%%%%%%%%%%%%%%%%%%
\list{\@biblabel{\@arabic\c@enumiv}}%
{\settowidth\labelwidth{\@biblabel{#1}}%
\leftmargin\labelwidth
\advance\leftmargin\labelsep
\@openbib@code
\usecounter{enumiv}%
\let\p@enumiv\@empty
\renewcommand\theenumiv{\@arabic\c@enumiv}}%
\sloppy\clubpenalty4000\widowpenalty4000%
\sfcode`\.\@m}
{\def\@noitemerr
{\@latex@warning{Empty `thebibliography' environment}}%
\endlist}
|