-
Notifications
You must be signed in to change notification settings - Fork 0
/
stprop.cls
89 lines (74 loc) · 2.37 KB
/
stprop.cls
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
% \iffalse meta-comment
%
%
% stprop.cls -- A LaTeX class for writing senior thesis proposals
% Copyright (C) 2003-2010 Department of Mathematics, Harvey
% Mudd College.
%
% This program is free software; you can redistribute it and/or
% modify it under the terms of the GNU General Public License as
% published by the Free Software Foundation; either version 2 of the
% License, or (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program; if not, write to the Free Software
% Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
% 02111-1307 USA
%
% The license is also available on the web, from
% <http://www.gnu.org/copyleft/gpl.html>
%
% \fi
%%
%% stprop class file
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{stprop}[2010/08/23 Senior Thesis Proposal Class, version 3.4]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
\ProcessOptions\relax %% <-- fix if we decide to declare some options!
\LoadClass[11pt]{article}
%% Get some useful information about errors.
\setcounter{errorcontextlines}{25}
\RequirePackage{amsmath}
\RequirePackage{amsfonts}
\RequirePackage{lastpage}
\RequirePackage{bbold}
\RequirePackage{xspace}
\RequirePackage{verbatim}
\RequirePackage{booktabs}
\RequirePackage{ifthen}
%%% Set the default typeface via a package.
\RequirePackage[T1]{fontenc}
\RequirePackage{mathpazo}
\RequirePackage[scaled=.90]{helvet}
%%% Use Latin Modern Typewriter as the monospace typeface.
\renewcommand{\ttdefault}{lmtt}
%%% Define a command for the advisor's name.
\newcommand{\@advisor}[1]{}
\newcommand{\advisor}[1]{\gdef\@advisor{#1}}
\global\let\@advisor\relax
\renewcommand{\@maketitle}{%
\newpage
\vspace*{-1in}
\noindent Harvey Mudd College \hfill Senior Thesis\par
\noindent Mathematics \hfill \@date\par
\begin{center}%
\let \footnote \thanks
{\LARGE \textbf{Research Proposal:\\\@title} \par}%
\bigskip
{\large \@author}\par
\bigskip
{\large Faculty Advisor: \@advisor}
\end{center}%
\thispagestyle{empty}
}
\endinput
\begin{center}%
\end{center}%
}
}