blob: 68984d9f0a29f05439e1ce0d513dbe84aa05fdab (
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
103
104
|
%%
%% This is file `my-title.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% ua-classes.dtx (with options: `my-title')
%%
%% Except where otherwise indicated this code was originally written
%% by, and continues to be maintained by, Marcel Oliver. It is released
%% into the public domain.
%% Where otherwise indicated, code is covered by the licensing terms of
%% the original packages.
%% The above statement was added 2009/01/05 by Clea F. Rees on behalf
%% of the author.
%%
%% File ua-classes.dtx by Marcel Oliver
%%
%% Documentation can be obtained by running "latex labels.dtx"
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{my-title}[1997/03/08]
\let\@title\@empty
\let\@author\@empty
\let\@copyright\@empty
\def\@thesis{Dissertation}
\def\@department{Graduate Interdisciplinary Program \\
in Applied Mathematics}
\def\@degree{Doctor of Philosophy}
\def\@degreeabbrev{Ph.D.}
\let\@major\@empty
\let\@director\@empty
\let\@directortitle\@empty
\def\copyrightholder#1{\gdef\@copyright{#1}}
\newcommand{\thesis} [1]{\gdef\@thesis{#1}}
\newcommand{\department} [1]{\gdef\@department{#1}}
\newcommand{\degree} [1]{\gdef\@degree{#1}}
\newcommand{\degreeabbrev} [1]{\gdef\@degreeabbrev{#1}}
\newcommand{\major} [1]{\gdef\@major{#1}}
\newcommand{\director} [1]{\gdef\@director{#1}}
\newcommand{\directortitle} [1]{\gdef\@directortitle{#1}}
\renewcommand{\title} [2][]{\gdef\@title{#2}}
\renewcommand{\author}[2][]{\gdef\@author{#2}}
\def\maketitle{%
\cleardoublepage
\thispagestyle{empty}
\begingroup
\centering
\vspace*{\stretch{1}}
\hrule height 1pt
\begingroup
\Huge\bfseries
\addtolength{\baselineskip}{2pt}
\medskip
\@title \\
\medskip
\endgroup
\hrule height 1pt
\vspace*{\stretch{1}}
\begingroup
\huge \@author \\
\endgroup
\vspace*{\stretch{1.7}}
\begingroup
\Large
\spaceskip1.3\fontdimen2\font plus1.3\fontdimen3\font
A \@thesis\ Submitted to the Faculty of the \\[8pt]
\textsc{\LARGE\@department} \\[8pt]
In Partial Fulfillment of the Requirements \\
For the Degree of \\[8pt]
\textsc{\LARGE\@degree}
\ifx\@empty\@major
\else \\
\textsc{\LARGE With a Major in \@major}
\fi \\[8pt]
In the Graduate College \\[8pt]
\textsc{\LARGE The University of Arizona} \\
\endgroup
\vspace*{0.8cm}
{\Large\spaced{\@date}}
\newpage
\endgroup}
\def \spaced #1%
{\edef \3{#1}%
{\expandafter \insertsp@ces \3\@nd}%
}
\def \insertsp@ces #1#2\@nd
{\def \1{#1}%
\def \2{#2}%
\1%
\ifx \1\empty \else \ifx \2\empty \else \space \fi \fi
\ifx \2\empty
\let \n@xt = \relax
\else
\futurelet \2\m@kespaceexplicit #2\@nd
\def \n@xt {\expandafter \insertsp@ces \2\@nd}%
\fi
\n@xt
}
\def \m@kespaceexplicit #1#2\@nd %
{\if \2 \def \2{{ }#1#2}\else \def \2{#1#2}\fi}
\endinput
%%
%% End of file `my-title.sty'.
|