% % Thesis Style File Version 5 % This version by Jason Surace % Based on thesis4.sty by Joe Jensen, which is in turn based % on generations of grad students' hacks. % % It starts out with the most basic latex style definitions % (book.sty) and then starts layering on redefinitions and new % definitions. First, the AASTeX4 macros, and then custom stuff % near the end. % % Be warned! It works for_me_. YMMV. % Also be warned that it is better to alter stuff near the end, % and not near the beginning of the file. % Various redefinitions may rely on earlier definitions, and changing things % up front may have very hard-to-understand consequences later. % % %-------------------------------------------------------------------- % This is legacy code from % book.sty 13-Nov-89 % It works with LaTex 2.09 (on the public machines) % and has been modified to suppress the extra blank % pages that latex's book style adds everywhere. % This basic style file is the basis for the thesis5.sty file. % % Indicate the style file revision in the log % \typeout{Document Style `UH Thesis Macro Set 5b' <10 May 98>.} \def\@ptsize{0} \@namedef{ds@11pt}{\def\@ptsize{1}} \@namedef{ds@12pt}{\def\@ptsize{2}} % Changed "twoside" to be a command line option, rather than the default % Also added the option "doublemargins" in order to print with even/odd % margins but the same page numbering. % \def\ds@twoside{\@twosidetrue} \def\ds@doublemargins{\@doublemarginstrue} \@mparswitchtrue \def\ds@draft{\overfullrule 5pt} \@options \input bk1\@ptsize.sty\relax \def\labelenumi{\theenumi.} \def\theenumi{\arabic{enumi}} \def\labelenumii{(\theenumii)} \def\theenumii{\alph{enumii}} \def\p@enumii{\theenumi} \def\labelenumiii{\theenumiii.} \def\theenumiii{\roman{enumiii}} \def\p@enumiii{\theenumi(\theenumii)} \def\labelenumiv{\theenumiv.} \def\theenumiv{\Alph{enumiv}} \def\p@enumiv{\p@enumiii\theenumiii} \def\labelitemi{$\bullet$} \def\labelitemii{\bf --} \def\labelitemiii{$\ast$} \def\labelitemiv{$\cdot$} \def\verse{\let\\=\@centercr \list{}{\itemsep\z@ \itemindent -1.5em\listparindent \itemindent \rightmargin\leftmargin\advance\leftmargin 1.5em}\item[]} \let\endverse\endlist \def\quotation{\list{}{\listparindent 1.5em \itemindent\listparindent \rightmargin\leftmargin\parsep 0pt plus 1pt}\item[]} \let\endquotation=\endlist \def\quote{\list{}{\rightmargin\leftmargin}\item[]} \let\endquote=\endlist \def\descriptionlabel#1{\hspace\labelsep \bf #1} \def\description{\list{}{\labelwidth\z@ \itemindent-\leftmargin \let\makelabel\descriptionlabel}} \let\enddescription\endlist \newdimen\descriptionmargin \descriptionmargin=3em % removed the \newpages which supresses the blank page after the title \def\titlepage{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn \else \fi \thispagestyle{empty}\c@page\z@} \def\endtitlepage{\if@restonecol\twocolumn \else \fi} % similar to above, but turns on if twoside is set {\if@twoside \def\titlepage{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn \else \newpage \fi \thispagestyle{empty}\c@page\z@} \fi} \arraycolsep 5pt \tabcolsep 6pt \arrayrulewidth .4pt \doublerulesep 2pt \tabbingsep \labelsep \skip\@mpfootins = \skip\footins \fboxsep = 3pt \fboxrule = .4pt \newcounter{part} \newcounter {chapter} \newcounter {section}[chapter] \newcounter {subsection}[section] \newcounter {subsubsection}[subsection] \newcounter {paragraph}[subsubsection] \newcounter {subparagraph}[paragraph] \def\thepart {\Roman{part}} \def\thechapter {\arabic{chapter}} \def\thesection {\thechapter.\arabic{section}} \def\thesubsection {\thesection.\arabic{subsection}} \def\thesubsubsection {\thesubsection .\arabic{subsubsection}} \def\theparagraph {\thesubsubsection.\arabic{paragraph}} \def\thesubparagraph {\theparagraph.\arabic{subparagraph}} \def\@chapapp{Chapter} \def\part{\cleardoublepage \thispagestyle{plain} \if@twocolumn \onecolumn \@tempswatrue \else \@tempswafalse \fi \hbox{}\vfil \secdef\@part\@spart} \def\@part[#1]#2{\ifnum \c@secnumdepth >-2\relax \refstepcounter{part} \addcontentsline{toc}{part}{\thepart \hspace{1em}#1}\else \addcontentsline{toc}{part}{#1}\fi \markboth{}{} {\centering \ifnum \c@secnumdepth >-2\relax \huge\bf Part \thepart \par \vskip 20pt \fi \Huge \bf #2\par}\@endpart} \def\@endpart{\vfil\newpage \if@twoside \hbox{} \thispagestyle{empty} \newpage \fi \if@tempswa \twocolumn \fi} \def\@spart#1{{\centering \Huge \bf #1\par}\@endpart} \def\@pnumwidth{1.55em} \def\@tocrmarg {2.55em} \def\@dotsep{4.5} \setcounter{tocdepth}{2} \def\tableofcontents{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn \fi\chapter*{Contents\@mkboth{CONTENTS}{CONTENTS}} \@starttoc{toc}\if@restonecol\twocolumn\fi} \def\l@part#1#2{\addpenalty{-\@highpenalty} \addvspace{2.25em plus 1pt} \begingroup \@tempdima 3em \parindent \z@ \rightskip \@pnumwidth \parfillskip -\@pnumwidth {\large \bf \leavevmode #1\hfil \hbox to\@pnumwidth{\hss #2}}\par \nobreak \global\@nobreaktrue \everypar{\global\@nobreakfalse\everypar{}} \endgroup} \def\l@chapter#1#2{\addpenalty{-\@highpenalty} \vskip 1.0em plus 1pt \@tempdima 1.5em \begingroup \parindent \z@ \rightskip \@pnumwidth \parfillskip -\@pnumwidth \bf \leavevmode \advance\leftskip\@tempdima \hskip -\leftskip #1\nobreak\hfil \nobreak\hbox to\@pnumwidth{\hss #2}\par \penalty\@highpenalty \endgroup} \def\l@section{\@dottedtocline{1}{1.5em}{2.3em}} \def\l@subsection{\@dottedtocline{2}{3.8em}{3.2em}} \def\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}} \def\l@paragraph{\@dottedtocline{4}{10em}{5em}} \def\l@subparagraph{\@dottedtocline{5}{12em}{6em}} % Altered so that the list of figures and tables automatically % gets a TOC entry. % \def\listoffigures{{\addcontentsline{toc}{chapter}{List of Figures}}\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn \fi\chapter*{List of Figures\@mkboth {LIST OF FIGURES}{LIST OF FIGURES}}\@starttoc{lof}\if@restonecol \twocolumn\fi} \def\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} \def\listoftables{{\addcontentsline{toc}{chapter}{List of Tables}}\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn \fi\chapter*{List of Tables\@mkboth {LIST OF TABLES}{LIST OF TABLES}}\@starttoc{lot}\if@restonecol \twocolumn\fi} \let\l@table\l@figure \def\thebibliography#1{\chapter*{Bibliography\@mkboth {BIBLIOGRAPHY}{BIBLIOGRAPHY}}\list {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth \advance\leftmargin\labelsep \usecounter{enumi}} \def\newblock{\hskip .11em plus .33em minus .07em} \sloppy\clubpenalty4000\widowpenalty4000 \sfcode`\.=1000\relax} \let\endthebibliography=\endlist \newif\if@restonecol \def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi \columnseprule \z@ \columnsep 35pt\twocolumn[\@makeschapterhead{Index}] \@mkboth{INDEX}{INDEX}\thispagestyle{plain}\parindent\z@ \parskip\z@ plus .3pt\relax\let\item\@idxitem} \def\@idxitem{\par\hangindent 40pt} \def\subitem{\par\hangindent 40pt \hspace*{20pt}} \def\subsubitem{\par\hangindent 40pt \hspace*{30pt}} \def\endtheindex{\if@restonecol\onecolumn\else\clearpage\fi} \def\indexspace{\par \vskip 10pt plus 5pt minus 3pt\relax} \def\footnoterule{\kern-3\p@ \hrule width .4\columnwidth \kern 2.6\p@} \@addtoreset{footnote}{chapter} \long\def\@makefntext#1{\parindent 1em\noindent \hbox to 1.8em{\hss$^{\@thefnmark}$}#1} \setcounter{topnumber}{2} \def\topfraction{.7} \setcounter{bottomnumber}{1} \def\bottomfraction{.3} \setcounter{totalnumber}{3} \def\textfraction{.2} \def\floatpagefraction{.5} \setcounter{dbltopnumber}{2} \def\dbltopfraction{.7} \def\dblfloatpagefraction{.5} \long\def\@makecaption#1#2{ \vskip 10pt \setbox\@tempboxa\hbox{#1: #2} \ifdim \wd\@tempboxa >\hsize #1: #2\par \else \hbox to\hsize{\hfil\box\@tempboxa\hfil} \fi} \newcounter{figure}[chapter] \def\thefigure{\thechapter.\@arabic\c@figure} \def\fps@figure{tbp} \def\ftype@figure{1} \def\ext@figure{lof} \def\fnum@figure{Figure \thefigure} \def\figure{\@float{figure}} \let\endfigure\end@float \@namedef{figure*}{\@dblfloat{figure}} \@namedef{endfigure*}{\end@dblfloat} \newcounter{table}[chapter] \def\thetable{\thechapter.\@arabic\c@table} \def\fps@table{tbp} \def\ftype@table{2} \def\ext@table{lot} \def\fnum@table{Table \thetable} \def\table{\@float{table}} \let\endtable\end@float \@namedef{table*}{\@dblfloat{table}} \@namedef{endtable*}{\end@dblfloat} \def\maketitle{\begin{titlepage} \let\footnotesize\small \let\footnoterule\relax \setcounter{page}{0} \null \vfil \vskip 60pt \begin{center} {\LARGE \@title \par} \vskip 3em {\large \lineskip .75em \begin{tabular}[t]{c}\@author \end{tabular}\par} \vskip 1.5em {\large \@date \par} \end{center} \par \@thanks \vfil \null \end{titlepage} \setcounter{footnote}{0} \let\thanks\relax \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\maketitle\relax} \mark{{}{}} \def\ps@headings{\let\@mkboth\markboth \def\@oddfoot{}\def\@evenfoot{}\def\@evenhead{\rm \thepage\hfil \sl \leftmark}\def\@oddhead{\hbox{}\sl \rightmark \hfil \rm\thepage}\def\chaptermark##1{\markboth {\uppercase{\ifnum \c@secnumdepth >\m@ne \@chapapp\ \thechapter. \ \fi ##1}}{}}\def\sectionmark##1{\markright {\uppercase{\ifnum \c@secnumdepth >\z@ \thesection. \ \fi ##1}}}} \def\ps@myheadings{\let\@mkboth\@gobbletwo \def\@oddhead{\hbox{}\sl\rightmark \hfil \rm\thepage}\def\@oddfoot{}\def\@evenhead{\rm \thepage\hfil\sl\leftmark\hbox {}}\def\@evenfoot{}\def\chaptermark##1{}\def\sectionmark##1{}% \def\subsectionmark##1{}} \def\today{\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 \space\number\day, \number\year} \@addtoreset{equation}{chapter} \def\theequation{\thechapter.\arabic{equation}} \ps@headings \pagenumbering{arabic} \onecolumn % This is a new version of the caption command lifted directly from latex.tex % \def\captionnoentry{\refstepcounter\@captype \@dblarg{\@captionhack\@captype}} % In particular, the above definition of caption uses this submacro, % which has been altered such that it does not put an entry into the % List of Tables (LOT). % \long\def\@captionhack#1[#2]#3{\par \begingroup \@parboxrestore \normalsize \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par \endgroup} %------------------------------------------------------------------------- % This is mostly legacy code from % THESIS4.STY % Joe Jensen, Nov. 4, 1997 % based on the thesis.sty created by Jeff Goldader, modified by Tony Farnham. % Other significant contributions by Graham Knopp, Chris Dudley, and % Jason Surace. % % From Joe's comments: % % This style file will (eventually) take your journal manuscripts which work % with the AAS LaTeX macros version 4.0, and format them as chapters in % a University of Hawaii-compatible dissertation. Jeff's modifications were % based on an earlier version of the AAS macros; I have followed his lead % to produce a (hopefully) friendlier version compatible with aasms4.sty % % You should create a thesis LaTeX file like my thesis.tex % See thesis.tex for additional instructions. Note that I did not deal % with appendices, so I don't know if they work or not. % % Start with AAS macros. Look for places where I have added comments, % especially towards the end. I took the aas macros and redefine a bunch % of stuff at the end. There are lots of places in the macros that are % replaced at the end. %------------------------------------------------------------------------ % Converted by doc2sty Mon May 15 13:45:55 PDT 1995. % This file is not intended for human consumption. % AASPP4.STY -- AAS preprint substyle definition for LaTeX. \def\revtex@ver{4.0} \def\revtex@date{25 Apr 95} \def\revtex@org{AAS} \def\revtex@jnl{AAS} % Define new commands that set the different body options \newcommand{\prelimpages}{ \renewcommand{\textfraction}{0.0} \def\thepage{\roman{page}} } \newcommand{\mainbody}{ \cleardoublepage \setcounter{page}{1} \def\thepage{\arabic{page}} \addtocontents{toc}{\protect\addvspace{10pt}} } %Do you want to credit the AAS macros at the end of each chapter? %If so, use \aascredit in the main tex file \def\revtex@genre{chapter} \def\revtex@pageid{\xdef\@thefnmark{\null} %\newcommand{\aascredit}{\@footnotetext{This \revtex@genre\space was prepared with a modified %version of the \revtex@org\space \LaTeX\ macros v\revtex@ver.}} } \def\genre@PP{Thesis Chapter} \def\genre@PP{preprint} \ifx\revtex@genre\genre@PP \ifnum\@ptsize<1 \typeout{Warning: Undersize \revtex@genre\space font (1\@ptsize\space pts). Use 11pt or 12pt documentstyle option.} \fi \fi \def\ps@plaintop{\let\@mkboth\@gobbletwo \def\@oddfoot{}\def\@oddhead{\rm\hfil--\space\thepage\space--\hfil} \def\@evenfoot{}\let\@evenhead\@oddhead} \ps@plaintop \pretolerance=10000 \@rightskip=\z@ plus 4em\rightskip\@rightskip \textwidth=6.5in \textheight=8.4in \topmargin=0in \headheight=.15in \headsep=.35in \oddsidemargin=0in \evensidemargin=0in \parindent=2em \parskip=1.5ex \def\@tightleading{1.1} \def\@doubleleading{1.6} \def\baselinestretch{\@doubleleading} \def\tighten{\def\baselinestretch{\@tightleading}} \let\tightenlines=\tighten \def\singlespace{\def\baselinestretch{\@tightleading}\normalsize} \def\doublespace{\def\baselinestretch{\@doubleleading}\normalsize} \def\sec@upcase#1{\relax{#1}} \def\eqsecnum{ \@newctr{equation}[section] \def\theequation{\hbox{\normalsize\arabic{section}-\arabic{equation}}}} \tighten \def\@journalname{The Astropolitical Journal} \def\cpr@holder{American Astronomical Society} \def\received#1{\gdef\@recvdate{#1}} \received{} \def\accepted#1{\gdef\@accptdate{#1}} \accepted{} \def\revised#1{\gdef\@revisedate{#1}} \revised{} \def\journalid#1#2{\gdef\@jourvol{#1}\gdef\@jourdate{#2}} \def\articleid#1#2{\gdef\@startpage{#1}\gdef\@finishpage{#2}} \def\paperid#1{\gdef\@paperid{#1}} \paperid{MS-0001-SAMP} \def\ccc#1{\gdef\CCC@code{#1}} \ccc{000-00\$75.95-CDB} \def\cpright#1#2{\@nameuse{cpr@#1} \gdef\cpr@year{#2} \typeout{`#1' copyright \cpr@year.}} \newcount\@cprtype \@cprtype=\@ne \def\cpr@AAS{\@cprtype=1} \def\cpr@PD{\@cprtype=2} \def\cpr@Crown{\@cprtype=3} \def\cpr@none{\@cprtype=4} \def\cpr@ASP{\@cprtype=5} \def\cpr@year{\number\year} \def\@slug{\par\noindent \ifcase\@cprtype \relax \or Copyright \cpr@year\space by the \cpr@holder. \or This article is in the public domain. \or Crown copyright \cpr@year\space by the \cpr@holder. \or No copyright is claimed for this article. \or Copyright \cpr@year\space by the ASP. \fi \par\noindent Manuscript number \@paperid.\par\noindent \CCC@code } \def\lefthead#1{\gdef\@versohead{#1}} \lefthead{\relax} \def\righthead#1{\gdef\@rectohead{#1}} \righthead{\relax} % % \def\@runheads{\@tempcnta\c@page \@whilenum \@tempcnta >0\do{ \vskip 3ex \hbox to30pc{\small\expandafter\uppercase\expandafter{\@versohead}: \expandafter\uppercase\expandafter{\@rectohead}\hfil} \advance\@tempcnta by\m@ne} } \def\slugcomment#1{\gdef\slug@comment{#1}} \slugcomment{} \newdimen\@slugcmmntwidth \@slugcmmntwidth .67\textwidth \long\def\@makeslugcmmnt{\ifx\slug@comment\@empty\relax\else \setbox\@tempboxa\hbox{\slug@comment} \ifdim \wd\@tempboxa >\@slugcmmntwidth \hbox to\textwidth{\hss \parbox\@slugcmmntwidth\slug@comment} \else \hbox to\textwidth{\hfil\box\@tempboxa} \fi \vskip 2ex \fi} \def\@rcvaccrule{\vrule\@width1.75in\@height0.5pt\@depth\z@} \def\@dates{{Received}\space% \ifx\@empty\@recvdate\@rcvaccrule\else\@recvdate\fi;% \hspace{1.5em}{accepted}\space% \ifx\@empty\@accptdate\@rcvaccrule\else\@accptdate\fi% } \def\sluginfo{{\center \@dates \endcenter}} \let\dates=\sluginfo \def\abstract{ \begin{center} {\bf{ABSTRACT}} \end{center} \quotation } % Removing this part of aaspp4.sty %\def\title#1{\@makeslugcmmnt{\center\large\bf{#1}\endcenter} %\thispagestyle{empty}} %\def\author#1{{\topsep\z@\center\normalsize#1\endcenter}} %\let\authoraddr=\@gobble %\let\authoremail=\@gobble %\def\affil#1{\vspace*{-2.5ex}{\topsep\z@\center#1\endcenter}} %\def\altaffilmark#1{$^{#1}$} %\def\altaffiltext#1#2{\footnotetext[#1]{#2}\stepcounter{footnote}} %\def\and{\vspace*{-0.5ex}{\topsep\z@\center and\endcenter}} \def\@keywordtext{Subject headings} \def\@keyworddelim{---} \def\keywords#1{\vspace*{-.7ex} \if@twocolumn\noindent{{\it\@keywordtext:\/}\space\@kwds{#1}} \else{\quote{\it\@keywordtext:\/}\space\@kwds{#1}\endquote} \fi} \let\subjectheadings=\keywords \def\@kwds#1{#1\relax} \skip\footins 4ex plus 1ex minus .5ex \footnotesep 3ex \def\notetoeditor#1{}% \newif\if@firstsection \@firstsectiontrue \def\section{\if@firstsection \@firstsectionfalse\fi \@startsection {section}{1}{\z@} {5ex plus .5ex}{1ex plus .2ex}{\normalsize\bf}} \def\subsection{\@startsection{subsection}{2}{\z@} {5ex plus .5ex}{1ex plus .2ex}{\normalsize\bf}} \def\subsubsection{\@startsection{subsubsection}{3}{\z@} {5ex plus .5ex}{1ex plus .2ex}{\normalsize\it}} \def\thesection{\@arabic{\c@section}} \def\thesubsection{\thesection.\@arabic{\c@subsection}} \def\thesubsubsection{\thesubsection.\@arabic{\c@subsubsection}} \def\theparagraph{\thesubsubsection.\@arabic{\c@paragraph}} \def\acknowledgments{\vskip 3ex plus .8ex minus .4ex} \let\acknowledgements=\acknowledgments \def\@sect#1#2#3#4#5#6[#7]#8{\ifnum #2>\c@secnumdepth \def\@svsec{}\else \refstepcounter{#1}\edef\@svsec{\csname the#1\endcsname.\hskip 1em }\fi \@tempskipa #5\relax \ifdim \@tempskipa>\z@ \begingroup \centering#6\relax \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty \@M \sec@upcase{#8}\par}% \endgroup \csname #1mark\endcsname{#7}\addcontentsline {toc}{#1}{\ifnum #2>\c@secnumdepth \else \protect\numberline{\csname the#1\endcsname}\fi #7}\else \def\@svsechd{#6\hskip #3\@svsec \sec@upcase{#8}\csname #1mark\endcsname {#7}\addcontentsline {toc}{#1}{\ifnum #2>\c@secnumdepth \else \protect\numberline{\csname the#1\endcsname}\fi #7}}\fi \@xsect{#5}} \def\@ssect#1#2#3#4#5{\@tempskipa #3\relax \ifdim \@tempskipa>\z@ \begingroup #4\centering\@hangfrom{\hskip #1}{\interlinepenalty \@M \sec@upcase{#5}\par}\endgroup \else \def\@svsechd{#4\hskip #1\relax \sec@upcase{#5}}\fi \@xsect{#3}} \def\appendix{\par \setcounter{section}{0} \setcounter{subsection}{0} \setcounter{equation}{0} \def\thesection{\Alph{section}} \@ifundefined{documentclass} {\def\theequation{\normalsize\hbox{\Alph{section}\arabic{equation}}}} {\def\theequation{\hbox{\Alph{section}\arabic{equation}}}} \def\section{\setcounter{equation}{0} \@startsection {section}{1}{\z@} {5ex plus .5ex}{1ex plus .2ex}{\normalsize\bf}}} \newcounter{cureqno} \newenvironment{mathletters}{\refstepcounter{equation}% \setcounter{cureqno}{\value{equation}}% \let\@curtheeqn\theequation% \edef\cur@eqn{\theequation}% \def\theequation{\cur@eqn\alph{equation}}% \setcounter{equation}{0}}% {\let\theequation\@curtheeqn% \setcounter{equation}{\value{cureqno}}} \def\eqnum#1{\def\theequation{#1}\let\@currentlabel\theequation \addtocounter{equation}{\m@ne}} \def\references{\subsection*{REFERENCES} \bgroup\parindent=\z@\parskip=\itemsep \def\refpar{\par\hangindent=3em\hangafter=1}} \def\endreferences{\refpar\egroup\revtex@pageid} \def\thebibliography#1{\subsection*{REFERENCES} \list{\null}{\leftmargin 3em\labelwidth\z@\labelsep\z@\itemindent -3em \usecounter{enumi}} \def\refpar{\relax} \def\newblock{\hskip .11em plus .33em minus .07em} \sloppy\clubpenalty4000\widowpenalty4000 \sfcode`\.=1000\relax} \def\endthebibliography{\endlist\revtex@pageid} \def\@biblabel#1{\relax} \def\@cite#1#2{#1\if@tempswa , #2\fi} \def\reference{\@ifnextchar\bgroup {\@reference} {\@latexerr{Missing key on reference command} {Each reference command should have a key corresponding to a markcite somewhere in the text}}} \def\@reference#1{\relax\refpar} \def\markcite{\@ifnextchar\bgroup{\@markcite} {\@latexerr{Missing key on markcite command} {Each markcite command should have a key corresponding to a reference somewhere in the references section}}} \def\@markcite#1{\relax} \def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi \def\@citea{}\@cite{\@for\@citeb:=#2\do {\@citea\def\@citea{,\penalty\@m\ }\@ifundefined {b@\@citeb}{\@warning {Citation `\@citeb' on page \thepage \space undefined}}% {\csname b@\@citeb\endcsname}}}{#1}} \setcounter{topnumber}{7} \def\tablenotemark#1{\rlap{$^{\rm #1}$}} \newtoks\@temptokenb \def\tblnote@list{} \def\tablenotetext#1#2{ \@temptokena={\vspace{.5ex}{\noindent\llap{$^{#1}$}#2}\par} \@temptokenb=\expandafter{\tblnote@list} \xdef\tblnote@list{\the\@temptokenb\the\@temptokena}} \def\spew@tblnotes{ \ifx\tblnote@list\@empty\relax \else \vspace{4.5ex} \footnoterule \vspace{.5ex} {\footnotesize\tblnote@list} \gdef\tblnote@list{} \fi} \def\endtable{\spew@tblnotes\end@float} \@namedef{endtable*}{\spew@tblnotes\end@dblfloat} \let\tableline=\hline \long\def\@makecaption#1#2{\vskip 2ex\noindent #1 #2\par} \def\tablenum#1{\def\thetable{#1}\let\@currentlabel\thetable \addtocounter{table}{\m@ne}} \def\figurenum#1{\def\thefigure{#1}\let\@currentlabel\thefigure \addtocounter{figure}{\m@ne}} \let\placetable=\@gobble \let\placefigure=\@gobble \let\placeplate=\@gobble \def\figcaption{\@ifnextchar[{\@xfigcaption}{\@figcaption}} \def\@figcaption#1{{\def\@captype{figure}\caption{#1}}} \def\@xfigcaption[#1]#2{{\def\@captype{figure}\caption{#2}}} \def\dummytable{\refstepcounter{table}} \newbox\pt@box \newdimen\pt@width \newcount\pt@line \newcount\pt@column \newcount\pt@nlines \newcount\pt@ncol \newcount\pt@page \def\colhead#1{\multicolumn{1}{c}{#1}\pt@addcol} \def\tablecolumns#1{\pt@column=#1\pt@ncol=#1\gdef\pt@addcol{\relax}} \def\tablecaption#1{\gdef\pt@caption{#1}} \def\pt@caption{\relax} \def\tablehead#1{\gdef\pt@head{\hline\hline\relax\\[-1.7ex] #1\hskip\tabcolsep\\[.7ex]\hline\relax\\[-1.5ex]}} \def\pt@head{\relax} \def\tabletail#1{\gdef\pt@tail{#1}} \def\pt@tail{\relax} \def\tablewidth#1{\pt@width=#1} \pt@width\textwidth \def\tableheadfrac#1{\gdef\pt@headfrac{#1}} \def\pt@headfrac{.1} \def\pt@calcnlines{\@tempdima\pt@headfrac\textheight \@tempdimb\textheight\advance\@tempdimb by-\@tempdima \@tempdima\arraystretch\baselineskip \divide\@tempdimb by\@tempdima \global\pt@nlines\@tempdimb} \def\pt@tabular{\hbox \bgroup $\let\@acol\@ptabacol \let\@classz\@tabclassz \let\@classiv\@tabclassiv \let\\\@tabularcr\@tabarray} \def\@ptabacol{\edef\@preamble{\@preamble \hskip \tabcolsep\tabskip\fill}} \def\fnum@ptable{Table \thetable} \def\fnum@ptablecont{Table \thetable---{\rm Continued}} \newdimen\pt@tmpcapwidth \def\set@mkcaption{\long\def\@makecaption##1##2{\ifdim\pt@width>\z@% \pt@tmpcapwidth\pt@width\else\pt@tmpcapwidth\textwidth\fi% \center\parbox{\pt@tmpcapwidth}{\center\rm##1.\quad##2\endcenter}% \endcenter}} \def\set@mkcaptioncont{\long\def\@makecaption##1##2{ \center\rm##1\endcenter\vskip 2.5ex}} \newenvironment{deluxetable}[1]{\def\pt@format{\string#1}% \set@tblnotetext\global\pt@ncol=0\global\pt@column=0\global\pt@page=1% \def\pt@addcol{\global\advance\pt@ncol by\@ne}}% {% \pt@width\wd\pt@box\box\pt@box\spew@ptblnotes% \typeout{Page \the\pt@page\space of table \thetable\space has been set to width \the\pt@width\space with \the\pt@nlines\space lines per page}% \endcenter\end@float} \let\planotable=\deluxetable \let\endplanotable=\enddeluxetable \def\startdata{\pt@line=0\pt@calcnlines% \ifdim\pt@width>\z@\def\@halignto{to \pt@width}\else\def\@halignto{}\fi% \let\fnum@table=\fnum@ptable\set@mkcaption% \@float{table}\center\caption{\pt@caption}\leavevmode% \setbox\pt@box=\pt@tabular{\pt@format}\pt@head} \def\enddata{\crcr\noalign{\vskip .7ex}\hline\endtabular} \def\pt@nl{\global\advance\pt@line by\@ne% \ifnum\pt@line=\pt@nlines% \endtabular\pt@width\wd\pt@box\box\pt@box \typeout{Page \the\pt@page\space of table \thetable\space has been set to width \the\pt@width}% \global\advance\pt@page by\@ne% \endcenter\end@float\clearpage% \addtocounter{table}{\m@ne}% \let\fnum@table=\fnum@ptablecont\set@mkcaptioncont% % This is the problem area where continuing tables % get their extra entries, so a hacked version of the \caption % command is used. % \@float{table}\center\captionnoentry{\pt@caption}\leavevmode% \global\pt@ncol=\pt@column \global\pt@line=0% \setbox\pt@box=\pt@tabular{\pt@format}\pt@head% \else\\ \fi} \let\nl=\pt@nl \let\nextline=\pt@nl \def\tablevspace#1{\noalign{\vskip#1}} \def\tablebreak{\pt@line\pt@nlines\advance\pt@line by\m@ne\pt@nl} \def\cutinhead#1{\noalign{\vskip 1.5ex} \hline\pt@nl\noalign{\vskip -2.0ex} \multicolumn{\pt@ncol}{c}{#1}\pt@nl \noalign{\vskip .8ex} \hline\pt@nl\noalign{\vskip -2ex}} \def\sidehead#1{\noalign{\vskip 1.5ex} \multicolumn{\pt@ncol}{@{\hskip\z@}l}{#1}\pt@nl \noalign{\vskip .5ex}} \def\set@tblnotetext{\def\tablenotetext##1##2{{% \@temptokena={{\parbox{\pt@width}{\hskip1em$^{\rm ##1}$##2}}\par}% \@temptokenb=\expandafter{\tblnote@list} \xdef\tblnote@list{\the\@temptokenb\the\@temptokena}}}} \def\spew@ptblnotes{ \ifx\tblnote@list\@empty\relax \else \par \vspace{2ex} {\parskip=1.5ex% \tblnote@list} \gdef\tblnote@list{} \fi} \def\tablerefs#1{\@temptokena={\vspace*{3ex}{% \parbox{\pt@width}{\hskip1em\rm References. --- #1}\par}}% \@temptokenb=\expandafter{\tblnote@list} \xdef\tblnote@list{\the\@temptokenb\the\@temptokena}} \def\tablecomments#1{\@temptokena={\vspace*{3ex}{% \parbox{\pt@width}{\hskip1em\rm Note. --- #1}\par}}% \@temptokenb=\expandafter{\tblnote@list} \xdef\tblnote@list{\the\@temptokenb\the\@temptokena}} % Plate macros % \newcounter{plate} \def\theplate{\@arabic\c@plate} \def\fps@plate{bp} \def\ftype@plate{4} \def\ext@plate{lof} \def\fnum@plate{{\bf Plate \theplate.}} \def\plate{\@float{plate}} \let\endplate\end@float \@namedef{plate*}{\@dblfloat{plate}} \@namedef{endplate*}{\end@dblfloat} \let\platewidth=\tablewidth \def\platenum#1{\def\theplate{#1}\let\@currentlabel\theplate \addtocounter{plate}{\m@ne}} % Figure macros % \def\thefigure{\@arabic\c@figure} \def\fnum@figure{{\rm Fig.\space\thefigure.---}} \def\thetable{\@arabic\c@table} \def\fnum@table{{\rm Table \thetable:}} \def\fps@figure{bp} \def\fps@table{bp} \@ifundefined{epsfbox}{\@input{epsf.sty}}{\relax} \def\eps@scaling{.95} \def\epsscale#1{\gdef\eps@scaling{#1}} \def\plotone#1{\centering \leavevmode \epsfxsize=\eps@scaling\columnwidth \epsfbox{#1}} \def\plottwo#1#2{\centering \leavevmode \epsfxsize=.45\columnwidth \epsfbox{#1} \hfil \epsfxsize=.45\columnwidth \epsfbox{#2}} \def\plotfiddle#1#2#3#4#5#6#7{\centering \leavevmode \vbox to#2{\rule{0pt}{#2}} \special{psfile=#1 voffset=#7 hoffset=#6 vscale=#5 hscale=#4 angle=#3}} % Journal name macros % \let\jnl@style=\rm \def\ref@jnl#1{{\jnl@style#1}} \def\aj{\ref@jnl{AJ}} \def\araa{\ref@jnl{ARA\&A}} \def\apj{\ref@jnl{ApJ}} \def\apjl{\ref@jnl{ApJ}} \def\apjs{\ref@jnl{ApJS}} \def\ao{\ref@jnl{Appl.~Opt.}} \def\apss{\ref@jnl{Ap\&SS}} \def\aap{\ref@jnl{A\&A}} \def\aapr{\ref@jnl{A\&A~Rev.}} \def\aaps{\ref@jnl{A\&AS}} \def\azh{\ref@jnl{AZh}} \def\baas{\ref@jnl{BAAS}} \def\jrasc{\ref@jnl{JRASC}} \def\memras{\ref@jnl{MmRAS}} \def\mnras{\ref@jnl{MNRAS}} \def\pra{\ref@jnl{Phys.~Rev.~A}} \def\prb{\ref@jnl{Phys.~Rev.~B}} \def\prc{\ref@jnl{Phys.~Rev.~C}} \def\prd{\ref@jnl{Phys.~Rev.~D}} \def\pre{\ref@jnl{Phys.~Rev.~E}} \def\prl{\ref@jnl{Phys.~Rev.~Lett.}} \def\pasp{\ref@jnl{PASP}} \def\pasj{\ref@jnl{PASJ}} \def\qjras{\ref@jnl{QJRAS}} \def\skytel{\ref@jnl{S\&T}} \def\solphys{\ref@jnl{Sol.~Phys.}} \def\sovast{\ref@jnl{Soviet~Ast.}} \def\ssr{\ref@jnl{Space~Sci.~Rev.}} \def\zap{\ref@jnl{ZAp}} \def\nat{\ref@jnl{Nature}} \def\iaucirc{\ref@jnl{IAU~Circ.}} \def\aplett{\ref@jnl{Astrophys.~Lett.}} \def\apspr{\ref@jnl{Astrophys.~Space~Phys.~Res.}} \def\bain{\ref@jnl{Bull.~Astron.~Inst.~Netherlands}} \def\fcp{\ref@jnl{Fund.~Cosmic~Phys.}} \def\gca{\ref@jnl{Geochim.~Cosmochim.~Acta}} \def\grl{\ref@jnl{Geophys.~Res.~Lett.}} \def\jcp{\ref@jnl{J.~Chem.~Phys.}} \def\jgr{\ref@jnl{J.~Geophys.~Res.}} \def\jqsrt{\ref@jnl{J.~Quant.~Spec.~Radiat.~Transf.}} \def\memsai{\ref@jnl{Mem.~Soc.~Astron.~Italiana}} \def\nphysa{\ref@jnl{Nucl.~Phys.~A}} \def\physrep{\ref@jnl{Phys.~Rep.}} \def\physscr{\ref@jnl{Phys.~Scr}} \def\planss{\ref@jnl{Planet.~Space~Sci.}} \def\procspie{\ref@jnl{Proc.~SPIE}} \let\astap=\aap \let\apjlett=\apjl \let\apjsupp=\apjs \let\applopt=\ao % AAS defined symbols and other macros % \def\phn{\phantom{0}} \def\phd{\phantom{.}} \def\phs{\phantom{$-$}} \def\phm#1{\phantom{#1}} \def\sun{\hbox{$\odot$}} \def\earth{\hbox{$\oplus$}} \def\lesssim{\mathrel{\hbox{\rlap{\hbox{\lower4pt\hbox{$\sim$}}}\hbox{$<$}}}} \def\gtrsim{\mathrel{\hbox{\rlap{\hbox{\lower4pt\hbox{$\sim$}}}\hbox{$>$}}}} \def\sq{\hbox{\rlap{$\sqcap$}$\sqcup$}} \def\arcdeg{\hbox{$^\circ$}} \def\arcmin{\hbox{$^\prime$}} \def\arcsec{\hbox{$^{\prime\prime}$}} \def\fd{\hbox{$.\!\!^{\rm d}$}} \def\fh{\hbox{$.\!\!^{\rm h}$}} \def\fm{\hbox{$.\!\!^{\rm m}$}} \def\fs{\hbox{$.\!\!^{\rm s}$}} \def\fdg{\hbox{$.\!\!^\circ$}} \def\farcm{\hbox{$.\mkern-4mu^\prime$}} \def\farcs{\hbox{$.\!\!^{\prime\prime}$}} \def\fp{\hbox{$.\!\!^{\scriptscriptstyle\rm p}$}} \def\micron{\hbox{$\mu$m}} \let\la=\lesssim \let\ga=\gtrsim \def\case#1#2{\hbox{$\frac{#1}{#2}$}} \def\slantfrac#1#2{\hbox{$\,^#1\!/_#2$}} \def\onehalf{\slantfrac{1}{2}} \def\onethird{\slantfrac{1}{3}} \def\twothirds{\slantfrac{2}{3}} \def\onequarter{\slantfrac{1}{4}} \def\threequarters{\slantfrac{3}{4}} \def\ubvr{\hbox{$U\!BV\!R$}} \def\ub{\hbox{$U\!-\!B$}} \def\bv{\hbox{$B\!-\!V$}} \def\vr{\hbox{$V\!-\!R$}} \def\ur{\hbox{$U\!-\!R$}} \def\ion#1#2{#1$\;${\small\rm\@Roman{#2}}\relax} \def\nodata{ ~$\cdots$~ } \newcount\lecurrentfam \def\LaTeX{\lecurrentfam=\the\fam \leavevmode L\raise.42ex \hbox{$\fam\lecurrentfam\scriptstyle\kern-.3em A$}\kern-.15em\TeX} \def\sizrpt{ (\fontname\the\font): em=\the\fontdimen6\font, ex=\the\fontdimen5\font \typeout{ (\fontname\the\font): em=\the\fontdimen6\font, ex=\the\fontdimen5\font }} %------------------------------------------------------------------------- % OK, I (JBJ) am going to redifine stuff here. The rest is new, not from the % AAS macros. %Left-justify (comment this line out to get ragged-right) \rightskip=0em %Numbering at the bottom of the page \def\ps@plainbottom{\let\@mkboth\@gobbletwo \def\@oddfoot{\rm\hfil\space\thepage\space\hfil} \def\@oddhead{} \def\@evenfoot{\rm\hfil\space\thepage\space\hfil} \def\@evenhead{}} \ps@plainbottom %Disable hyphenation--TeX hyphenates well but you don't really need it %and output looks good without it. This way you avoid silly university %rules that disallow more than three hyphenations per page. \pretolerance=10000 %Redefine heading styles (chapters in book style) \def\@makechapterhead#1{% {\parindent \z@ \centering \ifnum \c@secnumdepth >\m@ne \bf \@chapapp{} \thechapter \par \fi \bf#1\par \nobreak }} \def\@makeschapterhead#1{% {\parindent \z@ \centering \bf #1\par \nobreak \vskip 40\p@ }} \def\contentsname{TABLE OF CONTENTS} %Command to try to avoid leaving widows and orphans %sometimes this fails to produce pretty output when you have %lots of short subsections. \widowpenalty=10000 \clubpenalty=10000 %Uncomment to make footnotesize same as normalsize %let\footnotesize=\normalsize %Page layout modifications: \textwidth=6.0in \textheight=8.5in \topmargin=0in \headheight=0in \headsep=0in \oddsidemargin=0.5in % since twoside now works properly, I have % changed \evensidemargin=0.5in to \evensidemargin=0.0in \parindent=2em \parskip=1.3ex %\flushbottom %Define line spacing (double-spaced default) \def\@tightleading{1.0} \def\@doubleleading{1.6} \def\baselinestretch{\@doubleleading} %\def\baselinestretch{\@tightleading} %use \tighten in the preamble to get the whole thing single-spaced \def\tighten{\def\baselinestretch{\@tightleading}} \let\tightenlines=\tighten %use \singlespace to change within the manuscript (this is the main reason %for including aaspp4.sty instead of aasms4.sty--I wanted single-spaced %figure captions and tables, and ms double spaces everything (I think)). \gdef\singlespace{\renewcommand{\baselinestretch}{\@tightleading}\normalsize} \gdef\doublespace{\renewcommand{\baselinestretch}{\@doubleleading}\normalsize} \gdef\singlespacesmall{\renewcommand{\baselinestretch}{\@tightleading}\small} \gdef\singlespacefoot{\renewcommand{\baselinestretch}{\@tightleading}\footnotesize} % Redefine title as chapter, abstract as the first section, and get rid of % author info not needed at the beginning of the chapter % %\def\title{\chapter} \def\chabstract{\section{Abstract}} %\let\author=\@gobble \let\authoraddr=\@gobble \let\authoremail=\@gobble \let\affil=\@gobble \let\altaffilmark=\@gobble \let\altaffiltext=\@gobble \def\and{\null} % Redefine section labels to comply with UH requirements % \def\thesection{\thechapter.\@arabic{\c@section}} \def\thesubsection{\thesection.\@arabic{\c@subsection}} \def\thesubsubsection{\thesubsection.\@arabic{\c@subsubsection}} \def\theparagraph{\thesubsubsection.\@arabic{\c@paragraph}} \def\@sect#1#2#3#4#5#6[#7]#8{\ifnum #2>\c@secnumdepth \def\@svsec{}\else \refstepcounter{#1}\edef\@svsec{\csname the#1\endcsname.\hskip 1em }\fi \@tempskipa #5\relax \ifdim \@tempskipa>\z@ \begingroup #6\relax \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty \@M \sec@upcase{#8}\par}% \endgroup \csname #1mark\endcsname{#7}\addcontentsline {toc}{#1}{\ifnum #2>\c@secnumdepth \else \protect\numberline{\csname the#1\endcsname}\fi #7}\else \def\@svsechd{#6\hskip #3\@svsec \sec@upcase{#8}\csname #1mark\endcsname {#7}\addcontentsline {toc}{#1}{\ifnum #2>\c@secnumdepth \else \protect\numberline{\csname the#1\endcsname}\fi #7}}\fi \@xsect{#5}} \def\@ssect#1#2#3#4#5{\@tempskipa #3\relax \ifdim \@tempskipa>\z@ \begingroup #4\@hangfrom{\hskip #1}{\interlinepenalty \@M \sec@upcase{#5}\par}\endgroup \else \def\@svsechd{#4\hskip #1\relax \sec@upcase{#5}}\fi \@xsect{#3}} %Lets get the table and figure numbering right \def\thefigure{\thechapter.\@arabic\c@figure} \def\fnum@figure{{\rm Fig.\space\thefigure.---}} \def\thetable{\thechapter.\@arabic\c@table} \def\fnum@table{{\rm Table \thetable:}} %Figure caption line spacing: %I like single-spaced figure captions. Comment this line if you don't. \long\def\@makecaption#1#2{\singlespace\LARGE \normalsize \vskip 2ex\noindent #1 #2\par} %----------------------------------------------------------------------------- % From here forward was legacy code originally found in cover.sty % With extensive modifications made by JAS % \def\fps@table{ht!} % Define the appendix to be included inside a chapter % Note that (a) this section doesn't work right, and % (b) I don't think grad division allows an appendix _inside_ % a thesis chapter! % If you use this, you must remember to reset the \thesection % back to arabic when you are done % %\def\appendix{\par %\setcounter{section}{0} %\setcounter{subsection}{0} %\setcounter{equation}{0} %\def\thesection{\thechapter.\Alph{section}}} % Therefore, I will instead redefine the appendix to be just another section % \def\appendix{\section} % Define the appendix environment at the end of the thesis % Reset all counters, switch \thechapter to letter format, % and reset \@chapapp to change the TOC entries. % \def\endappendix{\par \def\@chapapp{Appendix} \setcounter{chapter}{0} \setcounter{section}{0} \setcounter{subsection}{0} \setcounter{equation}{0} \def\thechapter{\Alph{chapter}} \def\thesection{\thechapter.\@arabic{\c@section}}} \def\subsubsection{\@startsection{subsubsection}{3}{\z@} {5ex plus .5ex}{1ex plus .2ex}{\normalsize\bf}} % If you only have one appendix, then use this, since grad division % doesn't want the appendix labelled in this case. % \def\onlyoneappendix{\par \def\@chapapp{Appendix} \setcounter{chapter}{0} \setcounter{section}{0} \setcounter{subsection}{0} \setcounter{equation}{0} \def\thechapter{ } \def\thesection{\Alph{chapter}\@arabic{\c@section}}} \def\subsubsection{\@startsection{subsubsection}{3}{\z@} {5ex plus .5ex}{1ex plus .2ex}{\normalsize\bf}} % Define the committee name commands % This way, you don't _have_ to edit this file! % \def\chair#1{\def\@chair{#1}} \def\commb#1{\def\@commb{#1}} \def\commc#1{\def\@commc{#1}} \def\commd#1{\def\@commd{#1}} \def\comme#1{\def\@comme{#1}} % Make the thesis title page % Thanks to Graham Knopp, modified slightly by Joe Jensen and Jason Surace. % \def\maketitle{\begin{titlepage} \let\footnotesize\small \let\footnoterule\relax \setcounter{page}{1} \null \vskip 1pt \begin{center} { \@title \par} \vskip 60pt {\singlespace A DISSERTATION SUBMITTED TO THE GRADUATE DIVISION OF THE \linebreak[4] UNIVERSITY OF HAWAII IN PARTIAL FULFILLMENT OF THE \linebreak[4] REQUIREMENTS FOR THE DEGREE OF \linebreak[4] \par DOCTOR OF PHILOSOPHY \par IN \par ASTRONOMY \par \@date } \par \vskip .20in By \par { \begin{tabular}[t]{c}\@author \end{tabular}\par} \vskip 25pt {\singlespace Dissertation Committee:\par \@chair, Chairperson \linebreak[4] \@commb \linebreak[4] \@commc\linebreak[4] \@commd\linebreak[4] \@comme\par} \end{center} \par \vfil \null % This adds a blank page if twoside is set \if@twoside {\clearpage}\fi % \end{titlepage} \setcounter{footnote}{0} \let\thanks\relax \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\gdef\@committee{}\let\maketitle\relax} % Make the signature page % \def\makesig{\null \vskip 1pt \noindent We certify that we have read this dissertation and that, in our opinion, it is satisfactory in scope and quality as a dissertation for the degree of Doctor of Philosophy in Astronomy. \par \vskip 100 pt \hfill\parbox{2.2in}{DISSERTATION COMMITTEE\linebreak[4] \vskip.0in\rule{2.2in}{.01in}\linebreak[4] Chairperson\linebreak[4] \vskip.0in\rule{2.2in}{.01in}\linebreak[4]\vskip.0in\rule{2.2in}{.01in} \linebreak[4]\vskip.0in\rule{2.2in}{.01in}\linebreak[4] \vskip.0in\rule{2.2in}{.01in}\linebreak[4]} \vfil\pagebreak} % Define the TOC % This definition is capable of handling the different \@chapapp % for chapters and appendices. % \def\tableofcontents{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn \fi\chapter*{Table of Contents\@mkboth{CONTENTS}{CONTENTS}} \@starttoc{toc}\if@restonecol\twocolumn\fi} \def\l@chapter{\@dottedtocline{0}{0em}{1.2em}} \def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne \refstepcounter{chapter} \typeout{\@chapapp\space\thechapter.} \addcontentsline{toc}{chapter}{\protect \numberline{\@chapapp\space\thechapter:}#1}\else \addcontentsline{toc}{chapter}{#1}\fi \chaptermark{#1} \addtocontents{lof}{\protect\addvspace{10pt}} \addtocontents{lot}{\protect\addvspace{10pt}} \if@twocolumn \@topnewpage[\@makechapterhead{#2}] \else \@makechapterhead{#2} \@afterheading \fi} \def\@schapter#1{\if@twocolumn \@topnewpage[\@makeschapterhead{#1}] \else \@makeschapterhead{#1} \@afterheading\fi} \long\def\@caption#1[#2]#3{\par\ifx#2\null \else \addcontentsline{\csname ext@#1\endcsname}{#1}{\protect\numberline{\csname the#1\endcsname}{\ignorespaces #2}}\fi\begingroup \@parboxrestore \normalsize \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par \endgroup} % Let's send the tablenum command to /dev/null, since otherwise % it messes up the table numbering. % Comment this out if you want to manually number your tables. % \let\tablenum=\@gobble % Define the dedication command % This should center your text automatically... % \newcommand{\dedication}[1]{ \clearpage \begin{table}[p] #1 \end{table} } % define the makeacknowledgements command % \def\makeacknowledgements{ \addtocontents{toc}{\protect\renewcommand{\protect\baselinestretch}{1.1}} \addtocontents{toc}{\protect\large \normalsize} \chapter*{Acknowledgements} \addcontentsline{toc}{chapter}{Acknowledgements} } % Define the makeabstract command % \def\makeabstract{ \chapter*{Abstract} \addcontentsline{toc}{chapter}{Abstract} } % define the copyright command % \newcommand{\makecopyright}[2]{ \clearpage \vspace*{7.5in} \begin{center} {\singlespace\LARGE \normalsize \copyright Copyright #1 {}\\ by \\ #2 \\} \end{center} }