%% This is amstexsiam.sty, the AmS-TeX SIAM style file.  This file
%% should be accompanied by the sample paper, siamsamp.tex, and the
%% documentation file, siamdoc.tex.
%%
%% This is version 2.1 of November 1995.
%%
%% Authors:
%%
%%   Prof. Bradley Lucier
%%   Department of Mathematics
%%   1395 Mathematical Sciences Building
%%   Purdue University
%%   West Lafayette, IN   47907-1395
%%      lucier@math.purdue.edu
%%
%%   Prof. Douglas N. Arnold
%%   Department of Mathematics
%%   Penn State University
%%   University Park, PA   16802
%%      dna@math.psu.edu
%%
%% Copyright 1988, 1990, 1993, 1995 by Bradley Lucier.  All rights reserved.
%% You have permission to copy this file, to use it as input to other TeX
%% files, and to modify it as necessary to allow it to run at your site.
%% In the interest of maintaining a consistent revision history, if you
%% make changes, additions, or deletions to this file, you must indicate
%% how the changes affected the original file, so that the original file
%% can be reconstructed if necessary.
%%
%% This is an official SIAM style file for AmSTeX, version 2.1.  It
%% requires amsppt.sty, version 2.1a.  Later versions are probably
%% acceptable.  This style file has been used to produce papers for
%% SIAM journals that have been totally acceptable to SIAM production
%% editors.
%%
%% This style file is unsupported.  To report bugs, suggest changes,
%% or make other comments, contact the first named author.
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  RCS information: $Revision: 1.12 $, $Date: 95/11/20 13:11:59 $.
\def\filename{amstexsiam.sty}
\def\fileversion{2.1}
\def\filedate{November 1995}
\message{version \fileversion\space(\filedate):}
\def\styname{AMSTEXSIAM}\def\styversion{2.1}
%
%  We save the catcode of @ before we call amsppt.sty, since amsppt.sty
%  redefines \filename.
%
\expandafter\xdef\csname\filename\endcsname{%
  \catcode`\noexpand\@=\the\catcode`\@
  \expandafter\gdef\csname\filename\endcsname{%
     \fileversion\space(\filedate)}}
%
\input amsppt.sty
%
\catcode`\@=11
%
% Change the crucial dimensions.  We use 20pt instead of 2 em for
% the \parindent, because at one point we want to set it to the same thing
% in \eightpoint, and 2 em in \eightrm is smaller than 2 em in \tenrm.
% I removed every instance of em in this style file---it was used in the
% setting of item numbers in rosters, and in the indentation of references.
% I substituted 10 pts for it.
%
\def\pagewidth#1{\hsize#1\captionwidth@\hsize}
\pagewidth{31 pc} \hcorrection{0.6666666 in}
\pageheight{49.5 pc} \vcorrection{0.3333333 in}
\topskip 12pt
\parindent 20pt
\parskip 0 pt
%
%  change the space above and below displayed equations to 6 + 3 pts.
%  SIAM style is 6 pts.  I also added a call to \rm to override the
%  call to \eightrm in \eightpoint in case anyone ever wants to redefine the
%  text fonts for \eightpt
\addto\tenpoint{\abovedisplayskip 6\p@ plus 3\p@
 \belowdisplayskip\abovedisplayskip
 \abovedisplayshortskip 0 \p@ plus 3\p@
 \belowdisplayshortskip\belowdisplayskip}
\addto\eightpoint{\abovedisplayskip 6\p@ plus 3\p@
 \belowdisplayskip\abovedisplayskip
 \abovedisplayshortskip 0 \p@ plus 3\p@
 \belowdisplayshortskip\belowdisplayskip\rm}
%
%  various amsppt macros are not to be used in the amstexsiam style file
%
\def\taboo@#1{\def#1{%
   \errmessage{Do not use \string#1 in the amstexsiam style; see the instructions.}}}
\taboo@\thanks\taboo@\endthanks               % use the title footnote.
\taboo@\preaffil\taboo@\affil\taboo@\endaffil % use the author footnotes
\taboo@\address\taboo@\endaddress             % use the author footnotes
\taboo@\predate\taboo@\date\taboo@\enddate    % use the title footnote.
\taboo@\email\taboo@\endemail                 % use the author footnotes
%
%  Changes to the topmatter. (Differences refer to amsppt.sty, version 2.1a)
%
%  We don't increase the line spacing in the title, we don't uppercase,
%  we record the depth of the last line for use in \endtopmatter.
%
\newdimen\titledepth@
\def\title#1\endtitle{\global\setbox\titlebox@
  \vtop{\bgroup\tenpoint\bf\raggedcenter@
   #1\endgraf\global\titledepth@\prevdepth\egroup}\relaxnext@}
%
%  \author uses small caps, otherwise is like title.
%
\newdimen\authordepth@
\def\author#1\endauthor{\global\setbox\authorbox@
 \vtop{\bgroup\eightpoint\smc\raggedcenter@
 #1\endgraf\global\authordepth@\prevdepth\egroup}\relaxnext@}
%
%  Abstract: don't change the left and right skips, do indent,
%  don't put the thing in displayed math, change the
%  font from small cap to bold for "Abstract".  Remember the depth of
%  the last line in abstract for \endtopmatter.
%
\newdimen\abstractdepth@
\def\abstract{\let\savedef@\abstract
 \def\abstract{\let\abstract\savedef@
  \setbox\abstractbox@\vtop\bgroup
  \def\envir@end{\endabstract}
  \def\usualspace{\enspace}\eightpoint\indent
  \frills@{{\bf Abstract.\enspace}}}%
 \nofrillscheck\abstract}
\def\endabstract{\endgraf\global\abstractdepth@\prevdepth\unskip\egroup}
%
%  Add keywords and subject classifications just like the abstract.
%
\def\prekeywords{}
\newbox\keywordsbox@
\newdimen\keywordsdepth@
\def\keywords{\let\savedef@\keywords
 \def\keywords{\let\keywords\savedef@
  \setbox\keywordsbox@\vtop\bgroup
  \def\envir@end{\endkeywords}
  \def\usualspace{\enspace}\eightpoint\indent
  \frills@{{\bf Key words.\enspace}}}%
 \nofrillscheck\keywords}
\def\endkeywords{\endgraf\global\keywordsdepth@\prevdepth\unskip\egroup}
\def\presubjclass{}
\newbox\subjclassbox@
\newdimen\subjclassdepth@
\def\subjclass{\let\savedef@\subjclass
 \def\subjclass{\let\subjclass\savedef@
  \setbox\subjclassbox@\vtop\bgroup
  \def\envir@end{\endsubjclass}
  \def\usualspace{\enspace}\eightpoint\indent
  \frills@{{\bf AMS subject classifications.\enspace}}}%
 \nofrillscheck\subjclass}
\def\endsubjclass{\endgraf\global\subjclassdepth@\prevdepth\unskip\egroup}
%
%  Amazingly enough, we get the spacing perfectly correct; however, if 
%  any one part of the topmatter should need to cross a page boundary,
%  then we are in trouble, since we leave each part of the topmatter in a
%  \vbox, and things will have to be set by hand.  (amsppt.sty has the same
%  problem if the abstract should cross a page boundary.)
%  After adding each part of the topmatter
%  we change \prevdepth to reflect the depth of the last line of each part.
%
\outer\def\endtopmatter{\add@missing\endabstract
  \add@missing\endkeywords\add@missing\endsubjclass
  \pretitle
  \begingroup % to localize variant topskip
  \topskip 3pc\advance\topskip by -\ht\titlebox@
  \null\unvbox\titlebox@
  \prevdepth\titledepth@
  \endgroup
  \preauthor
  \ifvoid\authorbox@\else
       \baselineskip 18 pt\advance\baselineskip by -\ht\authorbox@
       \null\unvbox\authorbox@\prevdepth\authordepth@\fi
  \preabstract
  \ifvoid\abstractbox@\else 
       \baselineskip 24 pt\advance\baselineskip by -\ht\abstractbox@
       \null\unvbox\abstractbox@\prevdepth\abstractdepth@\fi
  \prekeywords
  \ifvoid\keywordsbox@\else 
       \baselineskip 20 pt\advance\baselineskip by -\ht\keywordsbox@
       \null\unvbox\keywordsbox@\prevdepth\keywordsdepth@\fi
  \presubjclass
  \ifvoid\subjclassbox@\else 
       \baselineskip 20 pt\advance\baselineskip by -\ht\subjclassbox@
       \null\unvbox\subjclassbox@\prevdepth\subjclassdepth@\fi
  \ifvoid\tocbox@\else\vskip1.5pcplus.5pc\unvbox\tocbox@\fi
  \prepaper
  \vskip 8 pt  % The first line of the paper body will be set with 12 pt
               % baselines, so this extra 8 points will make it 20 pts total.
  \tenpoint\relax
}
%
%  Simplify it, since we don't add a lot of things at the end of the
%  document like amsppt does.
%
\outer\def\enddocument{\par% \par will do a runaway check for \endref
  \add@missing\endRefs 
  \add@missing\endroster \add@missing\endproclaim
  \add@missing\enddefinition 
  \add@missing\enddemo \add@missing\endremark \add@missing\endexample
 \vfill\supereject\end}
%
%  We add a thin space between the footnotemark and the footnotetext.
%
%  We also undo \raggedcenter@ inside the foonote. 
%
\def\undoraggedcenter@{\leftskip\z@\rightskip\z@\parfillskip0ptplus1fil%
  \parindent20pt\spaceskip0\p@\xspaceskip0\p@\pretolerance100%
  \tolerance200\exhyphenpenalty50\hyphenpenalty50}
\def\makefootnote@#1#2{\insert\footins
 {\interlinepenalty\interfootnotelinepenalty
\eightpoint\undoraggedcenter@\splittopskip\ht\strutbox\splitmaxdepth\dp\strutbox
 \floatingpenalty\@MM\leavevmode{#1}\,\footstrut
 \ignorespaces#2\unskip\lower\dp\strutbox
 \vbox to\dp\strutbox{}}}
%
%  The skip before a heading is 6 pts, no stretchiness
%
\subheadskip 6 pt
%
%
%  the amsppt monograph style has the same indentation rules as the SIAM
%  style.
%
\let\varindent@\indent
%
%  Proclaims use small caps.
%
\def\proclaimheadfont@{\smc}
%
%  Now we have to change a lot of things because Spivak put \medskipamounts
%  before and after proclaims, etc.  Perhaps he should have defined and used
%  \varskipamount@ like varindent@ and then we would have had to change only
%  one line.  (Hint, hint!)  To keep things simple, I just changed the
%  \medskipamounts to 0pt in the following, even though it doesn't make
%  total sense to do so.
%
%  Next line needed since it was previously defined outer.
%
\let\proclaim\relax
\outer\def\proclaim{%
  \let\savedef@\proclaim \let\proclaim\relax
  \add@missing\endroster \add@missing\enddefinition
  \add@missing\endproclaim \envir@stack\endproclaim
 \def\proclaim##1{\restoredef@\proclaim
   \penaltyandskip@{-100}{0pt}\varindent@
   \def\usualspace{{\proclaimheadfont@\enspace}}\proclaimheadfont@
   \ignorespaces##1\unskip\frills@{.\enspace}%
  \it\ignorespaces}%
 \nofrillscheck\proclaim}
\def\endproclaim{\revert@envir\endproclaim \par\rm
  \penaltyandskip@{55}{0pt}}
\def\remark{\let\savedef@\remark \let\remark\relax
  \add@missing\endroster \add@missing\endproclaim 
  \envir@stack\endremark
  \def\remark##1{\restoredef@\remark
    \penaltyandskip@\z@{0pt}
  {\def\usualspace{{\remarkheadfont@\enspace}}%
  \varindent@\remarkheadfont@\ignorespaces##1\unskip
  \frills@{.\enspace}}\rm
  \ignorespaces}\nofrillscheck\remark}
\def\definition{\let\savedef@\definition \let\definition\relax
  \add@missing\endproclaim \add@missing\endroster
  \add@missing\enddefinition \envir@stack\enddefinition
   \def\definition##1{\restoredef@\definition
     \penaltyandskip@{-100}{0pt}
        {\def\usualspace{{\proclaimheadfont@\enspace}}%
        \varindent@\proclaimheadfont@\ignorespaces##1\unskip
        \frills@{.\proclaimheadfont@\enspace}}%
        \rm \ignorespaces}%
  \nofrillscheck\definition}
\def\enddefinition{\revert@envir\enddefinition\par}
\def\enddemo{\par\revert@envir\enddemo \endremark}
%
%  Examples are set the same as remarks in the SIAM style.
%
\def\example{\DN@{\ifx\next\nofrills
    \DN@####1####2{\remark####1{####2}\envir@stack\endexample
      \ignorespaces}%
  \else
    \DN@####1{\remark{####1}\envir@stack\endexample\ignorespaces}%
  \fi
  \next@}%
\FN@\next@}
\def\endexample{\par\revert@envir\endexample \endremark}
%
%  We will add a \case ... \endcase macro
%
\def\case{\DN@{\ifx\next\nofrills
    \DN@####1####2{\remark####1{####2}\envir@stack\endcase
      \ignorespaces}%
  \else
    \DN@####1{\remark{####1}\envir@stack\endcase\ignorespaces}%
  \fi
  \next@}%
\FN@\next@}
\def\endcase{\par\revert@envir\endcase \endremark}
%
%  Remarks, proofs, etc. have the first word in italic.
%
\def\remarkheadfont@{\it}
%
%  Redefine \qed
%
\def\qed{\ifhmode\unskip\nobreak\fi\ifmmode\ifinner\else\hskip5\p@\fi\fi
 \hbox{\hskip25\p@ minus 10 \p@\hbox{\vrule width .6\p@\vbox{\hrule width 4\p@
 height .6\p@\vskip 6.2\p@\hrule width 4\p@ height .6\p@}\unskip\vrule
 width .6\p@}\hskip\p@}}
%
%  We should deal somewhat with table and figure legends.  Unfortunately,
%  they differ in several key respects from the amsppt style.  Tables have
%  "Table 1" in small caps centered on first line of caption, table
%  description centered in italics on following lines.  Legend has "Fig. 1."
%  in smc followed by description in italic.
%
\def\topcaption#1#2\endcaption{%
  \eightpoint{\dimen@\hsize \advance\dimen@-\captionwidth@
   \it\raggedcenter@ \advance\leftskip.5\dimen@ \rightskip\leftskip
  {\captionfont@#1}%
  \if\notempty{#2}\\\ignorespaces#2\fi
  \endgraf}\nobreak\smallskip}
\def\botcaption#1#2\endcaption{%
  \nobreak\medskip
  \eightpoint\setboxz@h{\captionfont@#1\if\notempty{#2}.\enspace\it#2\fi}%
  {\dimen@\hsize \advance\dimen@-\captionwidth@
   \leftskip.5\dimen@ \rightskip\leftskip
   \noindent \ifdim\wdz@<\captionwidth@
   \hfil{\captionfont@#1}\if\notempty{#2}.\enspace\it#2\fi\hfil
   \else
  \par{\captionfont@#1}%
  \if\notempty{#2}.\enspace\it#2\fi\endgraf\fi}}
\def\@ins{\par\begingroup\def\vspace##1{\vskip##1\relax}%
  \def\captionwidth##1{\captionwidth@##1\relax}%
  \setbox\z@\vbox\bgroup} % start a \vbox
%
%  We remove the smallskip before rosters and change them to not use hang
%  indents.
%
\rosteritemwd20pt
\newdimen\rosteritemindent@
\rosteritemindent@-20pt
\def\roster{%
 \envir@stack\endroster
 \global\advance\rosteritemindent@ by 20 pt
 \edef\leftskip@{\leftskip\the\leftskip}%
 \relaxnext@
 \rostercount@\z@
 \def\item{\FN@\rosteritem@}%
 \DN@{\ifx\next\runinitem\let\next@\nextii@\else
  \let\next@\nextiii@\fi\next@}%
 \DNii@\runinitem%
  {\unskip%
   \DN@{\ifx\next[\let\next@\nextii@\else
    \ifx\next"\let\next@\nextiii@\else\let\next@\nextiv@\fi\fi\next@}%
   \DNii@[####1]{\rostercount@####1\relax
    \enspace\therosteritem{\number\rostercount@}~\ignorespaces}%
   \def\nextiii@"####1"{\enspace{\rm####1}~\ignorespaces}%
   \def\nextiv@{\enspace\therosteritem1\rostercount@\@ne~}%
   \par@\firstitem@false%
   \FN@\next@}%
 \def\nextiii@{\par\par@
  \penalty\@m
  \firstitem@true}
 \FN@\next@}
\def\rosteritem@{\iffirstitem@\firstitem@false
  \else\par\vskip-\parskip\fi
 \leftskip\rosteritemindent@\noindent  
 \DNii@[##1]{\rostercount@##1\relax\itembox@}%
 \def\nextiii@"##1"{\def\therosteritem@{\rm##1}\itembox@}%
 \def\nextiv@{\advance\rostercount@\@ne\itembox@}%
 \def\therosteritem@{\therosteritem{\number\rostercount@}}%
 \ifx\next[\let\next@\nextii@\else\ifx\next"\let\next@\nextiii@\else
  \let\next@\nextiv@\fi\fi\next@}
%
%  We change itembox to do what it should
%
\def\itembox@{\hskip\parindent\hbox to \rosteritemwd{\hss\kern\z@\therosteritem@\enspace}\ignorespaces}
%
%  We change the default roster indent to 20 pt (from 16), and remove the
%  "\global\rosteritemwd16pt" from \endroster.  This allows us to use
%  nested rosters in an easy way.
%
\def\endroster{\relaxnext@\revert@envir\endroster\par
 \global\advance\rosteritemindent@ by -20 pt
  \leftskip@\penalty-50
  \DN@{\ifx\next\Runinitem\let\next@\relax\else\nextRunin@false
  \let\item\plainitem@\ifx\next\par\DN@\par{\everypar
  \expandafter{\the\everypartoks@}}\else\DN@{\noindent\everypar
  \expandafter{\the\everypartoks@}}\fi\fi\next@}\FN@\next@}
%
% References:
%
%  We change the word "REFERENCES" to 8 pt roman, and add 28 pt skip
%  and a \goodbreak above "REFERENCES" and 8 pt skip and \nobreak below.
%
\let\Refs\relax
\outer\def\Refs{\add@missing\endroster \add@missing\endproclaim 
 \let\savedef@\Refs \let\Refs\relax % because of \outer-ness
 \def\Refs##1{\restoredef@\Refs
   \goodbreak\vskip 28 pt
     \hbox to\hsize{\hfil\refsfont@\rm
       \ignorespaces##1\unskip\hfil}\nobreak
     \vskip 8pt
   \begingroup\def\envir@end{\endRefs}\refsfont@\sfcode`\.\@m
   }%
 \nofrillscheck{\csname Refs\expandafter\endcsname
  \frills@{{REFERENCES}}}}
%
%  Author names are in small caps.
%
\def\by{\makerefbox\by\bybox@\smc}
%
%  When we redefine \by, we have to re`let' \manyby.
%
\let\manyby\by
%
%  Removed the \thinspace between the rule and the comma,  raised
%  it by a point, and made it .2 pts thick.
%
\def\bysame{\by\hbox to 30pt{\leaders\hrule height 1.2pt depth -1pt\hfill}}
%
%  \ed and \eds are kind of funny; the \edbox@ is used as the \bybox@
%  if there is no \bybox@; the instructions will have to say to use 
%  \ed or \eds after \by in each reference.
%
\def\ed{\makerefbox\ed\edbox@{\ifvoid\bybox@\smc\fi}}
\def\eds{\gdef\edtext{eds.}\makerefbox\eds\edbox@{\ifvoid\bybox@\smc\fi}}
%
%  Paper names are in italics.
%
\def\paper{\makerefbox\paper\paperbox@\it}
%
%  The volume number is always roman in the SIAM style.
%
\def\vol{\makerefbox\vol\volbox@\empty}
%
%  The SIAM style does not use "no." before the issue, or v. before
%  the volume, even in a book.
%
\def\defaultreftexts{\gdef\edtext{ed.}\gdef\pagestext{pp.}}
%
%  second and following lines in references are indented 20 pt more than first.
%
\def\ref{\par
  \begingroup \def\envir@end{\endref}%
  \advance\refindentwd 20 pt\noindent\hangindent\refindentwd
  \advance\refindentwd-20 pt
  \def\par{\add@missing\endref}%
  \global\let\nofrills@list\empty 
  \refbreaks
  \procpaper@false \book@false
  \def\curbox{\z@}\setbox\z@\vbox\bgroup
}
%
%  We change the reference styles for keys and numbers to be the same;
%  the number contained in square brackets followed by an enspace.
%
\def\refstyle#1{\uppercase{%
  \if#1A\relax \def\keyformat##1{\hfil[##1]\enspace}%
  \else\if#1B\relax
    \def\keyformat##1{\aftergroup\kern
              \aftergroup-\aftergroup\refindentwd}%
    \refindentwd\parindent
 \else\if#1C\relax
    \def\keyformat##1{\hfil[##1]\enspace}%
 \fi\fi\fi}% end of \uppercase
}
%
%  Here I am at a loss.  The early, inscrutable part of endref@ is, of
%  course, from amsppt 2.1a, so see amsppt.doc for the documentation.
%  The latter part (Case 1:  etc.), just tries to put things into
%  their correct place with their correct spacing and surrounding punctuation
%  and words (ed., etc.).  The changes from amsppt to siam are too numerous to
%  list; again, compare this code to amsppt.doc
%
\def\endref@{%
  \keyhook@
  \def\nofrillscheck##1{%
    \def\do####1{\ifx##1####1\let\frills@\eat@\fi}%
    \let\frills@\identity@ \nofrills@list}%
  \ifvoid\bybox@
    \ifvoid\edbox@
    \else\setbox\bybox@\hbox{\unhbox\edbox@\breakcheck
      \nofrillscheck\edbox@\frills@{\smc, \edtext}\refbreak@}\fi
  \fi
  \ifvoid\keybox@\else\hbox to\refindentwd{%
       \keyformat{\unhbox\keybox@}}\fi 
  \commaunbox@\morerefbox@
  \ppunbox@\empty\empty\bybox@\empty
  \ifbook@ % Case 1: \book etc.
    \commaunbox@\bookbox@
    \commaunbox@\procinfobox@
    \commaunbox@\bookinfobox@
    \ppunbox@\empty\space\volbox@\empty
    \ppunbox@,\space\edbox@{, \edtext}%
    \commaunbox@\publbox@ \commaunbox@\publaddrbox@
    \commaunbox@\yrbox@
  \else 
    \commaunbox@\paperbox@ \commaunbox@\paperinfobox@
    \ifprocpaper@ % Case 2: \paper ... \inbook
      \ppunbox@,{ in }\bookbox@\empty
      \commaunbox@\procinfobox@
      \commaunbox@\bookinfobox@
      \ppunbox@\empty\space\volbox@\empty
      \ppunbox@,\space\edbox@{, \edtext}%
      \commaunbox@\publbox@ \commaunbox@\publaddrbox@
      \commaunbox@\yrbox@
    \else % Case 3: \paper ... \jour
      \commaunbox@\jourbox@
      \commaunbox@\volbox@
      \commaunbox@\issuebox@
      \ppunbox@\empty{ (}\yrbox@)%
      \commaunbox@\publbox@ \commaunbox@\publaddrbox@
    \fi
  \fi
  \ppunbox@,{ \pagestext~}\pagesbox@\empty
  \commaunbox@\finalinfobox@
  \commaunbox@\miscnotebox@
  \finalpunct\ppunbox@\empty{ (}\langbox@)%
  \defaultreftexts
}
%
%  \iffirstpage@ is defined in amsppt; we make sure it is true.
%
\firstpage@true
%
%  We want to avoid people setting papers with the SIAM slug by default.
%  We introduce a new macro \accepted that will set a flag to do this.
%
\newif\ifaccepted@
\def\firstpageno#1{\gdef\firstpageno@{#1}}
\def\lastpageno#1{\gdef\lastpageno@{#1}}
\def\journalname#1{\gdef\journalname@{#1}}
\def\issuevolume#1{\gdef\issuevolume@{#1}}
\def\issuenumber#1{\gdef\issuenumber@{#1}}
\def\issuemonth#1{\gdef\issuemonth@{#1}}
\def\placenumber#1{\gdef\placenumber@{#1}}
\def\issueyear#1{\gdef\issueyear@{#1}}
\def\shorttitle#1{\gdef\shorttitle@{\lowercase{#1}}}
\def\shortauthor#1{\gdef\shortauthor@{\lowercase{#1}}}
\def\accepted{\accepted@true
\journalname{XXXXXXXXXXXXXXXXXX}%
\firstpageno{1}%
\lastpageno{XX}%
\issuevolume{0}%
\issuenumber{0}%
\issuemonth{XXXXXXX}%
\placenumber{000}%
\issueyear{19XX}%
}
\shortauthor{}
\shorttitle{}
\accepted@false
\output={\output@}
%
%  The new output@, taken almost verbatim from amstexsiam, version 1.*;
%  I changed \oddhead and \evenhead to \shorttitle and \shortauthor---users
%  shouldn't really have to check whether the title is on odd or even pages.
%
\def\output@{%
\iffirstpage@\global\firstpage@false\shipout
  \vbox{\ifaccepted@\global\pageno=\firstpageno@\vbox to 2 pc
 {\baselineskip=8pt\vss
  \hbox to \hsize{\sixrm\journalname@\hfill{\textfont\tw@\sixsy
  \copyright}\ \issueyear@\ Society for Industrial and Applied Mathematics}
  \hbox to \hsize{\sixrm Vol.~\issuevolume@, No.~\issuenumber@,
    pp.~\firstpageno@--\lastpageno@, \issuemonth@\ \issueyear@\hfill
    \placenumber@}\vskip-\prevdepth\vskip 8 pt}\else\vbox
    {\vrule height 2 pc width 0 pt}\fi\nointerlineskip
  \vbox to\vsize
  {\boxmaxdepth=\maxdepth \pagecontents}\nointerlineskip\vbox to 16 pt{\vss
  \hbox to \hsize{\eightpoint\hfill\number\pageno\hfill}}}%
 \else
 \shipout\vbox{\vbox to 2 pc{\baselineskip=12pt
  \vss\ifodd\pageno
   \hbox to \hsize{\tenpoint\relaxnext@\phantom{\number\pageno}\hfil
       {\smc\frenchspacing{\shorttitle@}}\hfil\number\pageno}
  \else
   \hbox to \hsize{\tenpoint\number\pageno\hfil{\smc\frenchspacing{\shortauthor@}}\hfil\relaxnext@
    \phantom{\number\pageno}}\fi\vskip-\prevdepth\vskip 12 pt}\nointerlineskip%
  \vbox to\vsize
  {\boxmaxdepth=\maxdepth \pagecontents}}%  changed to resemble TeXBook, p255 PCD
 \fi
 \global\advance\pageno\@ne
 \ifnum\outputpenalty>-\@MM\else\dosupereject\fi}
\def\SIMAF{\journalname{{\sixrm SIAM J. M{\fiverm ATH.} F{\fiverm OOL.}}}}% for sample paper
\def\SIAP{\journalname{{\sixrm SIAM J. A{\fiverm PPL.} M{\fiverm ATH.}}}}
\def\SICOMP{\journalname{{\sixrm SIAM J. C{\fiverm OMPUT.}}}}
\def\SICON{\journalname{{\sixrm SIAM J. C{\fiverm ONTROL} {\fiverm AND} O{\fiverm PTIMIZATION}}}}
\def\SIDMA{\journalname{{\sixrm SIAM J. D{\fiverm ISC.} M{\fiverm ATH.}}}}
\def\SIMA{\journalname{{\sixrm SIAM J. M{\fiverm ATH.} A{\fiverm NAL.}}}}
\def\SIMAX{\journalname{{\sixrm SIAM J. M{\fiverm ATRIX} A{\fiverm NAL.} A{\fiverm PPL.}}}}
\def\SINUM{\journalname{{\sixrm SIAM J. N{\fiverm UMER.} A{\fiverm NAL.}}}}
\def\SIOPT{\journalname{{\sixrm SIAM J. O{\fiverm PTIMIZATION}}}}
\def\SISC{\journalname{{\sixrm SIAM J. S{\fiverm CI.} C{\fiverm OMPUT.}}}}
\def\SIREV{\journalname{{\sixrm SIAM R{\fiverm EVIEW}}}}
%\def\TVP{\journalname{{Theory of Probability and its Applications}}}
%  but the slug is so different for this journal that I won't include it.
%
%  From amstexsiam version 1.*
%
\def\footnoterule{\hrule width 36 pt height .2 pt\vskip 2.8\p@}
\skip\footins=12 pt plus 18 pt minus 6 pt
%
%  We use \key in references by default, with a two digit key width.
%
\refstyle{A}
\widestnumber\key{00}
%
%  Centered tags on splits seems to be the default.
%
\CenteredTagsOnSplits
%
%  The multlinegap@ is 0pt for the SIAM style.
%
\multlinegap@0pt
%
%  Every paper will have at least one bold footnotemark (in the title),
%  so we load bold.
\loadbold
%
%  Start in 10 pt text.
%
\tenpoint
%
%  Reset the catcode of @ and reset amstexsiam.sty to be the version number.
%
\csname amstexsiam.sty\endcsname
%
%  Make sure that we endinput here so following lines are not interpreted
%  by TeX
%
\endinput
%%
%% End of file `amstexsiam.sty'

