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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
|
%%
%% This is file `york-thesis.cls',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% york-thesis.dtx (with options: `class')
%%
%% This is a generated file.
%%
%% Copyright (C) 2005 by Norm Gall <gall@spookyhill.net>
%%
%% This file may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, either version 1.3 of this license
%% or (at your option) any later version. The latest version of this
%% license is in:
%%
%% http://www.latex-project.org/lppl.txt
%%
%% and version 1.3 or later is part of all distributions of LaTeX version
%% 2003/06/01 or later.
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{york-thesis}
[2006/05/16 v3.4 York University (Toronto, Canada) thesis class]
\RequirePackage{ifthen}
\RequirePackage{calc}
\RequirePackage{makeidx}
\newboolean{saving}
\DeclareOption{draft}{\setboolean{saving}{true}}
\DeclareOption{final}{\setboolean{saving}{false}
\PassOptionsToClass{letterpaper,12pt,oneside,%
onecolumn,final,openany}{report}}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{report}}
\ExecuteOptions{draft}
\ProcessOptions
\LoadClass{report}
\let\oldquote\quote \let\oldendquote\endquote
\let\oldquotation\quotation \let\oldendquotation\endquotation
\let\oldverse\verse \let\oldendverse\endverse
\let\oldbibliography\bibliography
\let\oldendbibliography\endbibliography
\let\oldprintindex\printindex
\newboolean{hasfigures}\setboolean{hasfigures}{false}
\newboolean{hastables}\setboolean{hastables}{false}
\newboolean{masters}\setboolean{masters}{false}
\newcommand{\spacing}[1]{\renewcommand{\baselinestretch}{#1}%
\large\normalsize}
\def\@removefromreset#1#2{\let\@tempb\@elt
\expandafter\let\expandafter\@tempa\csname c@#1\endcsname
\def\@elt##1{\expandafter\ifx\csname c@##1\endcsname\@tempa\else
\noexpand\@elt{##1}\fi}%
\expandafter\edef\csname cl@#2\endcsname{\csname cl@#2\endcsname}%
\let\@elt\@tempb}
\@removefromreset{footnote}{chapter}
\def\resetfootnote{\setcounter{footnote}{0}}
\long\def\@footnotetext#1{%
\insert\footins{%
\def\baselinestretch {1}%
\reset@font\footnotesize
\interlinepenalty\interfootnotelinepenalty
\splittopskip\footnotesep
\splitmaxdepth \dp\strutbox \floatingpenalty \@MM
\hsize\columnwidth
\@parboxrestore
\protected@edef\@currentlabel{%
\csname p@footnote\endcsname\@thefnmark}%
\color@begingroup
\@makefntext{%
\rule\z@\footnotesep\ignorespaces#1\@finalstrut\strutbox}%
\color@endgroup}}
\gdef\split@prev{0}
\let\pagefootnoterule\footnoterule
\let\mpfootnoterule\footnoterule
\def\splitfootnoterule{\kern-3\p@ \hrule \kern2.6\p@}
\def\footnoterule{\relax
\ifx \@listdepth\@mplistdepth
\mpfootnoterule
\else
\ifnum\split@prev=\z@
\pagefootnoterule
\else
\splitfootnoterule
\fi
\xdef\split@prev{\the\insertpenalties}%
\fi
}
\renewcommand\appendix{\par
\setcounter{chapter}{0}%
\setcounter{section}{0}%
\gdef\@chapapp{\appendixname}%
\gdef\thechapter{\@Alph\c@chapter}
\ifthenelse{\boolean{saving}}{\spacing{1}}{\spacing{2}}}
\renewenvironment{bibliography}[1]%
{\addcontentsline{toc}{chapter}{Bibliography}\oldbibliography {#1}}%
{\oldendbibliography}
\renewcommand{\printindex}{\newpage%
\addcontentsline{toc}{chapter}{Index}\oldprintindex}
\def\hugeskip{\vskip 24pt plus 8pt minus 8pt}
\def\@ifdefined#1#2{\@ifundefined{#1}{}{#2}}
\def\@makechapterhead#1{ \vspace*{50pt} { \parindent 0pt
\raggedright%
\ifnum \c@secnumdepth > \m@ne \Large\bf
\thechapter \hskip 1em \fi \Large \bf #1\par
\nobreak \vskip 40pt } }
\def\@makeschapterhead#1{ \vspace*{50pt} { \parindent 0pt \raggedright
\Large \bf #1\par
\nobreak \vskip 40pt }}
\renewcommand\section{\@startsection {section}{1}{\z@}%
{-3.5ex \@plus -1ex \@minus -.2ex}%
{2.3ex \@plus.2ex}%
{\normalfont\large\bfseries}}
\renewcommand\subsection{\@startsection {subsection}{1}{\z@}%
{-3.5ex \@plus -1ex \@minus -.2ex}%
{2.3ex \@plus.2ex}%
{\normalfont\normalsize\bfseries}}
\renewcommand\subsubsection{\@startsection {subsubsection}{1}{\z@}%
{-3.5ex \@plus -1ex \@minus -.2ex}%
{2.3ex \@plus.2ex}%
{\normalfont\normalsize\bfseries}}
\renewcommand\contentsname{Table of Contents}
\renewcommand\listfigurename{List of Figures}
\renewcommand\listtablename{List of Tables}
\renewcommand\bibname{Bibliography}
\newcommand{\contentsheader}[2] { \addtocontents{#1} {
\centerline{\underline{#2}\protect\hfill%
\underline{Page}}}}
\renewcommand\tableofcontents { \chapter*{\contentsname}
\addcontentsline{toc}{chapter}{Table of Contents}
\@starttoc{toc}}
\renewcommand\listoffigures { \chapter*{\listfigurename}
\addcontentsline{toc}{chapter}{List of Figures}
\@starttoc{lof}}
\renewcommand\listoftables { \chapter*{\listtablename}
\addcontentsline{toc}{chapter}{List of Tables}
\@starttoc{lot}}
\ifthenelse{\boolean{saving}} {%
\setlength {\topmargin}{0.0in}
\setlength {\textheight}{\paperheight-2.5in}
\setlength {\oddsidemargin}{0.0in}
\setlength {\evensidemargin}{0.0in}
\setlength {\textwidth}{\paperwidth-2in}
\spacing{1}
} {%
\setlength {\topmargin}{0.65in}
\setlength {\textheight}{\paperheight-3.05in}
\setlength {\oddsidemargin}{0.6in}
\setlength {\evensidemargin}{0.1in}
\setlength {\textwidth}{\paperwidth-2.65in}
\setlength {\footskip}{0.3in}
\spacing{2}
\renewenvironment{quote}{\oldquote\spacing{1}}%
{\oldendquote\spacing{2}}
\renewenvironment{quotation}{\oldquotation\spacing{1}}%
{\oldendquotation\spacing{2}}
\renewenvironment{verse}{\oldverse\spacing{1}}%
{\oldendverse\spacing{2}}}
\setlength {\footnotesep}{14pt}
\setlength {\headheight}{0in}
\setlength {\headsep}{0in}
\def\department#1{\gdef\@department{#1}}
\def\masterof#1{\gdef\@masterof{#1}}
\def\abstractfile#1{\gdef\@abstractfile{#1}}
\def\dedicationfile#1{\gdef\@dedicationfile{#1}}
\def\acknowledgementsfile#1{\gdef\@acknowledgementsfile{#1}}
\def\prefacefile#1{\gdef\@prefacefile{#1}}
\def\abbreviationsfile#1{\gdef\@abbreviationsfile{#1}}
\def\committeememberslist#1{\gdef\@committeememberslist{#1}}
\def\degreename#1{\gdef\@degreename{#1}}
\gdef\@author{YOUR FULL NAME} \gdef\@title{{\bf THE TITLE OF YOUR
WORK}} \gdef\@date{\number\year} \gdef\@department{PHILOSOPHY}
\gdef\@masterof{Arts} \gdef\@committeememberslist{%
\begin{enumerate}%
\item Joanne Examiner%
\item Fred P. Questioner%
\end{enumerate}}
\ifthenelse{\boolean{masters}}{\gdef\@degreename{MASTER}}%
{\gdef\@degreename{DOCTOR}}
\def\makefrontmatter{%
\pagestyle {empty}
\pagenumbering {roman}
\maketitlepage
\makecopyrightpage
\makeauthenticitypage
\@ifdefined {@abstractfile}{\makeabstract}
\pagestyle {plain}
\@ifdefined {@dedicationfile}{\makededication}
\@ifdefined {@acknowledgementsfile}{\makeacknowledgements}
\tableofcontents
\ifthenelse{\boolean{hastables}}{\listoftables}{}
\ifthenelse{\boolean{hasfigures}}{\listoffigures}{}
\@ifdefined{@prefacefile}{\makepreface}
\@ifdefined{@abbreviationsfile}{\makeabbreviations}
\newpage
\pagenumbering {arabic}
\setcounter {page}{1}}
\def\maketitlepage{
\vspace*{.85in}
\begin{center}
\spacing{1}
\textbf{\MakeUppercase{\@title}}
\hugeskip
\hugeskip
\hugeskip
{\bigskip \MakeUppercase{\@author}}
\end{center}
\hugeskip \hugeskip \hugeskip \hugeskip \hugeskip \hugeskip
{\spacing{1}
\begin{center}
\ifmasters A THESIS \else A DISSERTATION \fi
SUBMITTED TO THE FACULTY OF GRADUATE STUDIES \\
IN PARTIAL FULFILMENT OF THE REQUIREMENTS \\
FOR THE DEGREE OF \\
\hugeskip \hugeskip \hugeskip
\ifmasters \MakeUppercase{\@degreename} OF
\MakeUppercase{\@masterof}
\else
\MakeUppercase{\@degreename} OF PHILOSOPHY \fi \\
\hugeskip \hugeskip
GRADUATE PROGRAM IN \MakeUppercase{\@department} \\
YORK UNIVERSITY \\
TORONTO, ONTARIO \\
\MakeUppercase{\@date}
\end{center}}
\newpage }
\def\makecopyrightpage{%
\begin{center}
\setlength{\fboxrule}{.004in} \setlength{\fboxsep}{2cm}
\mbox{}
\par\vspace*{\stretch{1}}
\fbox{\parbox{4in}{%
\spacing{1}
\begin{center}
\textbf{\MakeUppercase{\@title}}
\end{center} by
\textbf{\@author}
\bigskip
a \ifmasters thesis \else dissertation \fi submitted to the
Faculty of Graduate Studies of York University in partial
fulfilment of the requirements for the degree of
\begin{center}
\ifmasters \textbf{\MakeUppercase{\@degreename} OF
\MakeUppercase{\@masterof}}
\else
\textbf{\MakeUppercase{\@degreename} OF PHILOSOPHY} \fi \\
$\copyright$\ \number\year \\
\end{center}
Permission has been granted to: a) YORK UNIVERSITY LIBRARIES
to lend or sell copies of this dissertation in paper,
microform or electronic formats, and b) LIBRARY AND ARCHIVES
CANADA to reproduce, lend, distribute, or sell copies of this
\ifmasters thesis \else dissertation \fi anywhere in the world
in microform, paper or electronic formats \textit{and} to
authorise or procure the reproduction, loan, distribution or
sale of copies of this \ifmasters thesis \else dissertation
\fi anywhere in the world in microform, paper or electronic
formats.
\bigskip The author reserves other publication rights, and
neither the \ifmasters thesis \else dissertation \fi nor
extensive extracts for it may be printed or otherwise
reproduced without the author's written permission.}}
\vspace*{\stretch{1}}
\end{center}
\newpage}
\def\makeauthenticitypage{%
\par\vfill
{\spacing{1}
\begin{center}
\textbf{\MakeUppercase{\@title}} \hugeskip\hugeskip by
\textbf{\@author}
\end{center}
\hugeskip\noindent By virtue of submitting this document
electronically, the author certifies that this is a true
electronic equivalent of the copy of the \ifmasters thesis \else
dissertation \fi approved by York University for the award of
the degree. No alteration of the content has occurred and if
there are any minor variations in formatting, they are as a
result of the coversion to Adobe Acrobat format (or similar
software application). \hugeskip
\begin{flushright}
\begin{minipage}[t]{4in}
Examination Committee Members: \@committeememberslist
\end{minipage}
\end{flushright}}}
\def\makeabstract{%
\chapter*{Abstract}
\addcontentsline {toc}{chapter}{Abstract}
\noindent
\@input{\@abstractfile}}
\def\makededication{%
%\chapter*{Abstract}
%\addcontentsline {toc}{chapter}{Abstract}
%\noindent
\newpage
\@input{\@dedicationfile}}
\def\makepreface{%
\chapter*{Preface}
\addcontentsline {toc}{chapter}{Preface}
\noindent
\@input{\@prefacefile}}
\def\makeabbreviations{%
\chapter*{Abbreviations}
\addcontentsline{toc}{chapter}{Abbreviations}
\noindent
\@input{\@abbreviationsfile}}
\def\makeacknowledgements{%
\chapter*{Acknowledgements}
\addcontentsline{toc}{chapter}{Acknowledgements}
\noindent
\@input{\@acknowledgementsfile}}
\newlength{\epigraphwidth}\setlength{\epigraphwidth}{.8\columnwidth}
\newlength{\epigraphrule}\setlength{\epigraphrule}{.4\p@}
\newcommand{\@epirule}{\rule[.5ex]{\epigraphwidth}{\epigraphrule}}
\newcommand{\epigraph}[2]%
{\item #1\vspace{-12pt}\begin{flushright}#2\end{flushright}}
\newcommand{\epigraphlabel}[1]{\hfill}
\newenvironment{epigraphs}{%
\begin{flushright}
\begin{minipage}{\epigraphwidth}
\list{}%
{\itemindent\z@ \labelwidth\z@ \labelsep\z@
\leftmargin\z@ \rightmargin\z@
\let\makelabel\epigraphlabel}}%
{\endlist\vspace{-18pt}\@epirule\vspace{24pt}\end{minipage}\end{flushright}}
\let\oldepigraphs\epigraphs \let\oldendepigraphs\endepigraphs
\ifthenelse{\boolean{saving}}{}{%
\renewenvironment{epigraphs}{\oldepigraphs\spacing{1}}%
{\oldendepigraphs\spacing{2}}
}
\newenvironment{fquote}%
{\oldquote\footnotesize}%
{\oldendquote\normalsize}
\newenvironment{fquotation}{\oldquotation\footnotesize}%
{\oldendquotation\normalsize}
\newenvironment{fverse}{\oldverse\footnotesize}%
{\oldendverse\normalsize}
\newcommand{\threestars}{\begin{center}%
*\hspace{.5in}*\hspace{.5in}*\hspace{.5in}\end{center}}
\endinput
%%
%% End of file `york-thesis.cls'.
|