-
Notifications
You must be signed in to change notification settings - Fork 18
/
uclathma.clo
67 lines (57 loc) · 2.05 KB
/
uclathma.clo
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
% UCLA THESIS MACROS
% (C) Copyright 2012 by Jose Hales-Garcia,
% derived from work (C) Copyright 1995 by John Heidemann,
% (C) Copyright 1995 by John Heidemann,
% derived from work (C) Copyright 1988 Richard B. Wales,
% taken in turn from material Copyright (C) 1985 by Leslie Lamport.
%%%
% Version checking.
%%%
\NeedsTeXFormat{LaTeX2e}
\def\uclathmaversion{2.0}
\def\uclathmadate{2012/05/03}
\ProvidesFile{uclathma}[\uclathmadate, \uclathmaversion]
% The following commands set the thesis/dissertation title and author,
% as well as the type size for printing the title.
\def\@title{NO TITLE!?!}
\def\@author{NO AUTHOR!?!}
\def\@titlesize{\Large}
\renewcommand{\title}[1]{\def\@title{#1}}
\renewcommand{\author}[1]{\def\@author{#1}}
\newcommand{\titlesize}[1]{\def\@titlesize{#1}}
% The following commands set the department name.
\newif\if@department
\newcommand{\department}[1]{\def\@department{#1}\@departmenttrue}
\newcommand{\nodepartment}{\@departmentfalse}
\department{NO DEPARTMENT!?!}
% The following commands will process the "MA", "MS", "PhD", or "EdD"
% option. (The default is "PhD".)
\newcommand{\thesis}[1]
{\def\@thesisname{thesis}
\def\@Thesisname{Thesis}
\def\@degreename{#1}
}
\newcommand{\blahfoo}[1]
{\def\@thesisname{blahfoo}
\def\@Thesisname{Blahfoo}
\def\@degreename{#1}
}
\newcommand{\dissertation}[1]
{\def\@thesisname{dissertation}
\def\@Thesisname{Dissertation}
\def\@degreename{#1}
}
\dissertation{Doctor of Philosophy} % default
% The following commands set the year in which the degree will be
% awarded, as well as the year of copyright.
\def\@degreeyear{\number\month}
\def\@degreemonth{\ifcase\month\or
January\or February\or March\or April\or May\or June\or
July\or August\or September\or October\or November\or December\fi}
\def\@copyrightyear{\number\year}
\newif\if@cyrset
\@cyrsetfalse
\newcommand{\degreeyear}[1]
{\def\@degreeyear{#1}\if@cyrset\else\def\@copyrightyear{#1}\fi}
\newcommand{\degreemonth}[1]{\def\@degreemonth{#1}}
\newcommand{\copyrightyear}[1]{\def\@copyrightyear{#1}\@cyrsettrue}