% mythesis.sty ripoff and modification of parts of Gildea's mitthesis.sty

% I am invoking via
% \documentstyle[twoside,mythesis]{report}

% "Margins must be at least an inch and a quarter on the binding margin
% (normally the left side), and at least one inch on the other sides."
\oddsidemargin .25in
\evensidemargin 0in

\topmargin 0in
\headheight .16in
\headsep .34in

\textwidth 6.25in
\textheight 8.59in % changed 6-13-96 from 8.55in to approx. original pagination

\footskip .4in

%% End of formatting parameters %%

% You can use the titlepage environment to do it all yourself if you
% don't want to use \maketitle.  If the titlepage environment, the
% paragraph skip is infinitely stretchable, so if you leave a blank line
% between lines that you want space between, the space will stretch so
% that the title page fills up the entire page.
\def\titlepage{\newpage\centering
  \thispagestyle{plain}
  \parindent 0pt \parskip 10pt plus 1fil minus 1fil
  \def\baselinestretch{1}\@normalsize\vbox to \vsize\bgroup\vbox to 8.6in\bgroup}
% The \kern0pt pushes any depth into the height.  Thanks to Richard Stone.
\def\endtitlepage{\par\kern 0pt\egroup\vss\egroup\newpage}

\def\signature#1#2{\par\noindent#1\hrulefill\null\\*
  {\raggedleft #2\par}}  % I like hrulefill better than dotfill which was here

% If using the report style, use - instead of . in the figure number.
\@ifundefined{thechapter}{}{\def\thefigure{\thechapter-\arabic{figure}}}

% New stuff of mine.  (Note use of genmacs is also important so that
% \cleardoubepage makes blank pages in pagestyle plain, for example.)

% \@endpart finishes the part page - from rep12.doc modified to use plain
% pagestyle for blank page.
%
% Above is original comment.  Def. of \@endpart has changed in later LaTeX.
% Now found in report.sty.  I'm removing ``\par\egroup'' to get rid of
% LaTeX errors and adding a couple ``%'''s to be consistent with report.sty.
% These changes made June 13, 1996.
\def\@endpart{\vfil\newpage              % End page with 1fil glue.
   \if@twoside                % IF twoside printing
       \hbox{}%               %   THEN Produce totally blank page except number
       \thispagestyle{plain}%
       \newpage        
   \fi                        % FI
   \if@tempswa                % IF @tempswa = true       
     \twocolumn               %   THEN \twocolumn 
   \fi}                       % FI
