% AER.STY (for LaTeX2e)
% <title>LaTeX style file for typesetting papers in the style of the American Economic Review</title>
% By Martin J. Osborne (osborne@chass.utoronto.ca)
% 97/10/16; revised 99/5/10
% load after article.cls
% load also amstex package, with leqno option
% Close to AER journal style (but not 2 column!!)
% Difference with MJOARTI.STY: Theorems, lemmas etc. are numbered separately
% and are in AER style.  Use Atheorem, Aproposition, etc. for theorems etc.
% in the Appendix (so that they will be numbered A1, A2, and so on.
% At start of Appendix, put
% \renewcommand{\theequation}{A\arabic{equation}}\setcounter{equation}{0}%
% (so that equations are numbered (A1), (A2), ...
% (Could put this as part of an \appendix macro.)
% Sections are numbered differently and their titles formatted differently.


\renewenvironment{description}
               {\list{}{\labelwidth\z@ \itemindent 15pt\leftmargin\z@%
                        \let\makelabel\descriptionlabel}}
               {\endlist}
\renewcommand*\descriptionlabel[1]{\hspace\labelsep
                                \normalfont\itshape #1.}

\setlength\tabcolsep{12\p@}

\renewcommand*{\l@section}[2]{%
  \ifnum \c@tocdepth >\z@
    \addpenalty{\@secpenalty}%
    \addvspace{1.0em \@plus\p@}%
    \setlength\@tempdima{1.5em}%
    \begingroup
      \parindent \z@ \rightskip \@pnumwidth
      \parfillskip -\@pnumwidth
      \leavevmode \bfseries
      #1\nobreak\hfil \nobreak\hbox to\@pnumwidth{\hss #2}\par
    \endgroup
  \fi}

\long\def\@makecaption#1#2{%
  \vskip\abovecaptionskip
  \sbox\@tempboxa{\footnotesize{\bf #1}. #2}%
  \ifdim \wd\@tempboxa >\hsize
    \footnotesize{\bf #1}. #2\par
  \else
    \global \@minipagefalse
    \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
  \fi
  \vskip\belowcaptionskip}

\def\thickhline{\noalign{\vskip-3\arrayrulewidth}%
\noalign{\ifnum0=`}\fi\hrule \@height 3\arrayrulewidth
\futurelet \@tempa\@xhline%
\noalign{\vskip-3\arrayrulewidth}}

%% The following should be used to lower the text on lines which
%% follow a \thickhline

\def\dn#1{\protect\raisebox{-2\arrayrulewidth}{#1}}
\def\adjskip{\noalign{\vskip-\arrayrulewidth}}

\newtheorem{definition}{Definition}
\newtheorem{theorem}{Theorem}
\newtheorem{assumption}{Assumption}
\newtheorem{lemma}{Lemma}
\newtheorem{proposition}{Proposition}
\newtheorem{corollary}{Corollary}

\newtheorem{Adefinition}{Definition}
\renewcommand{\theAdefinition}{A\arabic{Adefinition}}
\newtheorem{Atheorem}{Theorem}
\renewcommand{\theAtheorem}{A\arabic{Atheorem}}
\newtheorem{Aassumption}{Assumption}
\renewcommand{\theAassumption}{A\arabic{Aassumption}}
\newtheorem{Alemma}{Lemma}
\renewcommand{\theAlemma}{A\arabic{Alemma}}
\newtheorem{Aproposition}{Proposition}
\renewcommand{\theAproposition}{A\arabic{Aproposition}}
\newtheorem{Acorollary}{Corollary}
\renewcommand{\theAcorollary}{A\arabic{Acorollary}}

\newcommand{\qed}{\hspace*{\fill}$\Box$\bigskip}
\newcommand{\qedd}{\hspace*{\fill}$\Box$\endtrivlist}
\def\argmax{\mathop{\rm arg\,max}}

\newcounter{example}
\newenvironment{example}[1][\relax]{\begin{list}%
{}{\leftmargin 0pt\rightmargin 0pt\labelsep 3pt\parsep 0pt%
\setlength{\listparindent}{\parindent}}
   \item EXAMPLE\refstepcounter{example}\ \theexample #1:\ }{\hspace*{\fill}$\Box$\end{list}}

\def\@begintheorem#1#2{\itshape \trivlist
      \item[\hskip \labelsep{{\upshape\uppercase{#1}\ #2:}}]}
\def\@opargbegintheorem#1#2#3{\itshape \trivlist
      \item[\hskip \labelsep{{\upshape\uppercase{#1}\ #2\ (#3)}:}]}

\def\realR{\mathbb{R}}

\textwidth 5.5in
\textheight 8in
\oddsidemargin 1.375in \evensidemargin 1.375in
\topmargin 1in

% Modification of LATEX.LTX's \@sect to put period after section and
% subsection numbers, and to put subsection number in Roman
% (while body of subsection heading is controlled by \subsection, below)
% [Modification is in lines 4--7.]
\def\@sect#1#2#3#4#5#6[#7]#8{%
     \ifnum #2>\c@secnumdepth\let\@svsec\@empty%
     \else
        \ifnum #2=\@ne\refstepcounter{#1}%
           \protected@edef\@svsec{\csname the#1\endcsname.\hskip 1em }
        \else\refstepcounter{#1}%
           \protected@edef\@svsec{{\rm\csname the#1\endcsname.\hskip 1em }}\fi
     \fi
     \@tempskipa #5\relax
      \ifdim \@tempskipa>\z@
        \noindent\begingroup #6\hspace*{\fill}\relax\@svsec #8\hspace*{\fill}\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\relax  %% \relax added 2 May 90
                   \@svsec #8\csname #1mark\endcsname
                      {#7}\addcontentsline
                           {toc}{#1}{\ifnum #2>\c@secnumdepth \else
                           \protect\numberline{\csname the#1\endcsname}%
                                     \fi
                       #7}}\fi
     \@xsect{#5}}

\renewcommand{\section}{\@startsection {section}{1}{\z@}%
                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
                                   {2.3ex \@plus .2ex}%
                                   {\reset@font\bfseries}}
\renewcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
                                     {1.5ex \@plus .2ex}%
                                     {\reset@font\itshape}}
\renewcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
                                     {-1em}%
                                     {\reset@font\normalsize}}
\renewcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
                                    {3.25ex \@plus1ex \@minus.2ex}%
                                    {-1em}%
                                    {\reset@font\normalsize\itshape}}
\renewcommand{\subparagraph}{\@startsection{subparagraph}{5}{\parindent}%
                                       {3.25ex \@plus1ex \@minus .2ex}%
                                       {-1em}%
                                      {\reset@font\normalsize\bfseries}}

\def\thepart{\Roman{part}}
\def\thesection {\Roman{section}}
%\def\thesubsection {\thesection.\arabic{subsection}}
\def\thesubsection {\Alph{subsection}}
\def\thesubsubsection {\alph{subsubsection}}
\def\theparagraph {\thesubsubsection.\arabic{paragraph}}
\def\thesubparagraph {\theparagraph.\arabic{subparagraph}}

\renewcommand{\labelitemi}{$\m@th\bullet$}
\renewcommand{\labelitemii}{$\m@th\cdot$}
\renewcommand{\labelitemiii}{$\m@th\ast$}
\renewcommand{\labelitemiv}{$\m@th\cdot$}

\newif\ifdraft
\draftfalse
