summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cmuthesis.cls45
-rw-r--r--cmuthesis_template.tex13
2 files changed, 30 insertions, 28 deletions
diff --git a/cmuthesis.cls b/cmuthesis.cls
index 9d633b1..61d2dd3 100644
--- a/cmuthesis.cls
+++ b/cmuthesis.cls
@@ -1,4 +1,5 @@
%% dkoes 5/10/2006
+%% rak 2021
\LoadClassWithOptions{amsbook}
@@ -15,9 +16,10 @@
%% titlepage parameters
%% required: title, author, date, Year, trnumber, committee
-%% optional: permission, support, disclaimer, keywords
+%% optional: permission, support, disclaimer, keywords, subtitle
\def\title#1{\gdef\@title{#1}}
+\def\subtitle#1{\gdef\@subtitle{#1}}
\def\author#1{\gdef\@author{#1}}
\def\date#1{\gdef\@date{#1}}
\def\Year#1{\gdef\@Year{#1}}
@@ -92,6 +94,7 @@
\vfill
\begin{center}
{\Large \strut \@title\par}
+\@ifundefined{@subtitle}{}{\large \strut \@subtitle\par}
\vfill
{\large \begin{tabular}[t]{c}\@author\end{tabular}\par}
\vfill
@@ -106,6 +109,7 @@
\vskip 3em
\begin{center}
+ Computer Science Department\\
School of Computer Science \\
Carnegie Mellon University \\
Pittsburgh, PA 15213
@@ -127,13 +131,14 @@
\@ifundefined{@permission}{\@copyrightnotice{Copyright \copyright\ \@Year\ \@author}}{\@copyrightnotice{Copyright \copyright\ \@Year\ \@author. \@permission}}
-\@ifundefined{@support}{}{{\medskip\footnotesize\noindent\@support\par}}
+\@ifundefined{@support}{}{{\medskip\footnotesize\begin{center}\noindent\parbox{5in}{\@support}\end{center}\par}}
-\@ifundefined{@disclaimer}{}{{\medskip\footnotesize\noindent\@disclaimer\par}}
+\@ifundefined{@disclaimer}{}{{\medskip\footnotesize\begin{center}\noindent\parbox{5in}{\@disclaimer}\end{center}\par}}
% keywords go at bottom of page ii (the rear of the titlepage)
% if keywords are omitted, this page is blank
+% abstract goes at top of page iii
% amsbook default textwidth / textheight is 30pc / 50.5pc (p. 10
% of amsclass manual). To save Catherine paper (and to allow us
@@ -146,6 +151,7 @@
\restoregeometry\thispagestyle{empty}
%\newgeometry{textwidth=32pc,textheight=53.9pc}\thispagestyle{empty}
\calclayout
+\vspace*{\fill}
\begin{center}
\ifx\@empty\@subjclass\else\@setsubjclass\fi
\ifx\@concepts\@empty\else\bgroup
@@ -154,7 +160,7 @@
\fi
\ifx\@empty\@keywords\else\@setkeywords\fi
\end{center}
-\vfil
+\clearpage
\@setabstract
}
@@ -164,21 +170,24 @@
\newenvironment{psuedochapter}[1]
- {\cleardoublepage
- \thispagestyle{empty}
- \vspace*{\stretch{1}}
- \begin{center} \large {\bf #1} \end{center}
-% \addcontentsline{toc}{chapter}{\numberline{}#1} --not yet mjz
- \begin{quotation}}
+{\cleardoublepage
+ \thispagestyle{empty}
+ \vspace*{\stretch{1}}
+ \begin{center} \large {\bf #1} \end{center}
+ \vspace{\medskipamount}
+ \begin{quotation}}
{\end{quotation}
- \vspace*{\stretch{3}}
- \clearpage}
+ \vspace*{\stretch{3}}
+ \clearpage}
- \newenvironment{acknowledgments}
- {\begin{psuedochapter}{Acknowledgments}}
- {\end{psuedochapter}}
+\newenvironment{acknowledgments}
+{\begin{psuedochapter}{Acknowledgments}}
+ {\end{psuedochapter}}
- \setlength{\textwidth}{32pc}
- \setlength{\textheight}{53.9pc}
- \calclayout \ No newline at end of file
+\setlength{\textwidth}{32pc}
+\setlength{\textheight}{53.9pc}
+\calclayout
+
+\renewcommand{\thesection}{\thechapter.\arabic{section}}
+\renewcommand{\thefigure}{\thechapter.\arabic{figure}} \ No newline at end of file
diff --git a/cmuthesis_template.tex b/cmuthesis_template.tex
index a33a2c6..6aa9213 100644
--- a/cmuthesis_template.tex
+++ b/cmuthesis_template.tex
@@ -34,14 +34,6 @@
]{hyperref}
\usepackage{subfigure}
-% Approximately 1" margins, more space on binding side
-%\usepackage[letterpaper,twoside,vscale=.8,hscale=.75,nomarginpar]{geometry}
-%for general printing (not binding)
-\PassOptionsToPackage{twoside}{geometry}
-\PassOptionsToPackage{vscale=.8}{geometry}
-\PassOptionsToPackage{hscale=.8}{geometry}
-\PassOptionsToPackage{nomarginpar}{geometry}
-\PassOptionsToPackage{hmarginratio=1:1}{geometry}
%% If you're versioning your thesis with Git (which you really should),
%% then the following lines will add a stamp at the bottom of each page
%% with the build time and current commit number. Very useful for
@@ -58,11 +50,12 @@
%% Comment them out if you do not want the stamp.
-\title{ %% {\it \huge Thesis Proposal}\\
- {\bf Awesome Work in Computer Science}}
+\title{Awesome Work in Computer Science}
\author{Me}
\date{January 3006}
+\email{me@cs.cmu.edu}
\Year{3006}
+% Email Catherine to request a tech report number
\trnumber{}
\committee{