% File:  mmr.sty
% This file contains the LaTeX formatting for the MMR format.
\typeout{Document Style `mmr' -- December 2001.}

% Bibliographic stuff handled by the chicago package
\RequirePackage{chicago}
\bibliographystyle{chicago}

% Physical page layout
\setlength\paperheight{297mm} \setlength\paperwidth{210mm}
\newdimen\@Leftmargin   \@Leftmargin=25mm
\newdimen\@Rightmargin  \@Rightmargin=25mm
\newdimen\@Topmargin    \@Topmargin=30mm
\newdimen\@Bottommargin \@Bottommargin=30mm
\newlength\titlebox\setlength\titlebox{42mm}
\setlength\headheight{0pt} \setlength\headsep{0pt}
\renewcommand{\baselinestretch}{1.1}

%
\def\InitLayout{
  \setlength{\textwidth}{\paperwidth}
  \addtolength{\textwidth}{-\@Leftmargin}
  \addtolength{\textwidth}{-\@Rightmargin}
  \setlength{\textheight}{\paperheight}
  \addtolength{\textheight}{-\@Topmargin}
  \addtolength{\textheight}{-\@Bottommargin}
  \addtolength{\textheight}{-\headheight}
  \addtolength{\textheight}{-\headsep}
  \addtolength{\textheight}{-\footskip}
  \setlength{\oddsidemargin}{\@Leftmargin}
  \addtolength{\oddsidemargin}{-1truein}
  \setlength{\evensidemargin}{\@Rightmargin}
  \addtolength{\evensidemargin}{-1truein}
  \setlength{\topmargin}{\@Topmargin}
  \addtolength{\topmargin}{-1truein}
}
%
\InitLayout
%

% No page numbers etc.
\thispagestyle{empty} \pagestyle{empty}
\flushbottom\onecolumn\sloppy

\abovedisplayskip 7pt plus2pt minus5pt%
\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip  0pt plus3pt%
\belowdisplayshortskip  4pt plus3pt minus3pt%

% Define font sizes
\def\@normalsize{\@setsize\normalsize{11pt}\xipt\@xipt}
\def\small{\@setsize\small{10pt}\xpt\@xpt}
\def\scriptsize{\@setsize\scriptsize{8pt}\viiipt\@viiipt}
\def\tiny{\@setsize\tiny{7pt}\viipt\@viipt}
\def\large{\@setsize\large{12pt}\xiipt\@xiipt}
\def\Large{\@setsize\Large{14pt}\xivpt\@xivpt}
\def\LARGE{\@setsize\LARGE{17pt}\xviipt\@xviipt}
\def\huge{\@setsize\huge{20pt}\xxpt\@xxpt}
\def\Huge{\@setsize\Huge{25pt}\xxvpt\@xxvpt}

% Footnotes
\setlength\footskip{0pt}
\def\footnotesize{\@setsize\footnotesize{10pt}\ixpt\@ixpt}
\footnotesep 6.65pt %
\skip\footins 9pt plus 4pt minus 2pt \setcounter{footnote}{0}

% Create title
\def\maketitle{\par
 \begingroup
   \def\thefootnote{\fnsymbol{footnote}}
   \def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}}
   \onecolumn\@maketitle \@thanks
 \endgroup
 \setcounter{footnote}{0}
 \let\maketitle\relax \let\@maketitle\relax
 \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
\def\@maketitle{\vbox to \titlebox{\hsize\textwidth
\centering
 {\Large\bf \@title \par}
 \vskip 0.2in plus 1fil minus 0.1in
 {\def\and{\unskip\enspace{\rm and}\enspace}%
  \def\And{\end{tabular}\hss \egroup \hskip 1in plus 2fil
           \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf}%
  \def\AND{\end{tabular}\hss\egroup \hfil\hfil\egroup
         \vskip 0.25in plus 1fil minus 0.125in
          \hbox to \linewidth\bgroup \hfil\hfil
            \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf}
 \hbox to \linewidth\bgroup \hfil\hfil
    \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf\@author
                         \end{tabular}\hss\egroup
    \hfil\hfil\egroup}
  \vskip 0.3in plus 2fil minus 0.1in  % Skip 2 lines before abstract
}}

% Create abstract
\renewenvironment{abstract}{\centerline{\large\bf
Abstract}\vspace{0.5ex}\begin{quote}\begin{small}}{\par\end{small}\end{quote}\vskip
1ex}

% Section headings
\def\section{\@startsection {section}{1}{\z@}{-2.0ex plus
    -0.5ex minus -.2ex}{1.5ex plus 0.3ex minus .2ex}{\large\bf\raggedright}}

\def\subsection{\@startsection{subsection}{2}{\z@}{-1.5ex plus
    -0.5ex minus -.2ex}{0.5ex plus .2ex}{\normalsize\bf\raggedright}}

\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-1.5ex plus
   -0.5ex minus -.2ex}{0.5ex plus .2ex}{\normalsize\raggedright}}

