%%% jamsl.sty ; JAMS style for LaTeX
%%% Last-modified 18-Feb-2000
%%%
\catcode`\@=11
%%%
\textwidth=33truepc
\textheight=50truepc
%%%
%%%\def\rightmark{}
%%%\def\leftmark{}
%%%
\def\keywords#1{\def\@keywords{#1}}
\let\@keywords=\@empty
\def\subjclass#1{\def\@subjclass{#1}}
\let\@subjclass=\@empty
\newcommand{\keywordsname}{Key words and phrases}
\newcommand{\subjclassname}{{\rm 1991} Mathematics Subject
     Classification}
\def\@addpunct#1{\ifnum\spacefactor>\@m \else#1\fi}
\def\@setsubjclass{%
  {\it\subjclassname.}\enspace\@subjclass\@addpunct.}
\def\@setkeywords{%
  {\it \keywordsname.}\enspace \@keywords\@addpunct.}
%%%
\renewcommand\thesection       {\arabic{section}}
\renewcommand\thesubsection    {\thesection.\arabic{subsection}}
\renewcommand\thesubsubsection {\thesubsection.\arabic{subsubsection}}
\renewcommand\theparagraph      {\thesubsubsection.\arabic{paragraph}}
\def\initrhead{}% 
\def\initrhead{{\it JAMS}}
\def\footname{}%
\def\footname{{\it JAMS}}% 
\setcounter{secnumdepth}{3}
\newcounter{footpage}%
\setcounter{footpage}{1}% 
\setcounter{page}{1}%     
\def\sikibetuh{}% 
\def\sikibetuf{}% 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
\mark{{}{}}%
\def\ps@myheadings{%
    \let\@oddfoot\@empty\let\@evenfoot\@empty
%    \def\@oddfoot{\stepcounter{footpage}\small\footname\hfill \sikibetuf\arabic{footpage}\hfill}%
%    \def\@evenfoot{\stepcounter{footpage}\small\hfill\sikibetuf\arabic{footpage}\hfill\footname}%
    \def\@evenhead{\small\sikibetuh\thepage\hfill\leftmark\hfill}%
    \def\@oddhead{\small\hfill\rightmark\hfill\sikibetuh\thepage}%
    \let\@mkboth\@gobbletwo
    \let\sectionmark\@gobble
    \let\subsectionmark\@gobble
    }%
\def\ps@jamsinit{%
%%    \let\@oddfoot\@empty\let\@evenfoot\@empty
%    \def\@oddfoot{\small\footname\hfill \sikibetuf\arabic{footpage} \hfill}
%    \def\@evenfoot{\small\sikibetuf\arabic{footpage}\hfill \footname\hfill }
    \def\@evenhead{\small\sikibetuh\thepage\hfill{\footnotesize{\initrhead}}}%
    \def\@oddhead{\small{\footnotesize{\initrhead}}\hfill\sikibetuh\thepage}%
    \let\@mkboth\@gobbletwo
    \let\sectionmark\@gobble
    \let\subsectionmark\@gobble
    }
%%%
\def\section{\@startsection{section}{1}%
  \z@{.7\baselineskip plus \baselineskip}{-.5em}%
  {\normalsize\bf}}
\def\subsection{\@startsection{subsection}{2}%
  \z@{.5\baselineskip plus .7\baselineskip}{-.5em}%
  {\normalsize\bf}}
\def\subsubsection{\@startsection{subsubsection}{3}%
  \z@{.5\baselineskip plus .7\baselineskip}{-.5em}%
  {\normalsize\it}}
\def\paragraph{\@startsection{paragraph}{4}%
  \z@\z@{-\fontdimen2\font}%
  \normalsize}
\def\subparagraph{\@startsection{subparagraph}{5}%
  \z@\z@{-\fontdimen2\font}%
  \normalsize}
\def\appendix{\par\c@section\z@ \c@subsection\z@
   \let\sectionname\appendixname
   \def\thesection{\@Alph\c@section}}
\def\appendixname{Appendix}
%%%%%
\renewenvironment{abstract}{%
\noindent
  \small
\noindent
  \quote
  \parindent=1.5em
    A{\sc \abstractname .\hspace{\z@}}%
  }%
{ \endquote 
}
\def\abstractname{bstract}
%%%%%
\renewcommand{\maketitle}{\par
  \begingroup
    \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
    \def\@makefnmark{\hbox to\z@{$\m@th^{\@thefnmark}$\hss}}%
    \long\def\@makefntext##1{\parindent 1em\noindent
            \hbox to1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
      \newpage
      \global\@topnum\z@   %
      \@maketitle
    \@thanks
  \endgroup
  \thispagestyle{jamsinit}
  \setcounter{footnote}{0}%
  \let\thanks\relax
  \let\maketitle\relax\let\@maketitle\relax
  \gdef\@thanks{}
  \gdef\@author{}\gdef\@title{}}
\def\@maketitle{%
  \newpage
  \null
  \vskip 2em%
  \begin{center}%
    {\normalsize\bf \@title \par}%
%    {\normalsize\bf \@title \par}%
    \vskip 1.5em%
    {\normalsize\sc
      \lineskip .5em%
      \begin{tabular}[t]{c}%
        \@author
      \end{tabular}\par
     \def\thefootnote{}
     \ifx\@empty\@subjclass\else \footnotetext{\@setsubjclass}\fi
     \def\thefootnote{}
     \ifx\@empty\@keywords\else \footnotetext{\@setkeywords}\fi
}%
    \vskip 1em%
    {\normalsize \@date}%
  \end{center}%
  \par
  \vskip 0.8em
}
\renewenvironment{thebibliography}[1]
      {
  \@startsection{section} 
        \@m\z@{9\p@ plus 12\p@}{6\p@}%
        {\centering\sc}\refname
  \small\labelsep .5em\relax
      \list{\@biblabel{\@arabic\c@enumiv}}%
           {\settowidth\labelwidth{\@biblabel{#1}}%
            \leftmargin\labelwidth
            \advance\leftmargin\labelsep
            %\@openbib@code
            \usecounter{enumiv}%
            \let\p@enumiv\@empty
            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
      \sloppy
      \clubpenalty4000
      \@clubpenalty \clubpenalty
      \widowpenalty4000%
      \sfcode`\.\@m}%
     {\def\@noitemerr
       {\@latex@warning{Empty `thebibliography' environment}}%
      \endlist}
\def\refname{References}%
%%%%%%%%%%%%%%%%%%%% end of style
