% for 209, uncomment this, and comment the class line...
%\documentstyle[12pt, psfig, fullpage, mjz-titlepage]{book}
\documentclass[12pt]{book}

\usepackage{fullpage}
\usepackage{psfig}
\usepackage{mjz-titlepage}
\usepackage{jrs-fancyheadings}

\parskip=5pt  

\newcommand{\reviewtimetoday}[2]{\special{!userdict begin
/bop-hook{gsave 20 710 translate 45 rotate 0.8 setgray
/Times-Roman findfont 12 scalefont setfont
0 0   moveto (#1) show
0 -12 moveto (#2) show
grestore}def end}}

%% This may or may not arouse you. 
\reviewtimetoday{\today}{Draft Version}

%% from bnoble
%%%%%%%%%%%%%%%%%%%%%%%%%%% Page sizes, etc.

%% No margin paragraphs
\setlength\marginparsep{0pt}
\setlength\marginparwidth{0pt}

%% horizontal and vertical offsets should be zero
\setlength\hoffset{0pt}
\setlength\voffset{0pt}

%% No extra top margin (beyond the 1inch+\voffset)
\setlength\topmargin{0pt}

%% 0.5inch gutter on oddsides, no extra on evensides
\setlength\oddsidemargin{36pt}
\setlength\evensidemargin{0pt}

%% Width of page is 8.5'' - (1'' right margin) - (1'' left margin) -
%% (0.5'' gutter).
\setlength\textwidth{470pt}
\addtolength\textwidth{-\oddsidemargin}

%% Height of the page is 11'' - (1'' top margin) - (1'' bottom margin)
%% - (room for header).  We don't leave room for footer, since that
%% won't be printed in the final document
\setlength\textheight{650pt}
\addtolength\textheight{-\topmargin}
\addtolength\textheight{-\headheight}
\addtolength\textheight{-\headsep}

%\renewcommand{\baselinestretch}{1.66}
\renewcommand{\baselinestretch}{1.2}

%% Captiontext: provide smaller, shorter, denser paragraph style for
%% explanatory captions to clearly distinguish them from main text.
\newenvironment{captiontext}{%
   \begin{center}%
     \begin{minipage}{0.9\linewidth}%
       \renewcommand{\baselinestretch}{0.9}%
         \small}%
   {\renewcommand{\baselinestretch}{1.0}%
      \end{minipage}%
        \end{center}}
%%% Keep latex from the absolutely disgusting long inter-para spaces
\raggedbottom

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Float details

\renewcommand{\topfraction}{0.9}
\renewcommand{\textfraction}{0.3}
\renewcommand{\floatpagefraction}{0.5}

%% end bnoble

% This is needed on my (joseph) laptop. I have no CLUE why.
% \addtolength{\topmargin}{15mm}

\begin {document}

\include{titlepage}
\include{abstract}
\include{chap1}
\include{chap2}
\include{chap3}

\bibliographystyle{plain}
\bibliography{references}

\end{document}
