% Georgia Tech thesis style -- modifications to the report style
% Adapted from suthesis.sty by Ahmed Gheith
% Modified by Joonwon Lee , Eilin Tien Lin
% Modified by Wei Liu
% Modified by Cody Watson, Davin Swanson
%
% this file must be called GTthesis.sty and stored where latex can find it
%
\RequirePackage{ifthen}
%\providecommand{\and}{\relax} % Make sure \and exists
%\global\def\and\relax
\long\def\comment#1{}
\comment{
Example of use:
\documentstyle[12pt,GTthesis]{report}
\title{How to Write Theses\\
With Two Line Titles}
\author{John Henry Candidate}
\bibfiles{litserch,oodb}
\spacing{1.7}
\principaladviser{John Parker}
\readerlist{John Green\and John Bigbooty(ME)\and...}
\begin{document}
\beforepreface
\prefacesection{Preface}
This thesis tells you all you need to know about...
\contents % print table of contents, figures and tables here.
\prefacesection{Acknowledgements}
I would like to thank...
\afterpreface
\chapter{Introduction}
...
\chapter{Conclusions}
...
\appendix
\chapter{A Long Proof}
...
\beforepostface
\postfacesection{Vita}
... was born in ...
\afterpostface
\end{document}
Documentation:
This style file modifies the standard report style to follow the
Graduate Program Offices's "Directions for Preparing Doctoral
Dissertations". It sets the margins, interline spacing, the figure
and table numbering style, and disallows page breaks at hyphens.
The \beforepreface command creates the title page, a copyright notice
(optionally), and a signature page. Then the user should put
preface section(s), using the \prefacesection{section title}
command. The \afterpreface command then produces the tables of
contents, tables and figures, and sets things up to start
the main body (on arabic page 1).
The following commands can control what goes in the front matter
material:
\title{thesis title}
\author{author's name}
\dept{author's department} % Computer Science if omitted
\degree{Degree Conferred} % Doctor of Philosophy if omitted
\principaladviser{the principal advisor's name}
(or \principaladvisor, if you prefer advisor spelled with o)
\firstreader{the first reader's name}
\secondreader{the second reader's name}
\thirdreader{the third reader's name}
\fourthreader{the fourth reader's name}
\submitdate{month year in which submitted to GPO}
- date LaTeX'd if omitted
\copyrightyear{year degree conferred (next year if submitted in Dec.)}
- year LaTeX'd (or next year, in December) if omitted
\titlepagetrue or \titlepagefalse
- produce or don't produce a title page (true by default)
\signaturepagetrue or \signaturepagefalse
- produce or don't produce a signature page (true by default)
\copyrighttrue or \copyrightfalse
- produce or don't produce a copyright notice(true by default)
\figurespagetrue or \figurespagefalse
- produce or don't produce a List of Figures page
(true by default)
\tablespagetrue or \tablespagefalse
- produce or don't produce a List of Tables page
(true by default)
\contentspagetrue or \contentspagefalse
- produce or don't produce a table of contents
(true by default)
\bibpagetrue or \bibpagefalse
- produce or don't produce a bibliograpgy
(true by default)
The \beforepostface starts the postface part of the document.
Then the user should put postface section(s), using the
\postfacesection{section title} command. The \afterpostface
command then produces the bibliography.
The following commands can control what goes into the bibliography.
\bibfiles{bibliogrphay files}
This style uses interline spacing that is 1.5 times normal, except
in the preface, postface and the figure and table environments where
normal spacing is used. That can be changed by doing:
\spacing{1.8}
(or whatever you want instead of 1.8) before the \beforepreface command
The example above shows the 12pt substyle being used. This seems to give
acceptable looking results, but it may be omitted to get smaller print.
}
\makeatletter
% We need 1" margins
\oddsidemargin 0.5in \evensidemargin 0in
\marginparwidth 40pt \marginparsep 10pt
% let's make the margins a little better... d.swanson
\topmargin 0.5in \headsep .5in
\textheight 8.5in \textwidth 6.0in
%\topmargin -0.2in \headsep .5in
%\textheight 8.1in \textwidth 6.0in
% define chapter headings
\def\@makechapterhead#1{
\protect\vspace*{1pt}
{
\parindent 0pt \center
\LARGE \bf
\baselineskip .4in
\ifnum \c@secnumdepth >\m@ne \uppercase{\@chapapp{}} \thechapter \\
\vskip 30pt
\fi #1\\
\nobreak
}
\vspace{30pt}
}
\def\@makeschapterhead#1{
\vspace*{1pt}
{ \parindent 0pt \center
\LARGE \bf #1\\
\nobreak }
\vspace{30pt} }
% Number subsubsections
\setcounter{secnumdepth}{3}
% Show subsubsections in table of contents
\setcounter{tocdepth}{3}
% Disallow page breaks at hyphens (this will give some underfull vbox's,
% so an alternative is to use \brokenpenalty=100 and manually search
% for and fix such page breaks)
\brokenpenalty=10000
% Use 1.0 times the normal baseline-to-baseline skip
%\renewcommand{\baselinestretch}{1.3}
% Figures and tables are to be numbered sequentially throughout the
% thesis, rather than within chapters; for style consistency, do
% equations the same. The following \def of \cl@chapter is a kludge:
% really there should be a \removefromreset, to stop figure numbers, etc.,
% from being reset at chapter beginnings
\def\cl@chapter{\@elt{section}\@elt{footnote}}
\def\thefigure{\@arabic\c@figure}
\def\thetable{\@arabic\c@table}
\def\theequation{\arabic{equation}}
% Redefine the macro used for floats (including figures and tables)
% so that single spacing is used.
% (Note \def\figure{\@float{figure}set single spacing} doesn't work
% because figure has an optional argument)
\def\@xfloat#1[#2]{\ifhmode \@bsphack\@floatpenalty -\@Mii\else
\@floatpenalty-\@Miii\fi\def\@captype{#1}\ifinner
\@parmoderr\@floatpenalty\z@
\else\@next\@currbox\@freelist{\@tempcnta\csname ftype@#1\endcsname
\multiply\@tempcnta\@xxxii\advance\@tempcnta\sixt@@n
\@tfor \@tempa :=#2\do
{\if\@tempa h\advance\@tempcnta \@ne\fi
\if\@tempa t\advance\@tempcnta \tw@\fi
\if\@tempa b\advance\@tempcnta 4\relax\fi
\if\@tempa p\advance\@tempcnta 8\relax\fi
}\global\count\@currbox\@tempcnta}\@fltovf\fi
\global\setbox\@currbox\vbox\bgroup
\def\baselinestretch{1}\@normalsize
\boxmaxdepth\z@
\hsize\columnwidth \@parboxrestore}
% Redefine the macro used for footnotes to use single spacing
\long\def\@footnotetext#1{\insert\footins{\def\baselinestretch{1}\footnotesize
\interlinepenalty\interfootnotelinepenalty
\splittopskip\footnotesep
\splitmaxdepth \dp\strutbox \floatingpenalty \@MM
\hsize\columnwidth \@parboxrestore
\edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
{\rule{\z@}{\footnotesep}\ignorespaces
#1\strut}}}
% \author, \title are defined in report; here are the rest of the
% front matter defining macros
\def\spacing#1{\gdef\@spacing{#1}}
\def\bibfiles#1{\gdef\@bibfiles{#1}}
\def\dept#1{\gdef\@dept{#1}}
\def\degree#1{\gdef\@degree{#1}}
\def\principaladviser#1{\gdef\@principaladviser{#1, Chairman}}
\def\advis@r{Adviser} % default spelling
\def\principaladvisor#1{\gdef\@principaladviser{#1}\gdef\advis@r{Advisor}}
\def\firstreader#1{\gdef\@firstreader{#1}}
\def\secondreader#1{\gdef\@secondreader{#1}}
\def\thirdreader#1{\gdef\@thirdreader{#1}}
\def\fourthreader#1{\gdef\@fourthreader{#1}}
\def\readerlist#1{\gdef\@readerlist{#1}}
\def\submitdate#1{\gdef\@submitdate{#1}}
\def\copyrightyear#1{\gdef\@copyrightyear{#1}} % \author, \title in report
\def\@title{}\def\@author{}\def\@dept{College of Computing}
\def\@degree{Doctor of Philosophy}
\def\@spacing{1.5}
\def\@bibfiles{}
\def\@principaladviser{}\def\@firstreader{}\def\@secondreader{}\def\@thirdreader{}\def\@fourthreader{}
\def\@readerlist{}
\def\@submitdate{\ifcase\the\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
\space \number\the\year}
% Stanford says that December theses should have the next year as the
% copyright year
\def\@copyrightyear{\number\the\year}
\newif\ifcopyright \newif\iftitlepage \newif\ifsignaturepage
\newif\iffigurespage \newif\iftablespage \newif\ifcontentspage \newif\ifbibpage
\titlepagetrue
\signaturepagetrue
\copyrighttrue
\figurespagetrue
\tablespagetrue
\contentspagetrue
\bibpagetrue
\def\titlep{%
\thispagestyle{empty}%
%\null\vskip1in%
\null\vskip0.5in%
% \null\vskip0.0in%
\begin{center}
% \vspace*{-0.25in}
{\Large\bf\expandafter{\@title}}\\
% \vspace*{0.25in}
\vspace*{1.35in}
A Thesis \\
Presented to\\
The Academic Faculty \\
\ \\
by \\
\ \\
% {\Large\bf{\@author}}\\
{\@author}\\
\vspace*{1.1in}
In Partial Fulfillment\\
of the Requirements for the Degree of\\
% Doctor of Philosophy in Computer Science
\@degree~in~\@dept
\vfill
Georgia Institute of Technology\\
\@submitdate\\
\ifcopyright
\vspace*{.3in}
Copyright \copyright\ \@copyrightyear\ by \@author\\
\fi
\end{center}
\cleardoublepage
}
\long\def\newsignature#1{%
\rule{3.3in}{.01in}\\
% \vspace*{0.08in}
\parbox{3.3in}{#1 \hfill}\\
\vspace{.25in}
}
\long\def\signature#1{%
\rule{3.3in}{.01in}\\
\parbox{3.3in}{#1 \hfill}\\
\vspace{.25in}
}
\def\signaturep{
% checking \@firstreader is cruddier than checking \@readerlist , but
% \and is giving trouble in the comparison
\ifthenelse{\equal{\@firstreader}{}}
{\signaturepnew} % Use the old method
{\signaturepold} % Use the new method
% \readlerlist{firstguy\and secondguy\and ...}
}
\def\signaturepold{%
\begin{center}
\vspace*{1.0in}
{\Large\bf\expandafter{\@title}}
%\vspace*{0.25in}
\end{center}
\vfill
\begin{flushright}
\parbox{3.3in}{\begin{flushleft}Approved:\\ \end{flushleft}}\\
\vspace*{0.3in}
\newsignature\@principaladviser
\signature\@firstreader
\signature\@secondreader
\signature\@thirdreader
\signature\@fourthreader
\vspace{.5in}
%\mbox{Date Approved by Chairman \rule{1in}{.01in}}\\
\mbox{Date Approved \rule{1in}{.01in}}\\
\end{flushright}
\thispagestyle{empty}
}
\def\signaturepnew{%
\begin{center}
\vspace*{1.0in}
{\Large\bf\expandafter{\@title}}
\end{center}
\vfill
\begin{flushright}
\parbox{3.3in}{\begin{flushleft}Approved:\\[.03125in]
\vspace*{0.3in}
\let\tempthing\and
\def\and{\hfill\\
\vspace{.25in}
\rule{3.3in}{.01in}\\
}
\newsignature\@principaladviser
% \signature\@principaladviser
\rule{3.3in}{.01in}\\
\@readerlist\hfill \\
\vspace{.25in}
\let\and\tempthing
\end{flushleft}}\\[-.125in]
\vspace{.5in}
\mbox{Date Approved \rule{1in}{.01in}}\\
\end{flushright}
\thispagestyle{empty}
}
\def\beforepreface{
\renewcommand{\baselinestretch}{1.0} \small \normalsize
\pagenumbering{roman}
\pagestyle{plain}
\iftitlepage\titlep\fi
\ifsignaturepage\signaturep\fi
\renewcommand{\baselinestretch}{\@spacing} \small \normalsize}
\def\prefacesection#1{%
\renewcommand{\baselinestretch}{\@spacing} \small \normalsize
\chapter*{#1}
\addcontentsline{toc}{chapter}{#1}}
% The \addvspace business below is to avoid the extra space that gets put
% in the tables of figures and tables between chapters (it makes no sense
% now that the numbering is continuous)
\def\afterpreface{\newpage
\pagenumbering{arabic}
\renewcommand{\baselinestretch}{\@spacing} \small \normalsize
\pagestyle{plain}}
\def\contents{\newpage
\renewcommand{\baselinestretch}{\@spacing} \small \normalsize
\ifcontentspage
\tableofcontents
\newpage
\fi
\iftablespage
{\addvspace{10pt}
\let\saveaddvspace=\addvspace
\def\addvspace##1{}
% Latest Rule: lot and lof should also appear in contents
\addcontentsline{toc}{chapter}{List of Tables}
\listoftables
\let\addvspace=\saveaddvspace}
\newpage
\fi
\iffigurespage
{\addvspace{10pt}
\let\saveaddvspace=\addvspace
\def\addvspace##1{}
% Latest Rule: lot and lof should also appear in contents
\addcontentsline{toc}{chapter}{List of Figures}
\listoffigures
\let\addvspace=\saveaddvspace}
\newpage
\fi}
\def\beforepostface{
\pagestyle{plain}}
\def\postfacesection#1{%
\renewcommand{\baselinestretch}{\@spacing} \small \normalsize
\chapter*{#1}
\addcontentsline{toc}{chapter}{#1}}
\def\afterpostface{
}
\def\references{
\ifbibpage
\newpage
\renewcommand{\baselinestretch}{1.0} \small \normalsize
\bibliographystyle{plain}
\addcontentsline{toc}{chapter}{Bibliography}
\bibliography{\@bibfiles}
\fi
}
\pagestyle{plain}
\makeatother
SGA
Welcome Page
Latest Update: 07.11.99