%%--------------------------------------------------- %%-- Load the base class and modify current macros. %%--------------------------------------------------- \newif\if@usecppsyntax \@usecppsyntaxfalse \DeclareOption{cpp}{\@usecppsyntaxtrue} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{report}} \ProcessOptions %%--Set the section number depth. \setcounter{secnumdepth}{3} \setcounter{tocdepth}{3} \setcounter{page}{2} %%--Include some required packages. \RequirePackage{amsmath} \RequirePackage{amssymb} %\RequirePackage{doublespace} \RequirePackage{float} %%--Create a vertical skip for the distance between the title and %%--the first line of text on the prolog pages. \newskip\thesisvskip \thesisvskip 36pt %%-------------------------------------------- %%-- Prolog pages construction. %%-------------------------------------------- %%--Macros used for the construction of the title page. \newcommand{\thesisTitle}[1]{\gdef\thesis@title{#1}} \newcommand{\thesisYear}[1]{\gdef\thesis@year{#1}} \newcommand{\thesisMonth}[1]{\gdef\thesis@month{#1}} \newcommand{\thesisAbstract}[1]{\gdef\thesis@abstract{#1}} \newcommand{\thesisAcknowledge}[1]{\gdef\thesis@ack{#1}} \newcommand{\thesisDedication}[1]{\gdef\thesis@Dedication{#1}} \newcommand{\thesisAdvisor}[1]{\gdef\ThesisAdvisor{#1}} % \thesisAuthor macro % defines two TeX variables (only usable in this file) % \ thesis@author is assumed to be a "short" version of the author's name % used on the title page % \thesis@authorx is assumed to be the full name of the author % used on the approval, the UMI abstract, and the vita pages % For example % \thesisAuthor{A. Goode Student} % sets both \thesis@author and \ thesis@authorx to % "A. Goode Student" % \thesisAuthor[Aloysius Goode Student]{A. Good Student} % sets \thesis@author to "A. Goode Student" and % \thesis@authorx to "Aloysius Goode Student" % \newcommand{\thesisAuthor}[2][\empty]{ \gdef\thesis@author{#2} \ifx#1\empty \let\thesis@authorx\thesis@author \else \gdef\thesis@authorx{#1}\fi} \def\thesis@abstract{\empty} \def\thesis@ack{\empty} %%--The prolog pages. \newcommand{\makeThesisProlog}{ \setcounter{page}{1} \renewcommand{\thepage}{\roman{page}} \pagestyle{plain} \thispagestyle{empty} %-title page \maketitlepage % supervision page \begin{center} \vspace*{3in} \vbox{\large This thesis was carried out under the supervision of\\ \Large \ThesisAdvisor } \end{center} %-dedication page \newpage \begin{center} \vspace*{3in} \thesis@Dedication \end{center} \newpage %acknowledgements \newpage \begin{center} \addcontentsline{toc}{chapter}{Acknowledgments} \Large\acknowledgeName\vskip\thesisvskip \end{center} \input{\thesis@ack} %abstract \newpage \pagestyle{headings} \markboth{}{Abstract} \thispagestyle{empty} \begin{center} \addcontentsline{toc}{chapter}{Abstract} \Large\abstractName\vskip\thesisvskip \end{center} \input{\thesis@abstract} \newpage %-TOC pages \pagestyle{plain} \thispagestyle{empty} \tableofcontents \newpage \setcounter{page}{1} \renewcommand{\thepage}{\arabic{page}} \pagestyle{headings}%\let\sectionmark\@gobble } %%--Page titles. \def\acknowledgeName{ACKNOWLEDGMENTS} \def\acknowledgeName{Acknowledgments} \def\abstractName{Abstract} %%--The title page. \newcommand{\maketitlepage}{ \begin{titlepage} \begin{center} \vspace*{24pt} \vfill {\Huge \thesis@title} \vfill \vspace*{24pt} \vfill % \makebox{\vbox{\hrule width 1in}} \vfill \vbox{\large Thesis by \\ \Large \thesis@authorx} \vspace*{18pt} \vbox{\large In partial fulfillment\\ of the requirements for the degree of\\ Doctor of Philosophy} \vspace*{36pt} \vfill % \makebox{\vbox{\hrule width 1in}} \vfill % \vspace*{36pt} \vfill \vbox{\Large Submitted to The Senate of The Hebrew University of Jerusalem\\ \vspace*{12pt} \thesis@year} \vfill \end{center} \end{titlepage}}