%%
%% This is file `asa.rtx',
%% 
%% This file is NOT part of the APS files in the REVTeX 4 distribution.
%% It is a modified version of 'aps.rtx'
%%
%% 'aps.rtx' information:
%% Original version by David Carlisle
%% Modified by Arthur Ogawa (mailto:ogawa@teleport.com)
%% Copyright (c) 1999 The American Physical Society.
%% http://publish.aps.org/revtex4/
%% mailto:revtex4@aps.org
%% See the REVTeX 4 README file for restrictions and more information.
%% 
%% This style file is *not* endorsed by the Acoustical Society of America.
%% Use at your own risk!  
%%
%% ASA Modifications by Ronald Kumon 
%% (http://www.kumonweb.com/ron/)
%% See CHANGELOG available from that site for details about changes.
%%
%% v. 1.0  12 June 2002
%% v. 1.1  11 September 2002
%% v. 1.2  17 September 2002
%% v. 1.21 26 September 2002
%% v. 1.3  02 September 2004
%% v. 1.4  06 December  2004
%% 
%% Modifications Copyright (c) 2002, 2004 Ronald Kumon.

\NeedsTeXFormat{LaTeX2e}[1996/12/01]
\ProvidesFile{asa.rtx}
          [2004/12/06 v1.4]%FileInfo
\ifx\undefined\substyle@ext
 \def\@tempa{%
  \endinput
  \GenericWarning{I must be read in by REVTeX! (Bailing out)}%
 }%
 \expandafter\else
  \def\@tempa{}%
 \expandafter\fi\@tempa
\def\ao{Appl.\  Opt.\ }
\def\ap{Appl.\  Phys.\ }
\def\apl{Appl.\ Phys.\ Lett.\ }
\def\apj{Astrophys.\ J.\ }
\def\bell{Bell Syst.\ Tech.\ J.\ }
\def\jqe{IEEE J.\ Quantum Electron.\ }
\def\assp{IEEE Trans.\ Acoust.\ Speech Signal Process.\ }
\def\aprop{IEEE Trans.\ Antennas Propag.\ }
\def\mtt{IEEE Trans.\ Microwave Theory Tech.\ }
\def\iovs{Invest.\ Ophthalmol.\ Vis.\ Sci.\ }
\def\jasa{J.\ Acoust.\  Soc.\ Am.\ }
\def\jcp{J.\ Chem.\ Phys.\ }
\def\jmo{J.\ Mod.\ Opt.\ }
\def\josa{J.\ Opt.\ Soc.\ Am.\ }
\def\josaa{J.\ Opt.\ Soc.\ Am.\ A }
\def\josab{J.\ Opt.\ Soc.\ Am.\ B }
\def\jpp{J.\ Phys.\ (Paris) }
\def\nat{Nature (London) }
\def\oc{Opt.\ Commun.\ }
\def\ol{Opt.\ Lett.\ }
\def\pl{Phys.\ Lett.\ }
\def\pra{Phys.\ Rev.\ A }
\def\prb{Phys.\ Rev.\ B }
\def\prc{Phys.\ Rev.\ C }
\def\prd{Phys.\ Rev.\ D }
\def\pre{Phys.\ Rev.\ E }
\def\prl{Phys.\ Rev.\ Lett.\ }
\def\rmp{Rev.\ Mod.\ Phys.\ }
\def\pspie{Proc.\ Soc.\ Photo-Opt.\ Instrum.\ Eng.\ }
\def\sjqe{Sov.\ J.\ Quantum Electron.\ }
\def\vr{Vision Res.\ }
\def\@fnsymbol#1{%
 \ensuremath{%
  \ifcase#1\or
   *\or                        \dagger                   \or
   \ddagger                \or \mathsection              \or
   \mathparagraph\or
   **\or                       \dagger\dagger            \or
   \ddagger\ddagger        \or \mathsection \mathsection \or
   \mathparagraph\mathparagraph\or
   *{*}*\ignorespaces      \or \dagger\dagger\dagger     \or
   \ddagger\ddagger\ddagger\or \mathsection \mathsection \mathsection \or
   \mathparagraph\mathparagraph\mathparagraph\or
  \else
   \@ctrerr
  \fi
 }%
}%
\renewenvironment{titlepage}{%
  \let\wastwocol@sw\twocolumn@sw
  \onecolumngrid
  \newpage
  \thispagestyle{titlepage}%
  \c@page\z@% article sets this to one not zero???
}{%
  \wastwocol@sw{\twocolumngrid}{\newpage}%
}%
\def\frontmatter@abstractheading{%
 \preprintsty@sw{%
  \begingroup
   \centering\large
   \abstractname
   \par
  \endgroup
 }{}%
}%
\def\frontmatter@abstractwidth{400\p@}%
\def\frontmatter@abstractfont{%
 \small
 \parindent1em\relax
 \adjust@abstractwidth
}%
\def\adjust@abstractwidth{%
 \dimen@\textwidth\advance\dimen@-\frontmatter@abstractwidth
 \divide\dimen@\tw@
 \galley@sw{%
  \advance\rightskip\tw@\dimen@
 }{%
  \advance\leftskip\dimen@
  \advance\rightskip\dimen@
 }%
}%
\appdef\class@documenthook{%
  \preprintsty@sw{%
   \@ifxundefined\titlepage@sw{\@booleantrue\titlepage@sw}{}%
   \def\frontmatter@abstractwidth{\textwidth}%
   \def\frontmatter@affiliationfont{\it}%
   \let\section\section@preprintsty
   \let\subsection\subsection@preprintsty
   \let\subsubsection\subsubsection@preprintsty
  }{}%
 }%
\def\frontmatter@authorformat{%
 \skip@\@flushglue
 \@flushglue\z@ plus.3\hsize\relax
 \centering
 \advance\baselineskip\p@
 \parskip11.5\p@\relax
 \@flushglue\skip@
}%
\def\frontmatter@above@affilgroup{%
}%
\def\frontmatter@above@affiliation@script{%
 \skip@\@flushglue
 \@flushglue\z@ plus.3\hsize\relax
 \centering
 \@flushglue\skip@
 \addvspace{3.5\p@}%
}%
\def\frontmatter@above@affiliation{%
 \preprintsty@sw{}{%
 }%
}%
\def\frontmatter@affiliationfont{%
 \small\it
}%
\def\frontmatter@collaboration@above{%
 \preprintsty@sw{%
 }{%
  \parskip1.5\p@\relax
 }%
}%
\@ifxundefined\groupauthors@sw{%
 \clo@groupedaddress
}{}%
\def\frontmatter@setup{%
 \normalfont
}%
\def\frontmatter@title@above{\addvspace{6\p@}}%
\def\frontmatter@title@format{\large\bfseries\centering\parskip\z@skip}%
\def\frontmatter@title@below{}%
\def\@author@parskip{3\p@}%
\def\frontmatter@makefnmark{%
 \@textsuperscript{%
  \normalfont\@thefnmark
 }%
}%
\def\frontmatter@authorbelow{%
\addvspace{3\p@}%
}%
\def\frontmatter@RRAP@format{%
  \small
  \centering
  \everypar{\hbox\bgroup(\@gobble@leavemode@uppercase}%
  \def\par{\@ifvmode{}{\unskip)\egroup\@@par}}%
}%
\def\punct@RRAP{;\egroup\ \hbox\bgroup}%
\def\@gobble@leavemode@uppercase#1#2{\expandafter\MakeTextUppercase}%
\def\frontmatter@PACS@format{%
   \addvspace{11\p@}%
   \footnotesize
   \adjust@abstractwidth
   \parindent\z@
   \parskip\z@skip
   \samepage
}%
\def\frontmatter@keys@format{%
   \footnotesize
   \adjust@abstractwidth
   \parindent\z@
   \samepage
}%
\def\ps@titlepage{%
  \def\@oddhead{%
   \hfill
   \produce@preprints\@preprint
  }%
  \let\@evenhead\@oddhead
  \def\@oddfoot{%
   \hb@xt@\z@{\byrevtex\hss}%
   \hfil
   \preprintsty@sw{\thepage}{}%
   \quad\checkindate
   \hfil
  }%
  \let\@evenfoot\@oddfoot
}%
\def\byrevtex{\byrevtex@sw{Typeset by REV\TeX}{}}%
\def\produce@preprints#1{%
 \preprint@sw{%
  \vtop to \z@{%
   \def\baselinestretch{1}%
   \small
   \let\preprint\preprint@count
   \count@\z@#1\@ifnum{\count@>\tw@}{%
    \hbox{%
     \let\preprint\preprint@hlist
     #1\setbox\z@\lastbox
    }%
   }{%
    \let\preprint\preprint@cr
    \halign{\hfil##\cr#1\crcr}%
    \par
    \vss
   }%
  }%
 }{}%
}%
\def\preprint@cr#1{#1\cr}%
\def\preprint@count#1{\advance\count@\@ne}%
\def\preprint@hlist#1{#1\hbox{, }}%
\def\@seccntformat#1{\csname the#1\endcsname.\quad}%
\def\@hang@from#1#2#3{#1#2#3}%
\def\section{%
  \@startsection
    {section}%
    {1}%
    {\z@}%
    {0.8cm \@plus1ex \@minus .2ex}%
    {0.5cm}%
    {%
      \normalfont\small\bfseries
      \centering
    }%
}%
\def\@hangfrom@section#1#2#3{\@hangfrom{#1#2}\MakeTextUppercase{#3}}%
\def\subsection{%
  \@startsection
    {subsection}%
    {2}%
    {\z@}%
    {.8cm \@plus1ex \@minus .2ex}%
    {.5cm}%
    {%
     \normalfont\small\bfseries
     \centering
    }%
}%
\def\subsubsection{%
  \@startsection
    {subsubsection}%
    {3}%
    {\z@}%
    {.8cm \@plus1ex \@minus .2ex}%
    {.5cm}%
    {%
     \normalfont\small\itshape
     \centering
    }%
}%
\def\paragraph{%
  \@startsection
    {paragraph}%
    {4}%
    {\parindent}%
    {\z@}%
    {-1em}%
    {\normalfont\normalsize\itshape}%
}%
\def\subparagraph{%
  \@startsection
    {subparagraph}%
    {5}%
    {\parindent}%
    {3.25ex \@plus1ex \@minus .2ex}%
    {-1em}%
    {\normalfont\normalsize\bfseries}%
}%
\def\section@preprintsty{%
  \@startsection
    {section}%
    {1}%
    {\z@}%
    {0.8cm \@plus1ex \@minus .2ex}%
    {0.5cm}%
    {%
      \normalfont\small\bfseries
    }%
}%
\def\subsection@preprintsty{%
  \@startsection
    {subsection}%
    {2}%
    {\z@}%
    {.8cm \@plus1ex \@minus .2ex}%
    {.5cm}%
    {%
     \normalfont\small\bfseries
    }%
}%
\def\subsubsection@preprintsty{%
  \@startsection
    {subsubsection}%
    {3}%
    {\z@}%
    {.8cm \@plus1ex \@minus .2ex}%
    {.5cm}%
    {%
     \normalfont\small\itshape
    }%
}%
 \@ifxundefined\frontmatter@footnote@produce{%
  \let\frontmatter@footnote@produce\frontmatter@footnote@produce@endnote
 }{}%
\def\@pnumwidth{1.55em}
\def\@tocrmarg {2.55em}
\def\@dotsep{4.5pt}
\setcounter{tocdepth}{3}
\def\tableofcontents{%
 \addtocontents{toc}{\string\tocdepth@munge}%
 \print@toc{toc}%
 \addtocontents{toc}{\string\tocdepth@restore}%
}%
\def\tocdepth@munge{%
  \let\l@section@saved\l@section
  \let\l@section\@gobble@tw@
}%
\def\@gobble@tw@#1#2{}%
\def\tocdepth@restore{%
  \let\l@section\l@section@saved
}%
\def\l@part#1#2{\addpenalty{\@secpenalty}%
 \begingroup
  \set@tocdim@pagenum{#2}%
  \parindent \z@
  \rightskip\tocleft@pagenum plus 1fil\relax
  \skip@\parfillskip\parfillskip\z@
  \addvspace{2.25em plus\p@}%
  \large \bf %
  \leavevmode\ignorespaces#1\unskip\nobreak\hskip\skip@
  \hb@xt@\rightskip{\hfil\unhbox\z@}\hskip-\rightskip\hskip\z@skip
  \par
  \nobreak %
 \endgroup
}%
\def\tocleft@{\z@}%
\def\tocdim@min{5\p@}%
\def\l@section{%
 \l@@sections{}{section}% Implicit #3#4
}%
\def\l@f@section{%
 \addpenalty{\@secpenalty}%
 \addvspace{1.0em plus\p@}%
 \bf
}%
\def\l@subsection{%
 \l@@sections{section}{subsection}% Implicit #3#4
}%
\def\l@subsubsection{%
 \l@@sections{subsection}{subsubsection}% Implicit #3#4
}%
\def\l@paragraph#1#2{}%
\def\l@subparagraph#1#2{}%
\let\toc@pre\toc@pre@auto
\let\toc@post\toc@post@auto
\def\listoffigures{\print@toc{lof}}%
\def\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
\def\listoftables{\print@toc{lot}}%
\let\l@table\l@figure
\appdef\class@documenthook{%
 \@ifxundefined\raggedcolumn@sw{\@booleantrue\raggedcolumn@sw}{}%
 \raggedcolumn@sw{\raggedbottom}{\flushbottom}%
}%
\def\tableft@skip@float{\z@ plus\hsize}%
\def\tabmid@skip@float{\@flushglue}%
\def\tabright@skip@float{\z@ plus\hsize}%
\def\array@row@pre@float{\hline\hline\noalign{\vskip\doublerulesep}}%
\def\array@row@pst@float{\noalign{\vskip\doublerulesep}\hline\hline}%
\def\@makefntext#1{%
 \def\baselinestretch{1}%
 \reset@font
 \footnotesize
 \leftskip1em
 \parindent1em
 \noindent\nobreak\hskip-\leftskip
 \hb@xt@\leftskip{%
  \Hy@raisedlink{\hyper@anchorstart{footnote@\the\c@footnote}\hyper@anchorend}%
  \hss\@makefnmark\
 }%
 #1%
 \par
}%
\prepdef\appendix{%
 \par
 \let\@hangfrom@section\@hangfrom@appendix
 \let\@hangfroms@section\@hangfroms@appendix
 \let\@sectioncntformat\@appendixcntformat
}%
\def\@hangfrom@appendix#1#2#3{%
 #1%
 \@if@empty{#2}{%
  \MakeTextUppercase{#3}%
 }{%
  #2\@if@empty{#3}{}{:\ \MakeTextUppercase{#3}}%
 }%
}%
\def\@hangfroms@appendix#1#2{%
 #1\MakeTextUppercase{#2}%
}%
\def\@appendixcntformat#1{\appendixname\ \csname the#1\endcsname}%
\def\appendixesname{APPENDICES}%
\def\appendixname{APPENDIX}%
 \bibpunct{}{}{,}{s}{}{\textsuperscript{,}}%
 \def\bibsection{%
  \par
  \onecolumngrid@push
  \begingroup
   \baselineskip26\p@
   \bib@device{\textwidth}{245.5\p@}%
 \endgroup
  \nobreak\@nobreaktrue
  \addvspace{19\p@}%
  \par
  \onecolumngrid@pop
 }%
\def\bib@device#1#2{%
\hb@xt@#1{%
 \hfil
 \phantomsection
  \addcontentsline {toc}{section}{\protect\numberline{}\refname}%
 \hb@xt@#2{%
  \skip@\z@\@plus-1fil\relax
                        \leaders\hrule height.25 \p@ depth.25 \p@ \hskip\z@\@plus1fil
\hskip\skip@
\hskip\z@\@plus0.125fil\leaders\hrule height.375\p@ depth.375\p@ \hskip\z@\@plus0.75fil \hskip\z@\@plus0.125fil
\hskip\skip@
\hskip\z@\@plus0.25 fil\leaders\hrule height.5  \p@ depth.5  \p@ \hskip\z@\@plus0.5 fil \hskip\z@\@plus0.25 fil
\hskip\skip@
\hskip\z@\@plus0.375fil\leaders\hrule height.625\p@ depth.625\p@ \hskip\z@\@plus0.25fil \hskip\z@\@plus0.375fil
 }%
\hfil
}%
}%
\let\bibpreamble\@empty
\bibsep\z@\relax
\def\newblock{\ }%
 \def\bibfont{%
  \small
 }%
\newenvironment{theindex}{%
 \columnseprule \z@
 \columnsep 35\p@
 \c@secnumdepth-\maxdimen
 \onecolumngrid@push
 \section{\indexname}%
 \thispagestyle{plain}%
 \parindent\z@
 \parskip\z@ plus.3\p@\relax
 \let\item\@idxitem
 \onecolumngrid@pop
}{%
}%
\def\@idxitem{\par\hangindent 40\p@}
\def\subitem{\par\hangindent 40\p@ \hspace*{20\p@}}
\def\subsubitem{\par\hangindent 40\p@ \hspace*{30\p@}}
\def\indexspace{\par \vskip 10\p@ plus5\p@ minus3\p@\relax}
\def\journal@asa{jasa}%
\def\journal@pra{pra}%
\def\journal@prb{prb}%
\def\journal@prc{prc}%
\def\journal@prd{prd}%
\def\journal@pre{pre}%
\def\journal@prl{prl}%
\def\journal@prstab{prstab}%
\def\journal@rmp{rmp}%
\@ifx{\@journal\journal@pra}{%
}{}%
\@ifx{\@journal\journal@prb}{%
 \@ifxundefined\bibnotes@sw{\@booleantrue\bibnotes@sw}{}%
 \bibpunct{}{}{,}{s}{}{\textsuperscript{,}}%
 \def\@onlinecite#1{\begingroup\let\@cite\NAT@citenum\citealp{#1}\endgroup}%
 \appdef\class@documenthook{%
  \@ifxundefined\place@bibnumber{%
   \let\place@bibnumber\place@bibnumber@sup
  }{}%
 }%
}{}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Define JASA section
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\@ifx{\@journal\journal@asa}{%
\@ifxundefined\author@year{
\def\byrevtex{\byrevtex@sw{Typeset by REV\TeX~4~for~JASA}{}}
}{%
\def\byrevtex{\byrevtex@sw{Typeset by REV\TeX~4~for~JASA(A,Y)}{}}
}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Change subsection definition so that the third subheadings are boldface
% This needs to be done in both the galley and preprint modes.
% In addition the heading need to be made so that they are not small
% but normalsize.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \def\section{%
  \@startsection
    {section}%
    {1}%
    {\z@}%
    {0.6cm \@plus1ex \@minus .2ex}%
    {0.25cm}%
    {%
      \normalsize\sffamily\bfseries\selectfont
      \raggedright
      \parindent\z@
    }%
 }%
 \def\subsection{%
  \@startsection
    {subsection}%
    {2}%
    {\z@}%
    {.6cm \@plus1ex \@minus .2ex}%
    {0.25cm}%
    {%
     \normalsize\sffamily\bfseries\selectfont
     \raggedright
     \parindent\z@
    }%
 }%
  \def\subsubsection{%
  \@startsection
    {subsubsection}%
    {3}%
    {\z@}%
    {0.6cm \@plus1ex \@minus .2ex}%
    {0.25cm}%
    {%
     \normalsize\sffamily\bfseries\slshape\selectfont
     \raggedright
     \parindent\z@
    }%
  }%
 \def\paragraph{%
  \@startsection{paragraph}
    {4}
    {\z@}
    {.6cm plus1ex minus.2ex}
    {-1em}%
  {%
   \slshape\selectfont
   \raggedright
   \parindent\z@
  }%
 }%
 \def\subparagraph{%
  \@startsection{subparagraph}
  {4}
  {\parindent}
  {3.25ex plus1ex minus.2ex}
  {-1em}%
  {\normalsize\bfseries\selectfont}%
 }%
 \def\section@preprintsty{%
  \@startsection
    {section}%
    {1}%
    {\z@}%
    {0.8cm \@plus1ex \@minus .2ex}%
    {0.5cm}%
    {%
      \normalfont\normalsize\sffamily\bfseries\selectfont
      \raggedright
      \parindent\z@
    }%
 }%
 \def\subsection@preprintsty{%
  \@startsection
    {subsection}%
    {2}%
    {\z@}%
    {.8cm \@plus1ex \@minus .2ex}%
    {.5cm}%
    {%
      \normalfont\normalsize\sffamily\bfseries\selectfont
      \raggedright
      \parindent\z@
    }%
  }%
  \def\subsubsection@preprintsty{%
  \@startsection
    {subsubsection}%
    {3}%
    {\z@}%
    {.8cm \@plus1ex \@minus .2ex}%
    {.5cm}%
    {%
     \normalfont\normalsize\sffamily\bfseries\slshape\selectfont
     \raggedright
     \parindent\z@
    }%
  }%
 \def\paragraph@preprintsty{%
  \@startsection{paragraph}
    {4}
    {\z@}
    {.8cm plus1ex minus.2ex}
    {-1em}%
  {%
   \slshape\selectfont
   \raggedright
   \parindent\z@
  }%
 }%
 \def\subparagraph@preprintsty{%
  \@startsection{subparagraph}
  {4}
  {\parindent}
  {3.25ex plus1ex minus.2ex}
  {-1em}%
  {\normalsize\bfseries\selectfont}%
 }%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Define frontmatter footline marker to be of the form 
% "{footnote marker})".  Use the documentclass option 
% "altaffiletter" to make the footline markers lowercase letters.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\frontmatter@makefnmark{%
 \@textsuperscript{%
  \normalfont\@thefnmark)
 }%
}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Define variables which contain the first author's last name 
% for the running header and the short title.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \newcommand{\defineheaderauthor}[1]{\def\headerauthor{#1}}
 \newcommand{\defineshorttitle}[1]{\def\headertitle{#1}}
 \newcommand{\definerunningtitle}[1]{\def\runningtitle{#1}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% In galley mode, redefine title and abstract pages so that 
% (1) the odd pages have page number on left 
% (2) the even pages have page number on right
% (3) all pages have "J. Acoust. Soc. Am.", first author name, and 
%     running title
% In preprint mode, redefine title and abstract pages so that 
% (1) the date is printed
% (2) the running header is printed with the first author's last name,
% (3) page numbers are placed centered in the footer
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \@ifxundefined\preprintsty@sw{%
   \def\ps@JASAheadingsgalley{
     \def\@oddhead{}
     \def\@oddfoot{\small{\textsf{J. Acoust. Soc. Am.}\hfil\textsf{\headerauthor:~\runningtitle}\hspace{0.2in}\textsf{\thepage}}}
     \def\@evenhead{}
     \def\@evenfoot{\small{\textsf{\thepage}\hspace{0.2in}\textsf{J. Acoust. Soc. Am.}\hfil\textsf{\headerauthor:~\runningtitle}}}
     \def\sectionmark##1{}\def\subsectionmark##1{}}
   \def\ps@JASAheadingstitlegalley{
     \def\@oddhead{\hfil\byrevtex}
     \def\@oddfoot{\small{\textsf{J. Acoust. Soc. Am.}\hfil\textsf{\headerauthor:~\runningtitle}\hspace{0.2in}\textsf{\thepage}}}
     \def\@evenhead{}
     \def\@evenfoot{\small{\textsf{\thepage}\hspace{0.2in}\textsf{J. Acoust. Soc. Am.}\hfil\textsf{\headerauthor:~\runningtitle}}}
     \def\sectionmark##1{}\def\subsectionmark##1{}}
   \def\ps@titlepage{\ps@JASAheadingstitlegalley}
   \pagestyle{JASAheadingsgalley}
 }{%
 \def\frontmatter@received@format{%
    \renewcommand{\rmdefault}{cmr}
    \rmfamily
 }%
 \def\frontmatter@shorttitle@format{%
    \renewcommand{\rmdefault}{cmr}
    \rmfamily
 }%
 \def\frontmatter@default@format{%
    \renewcommand{\rmdefault}{cmr}
    \normalfont\rmfamily
 }%
 \def\frontmatter@headertitle@format{%
    %\renewcommand{\rmdefault}{ptm}
    \normalfont\sffamily
 }%
 \def\frontmatter@runningtitle@format{%
    %\renewcommand{\rmdefault}{ptm}
    \normalfont\sffamily
 }%
 \newcommand{\receiveddef}{
     \frontmatter@received@format
     Received: \ \ \ 
 }%
 \newcommand{\shorttitledef}{
   \frontmatter@shorttitle@format
   Short title: \ 
   \frontmatter@default@format
 }% 
 \newcommand{\runningtitledef}{
   \frontmatter@shorttitle@format
   Running title: \ 
   \frontmatter@default@format
 }% 
 \def\ps@JASAheadings{
   \def\@oddhead{\hfil{\small\sl\headerauthor, JASA}}
   \def\@oddfoot{\hfil\rm{\thepage}\hfil}
   \def\@evenhead{\hfil{\small\sl\headerauthor, JASA}}
   \def\@evenfoot{\hfil\rm{\thepage}\hfil}
   \def\sectionmark##1{}\def\subsectionmark##1{}}
 \pagestyle{JASAheadings}
 }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Redefine the caption font so that it is normalsize in preprint mode
% but small in galley mode.  Also make the caption labels of the 
% form "XXX. #" (no colon).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \long\def\@makecaption#1#2{%
  \par
  \vskip\abovecaptionskip
  \begingroup
  \@ifxundefined\preprintsty@sw{% set up box
     \sbox\@tempboxa{%
      \let\\\heading@cr
      \normalsize\rmfamily
      #1. #2%
     }%
   }{%
     \sbox\@tempboxa{%
      \let\\\heading@cr
      \small\rmfamily
      #1. #2%
     }%
   }%
   \@ifdim{\wd\@tempboxa >\hsize}{% if more than one line
    \begingroup
     \samepage
     \flushing
     \@ifxundefined\preprintsty@sw{%
        \normalsize\rmfamily
        \let\footnote\@footnotemark@gobble
        #1. #2\par
        \endgroup
     }{%
        \small\rmfamily
        \let\footnote\@footnotemark@gobble
        #1. #2\par
        \endgroup
     }%
   }{%
     \global \@minipagefalse
     \hb@xt@\hsize{\hfil\unhbox\@tempboxa\hfil}%
   }%
  \endgroup
  \vskip\belowcaptionskip
 }%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Define the title section in preprint mode.  In particular, 
% remove the abstract, PACS, and keywords.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \def\maketitleasa{%
  \@author@finish
  \title@column\titleblockasa@produce
  \suppressfloats[t]%
  \let\and\relax
  \let\affiliation\@gobble
  \let\author\@gobble
  \let\@AAC@list\@empty
  \let\@AFF@list\@empty
  \let\@AFG@list\@empty
  \let\@AF@join\@AF@join@error
  \let\email\@gobble
  \let\@address\@empty
  \let\maketitle\relax
  \let\thanks\@gobble
  \titlepage@sw{%
   \vfil
   \clearpage
  }{}%
 }%
 %%%%%%%%% Define the title parameters %%%%%%%%%%%%%
 \def\frontmatter@setup{%
   \normalfont\sffamily\raggedright
 }%
 \def\frontmatter@title@format{%
    \renewcommand{\rmdefault}{ptm}
    \Large\rmfamily\bfseries\raggedright
 }%
 \def\frontmatter@title@below{%
    \addvspace{6\p@}
 }% 24pt b-b down to first author
 \def\frontmatter@above@affilgroup{\addvspace{7.2\p@}}% additional leading above an author
 \def\frontmatter@above@affiliation{\addvspace{0.0\p@}}%
 \def\frontmatter@above@affiliation@script{}% 
 \def\frontmatter@RRAP@format{%
   \addvspace{7.3\p@}%
   \small
   \raggedright\advance\leftskip.5in\relax
 }%
 \def\produce@RRAP#1{%
   \@if@empty{#1}{}{%
    \@ifvmode{\leavevmode}{}%
    \unskip(\ignorespaces#1\unskip)\quad
   }%
 }%
 \def\frontmatter@authorformat{%
  \preprintsty@sw{\vskip0.5pc\relax}{}%
  \@tempskipa\@flushglue
  \@flushglue\z@ plus50\p@\relax
  \raggedright\advance\leftskip.5in\relax
  \@flushglue\@tempskipa
  \parskip\z@skip
 }%
 \def\titleblockasa@produce{%
 \begingroup
  \let\footnote\footnote@latex
  \let\@makefnmark\@makefnmark@latex
  \let\@footnotemark\@footnotemark@latex
  \let\thefootnote\frontmatter@thefootnote
  \global\c@footnote\z@
  \let\@makefnmark\frontmatter@makefnmark
  \frontmatter@setup
  \thispagestyle{titlepage}\label{FirstPage}%
  \frontmatter@title@produce
  \groupauthors@sw{%
   \frontmatter@author@produce@group
  }{%
   \frontmatter@author@produce@script
  }%
  \frontmatter@RRAPformat{%
   \expandafter\produce@RRAP\expandafter{\@date}%
   \expandafter\produce@RRAP\expandafter{\@received}%
   \expandafter\produce@RRAP\expandafter{\@revised}%
   \expandafter\produce@RRAP\expandafter{\@accepted}%
   \expandafter\produce@RRAP\expandafter{\@published}%
  }%
 % \vspace{0.5in}\par
 % \receiveddef 
  \vspace{0.5in}\par
  \runningtitledef
  \frontmatter@runningtitle@format
  \runningtitle
 % \vspace{0.5in}\par
 % \shorttitledef
 % \frontmatter@headertitle@format
 % \headertitle
 %  \frontmatter@abstract@produce
 %  \@pacs@produce\@pacs
 %  \@keywords@produce\@keywords
  \par
  \frontmatter@finalspace
 \endgroup
 }%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Define the abstract section in preprint mode.  In particular, 
% (1) Remove the title
% (2) Remove the authors and affiliations.
% (3) Make the PACS font to be normalsize.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \def\makeabstractasa{%
  \@author@finish
  \title@column\abstractblock@produce
  \suppressfloats[t]%
  \let\and\relax
  \let\affiliation\@gobble
  \let\author\@gobble
  \let\@AAC@list\@empty
  \let\@AFF@list\@empty
  \let\@AFG@list\@empty
  \let\@AF@join\@AF@join@error
  \let\email\@gobble
  \let\@address\@empty
  \let\maketitle\relax
  \let\thanks\@gobble
  \titlepage@sw{%
   \vfil
   \clearpage
  }{}%
 }%
 %%%%%%%%% Define the abstract parameters %%%%%%%%%%%%
 \def\abstractname{ABSTRACT}
 \def\frontmatter@abstractname@format{%
   \rmfamily\sffamily\bfseries
 }%
 \def\frontmatter@abstractheading{%
  \preprintsty@sw{%
   \begingroup
    %\centering\large
    \leftskip=0.5in
    \frontmatter@abstractname@format
    \abstractname
    \par
   \endgroup
   \vspace{.5pc}%
  }{}%
 }%
 \def\frontmatter@abstractfont{%
  %\footnotesize
  \hsize400\p@
  \leftskip=0.5in
  \advance\hsize\leftskip
  \parindent\z@
 }%
 \def\frontmatter@preabstractspace{7.7\p@}%
 %\def\frontmatter@postabstractspace{24.6\p@}%
 \def\frontmatter@finalspace{\addvspace{36\p@}}
 \def\frontmatter@PACS@format{%
   \rmfamily
   \leftskip=0.5in
 }%
 \def\abstractblock@produce{%
 \begingroup
  \let\footnote\footnote@latex
  \let\@makefnmark\@makefnmark@latex
  \let\@footnotemark\@footnotemark@latex
  \let\thefootnote\frontmatter@thefootnote
  \global\c@footnote\z@
  \let\@makefnmark\frontmatter@makefnmark
  \frontmatter@setup
  \thispagestyle{titlepage}\label{SecondPage}%
 %  \frontmatter@title@produce
 %  \groupauthors@sw{%
 %   \frontmatter@author@produce@group
 %  }{%
 %   \frontmatter@author@produce@script
 %  }%
 %  \frontmatter@RRAPformat{%
 %   \expandafter\produce@RRAP\expandafter{\@date}%
 %   \expandafter\produce@RRAP\expandafter{\@received}%
 %   \expandafter\produce@RRAP\expandafter{\@revised}%
 %   \expandafter\produce@RRAP\expandafter{\@accepted}%
 %   \expandafter\produce@RRAP\expandafter{\@published}%
 %  }%
  \frontmatter@abstract@produce
  \@pacs@produce\@pacs
 %  \@keywords@produce\@keywords
  \par
  \frontmatter@finalspace
 \endgroup
 }
 \def\@pacs@produce#1{%
 \showPACS@sw{%
  \begingroup
   \frontmatter@PACS@format
   \normalsize
   \@pacs@name#1\par
  \endgroup
 }{%
  \@if@empty{#1}{}{%
   \class@warn{\PACS@warn}%
  }%
 }%
 }%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Redefine the abstract environment so that that font size is normalsize.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \renewenvironment{abstract}{%
  \aftermaketitle@chk{\begin{abstract}}%
  \global\setbox\absbox\vbox\bgroup
   \color@begingroup
   \columnwidth\textwidth
   \hsize\columnwidth
   \@parboxrestore
   \def\@mpfn{mpfootnote}\def\thempfn{\thempfootnote}\c@mpfootnote\z@
   \let\@footnotetext\frontmatter@footnotetext
   \minipagefootnote@init
   \let\@listdepth\@mplistdepth \@mplistdepth\z@
   \@minipagerestore
   \@setminipage
    \frontmatter@abstractheading
    \frontmatter@abstractfont
    \normalsize
    \let\footnote\mini@note
 }{%
    \par
    \unskip
    \minipagefootnote@here
    \@minipagefalse   %% added 24 May 89
    \color@endgroup
  \egroup
 }%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Redefine title block in galley mode.  In particular, make the 
% dates in normal-sized, Roman fonts.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \renewcommand*\date[2][\Dated@name]{\def\@date{\normalsize\textrm{#1#2}}}%
 \def\@date{}%
 \renewcommand*\received[2][\Received@name]{\def\@received{\normalsize\textrm{#1#2}}}%
 \def\@received{}%
 \renewcommand*\revised[2][\Revised@name]{\def\@revised{\normalsize\textrm{#1#2}}}%
 \def\@revised{}%
 \renewcommand*\accepted[2][\Accepted@name]{\def\@accepted{\normalsize\textrm{#1#2}}}%
 \def\@accepted{}%
 \renewcommand*\published[2][\Published@name]{\def\@published{\normalsize\textrm{#1#2}}}%
 \def\@published{}%
 \def\titleblock@produce{%
 \begingroup
  \let\footnote\footnote@latex
  \let\@makefnmark\@makefnmark@latex
  \let\@footnotemark\@footnotemark@latex
  \let\thefootnote\frontmatter@thefootnote
  \global\c@footnote\z@
  \let\@makefnmark\frontmatter@makefnmark
  \frontmatter@setup
  \thispagestyle{titlepage}\label{FirstPage}%
  \frontmatter@title@produce
  \groupauthors@sw{%
   \frontmatter@author@produce@group
  }{%
   \frontmatter@author@produce@script
  }%
  \frontmatter@RRAPformat{%
   \expandafter\produce@RRAP\expandafter{\@date}%
   \expandafter\produce@RRAP\expandafter{\@received}%
   \expandafter\produce@RRAP\expandafter{\@revised}%
   \expandafter\produce@RRAP\expandafter{\@accepted}%
   \expandafter\produce@RRAP\expandafter{\@published}%
  }%
  \frontmatter@abstract@produce
  \@pacs@produce\@pacs
  \@keywords@produce\@keywords
  \par
  \frontmatter@finalspace
 \endgroup
 }%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% If in preprint mode, put the title and abstract on separate pages.
% If in galley mode, do not.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \@ifxundefined\preprintsty@sw{%
 }{%
 \def\maketitle{%
   \maketitleasa
   \makeabstractasa
 }%
 }% 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Define Acknowledgements section header as uppercase.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \def\acknowledgmentsname{ACKNOWLEDGMENTS}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% In galley mode, remove the divider line between the text of the 
% article and the references.  Also make it such that the bibliography 
% just goes in the same column (not spread over both columns).
% In preprint mode, do the same but 
% also title the bibliography section "References" and 
% set the font size of the references to normalsize. 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \def\refname{REFERENCES}
 \let\bibpreamble\@empty
 \def\newblock{\ }%
 \bibhang10\p@
 \bibsep\z@
 \@ifxundefined\preprintsty@sw{%
  \def\bibsection{%
   \let\@hangfroms@section\@hang@froms
   %\section*{\refname}%
   \vspace{\baselineskip}
   \@nobreaktrue
  }%
  \def\bibfont{%
   \footnotesize
  }%
 }{%
  \def\bibsection{%
   \let\@hangfroms@section\@hang@froms
   \section*{\refname}%
   \@nobreaktrue
  }%
  \def\bibfont{%
   \normalsize
  }%
 }%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Redefine print@floats command so that there is not a separate page
% printed with just the words "TABLES" and "FIGURES" when the endfloats*
% option is used.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \def\print@float#1#2{%
 \@ifxundefined@cs{#1write}{}{%
  \begingroup
   \@booleanfalse\floats@sw
   #2%
   \raggedbottom
   \def\array@default{v}% floats must
   \let\@float\@float@LaTeX
   \let\@dblfloat\@dblfloat@LaTeX
   \let\trigger@float@par\triggerpar
   \let@environment{#1}{#1@float}%
   \let@environment{#1*}{#1@floats}%
   \expandafter\prepdef\csname#1\endcsname{\trigger@float@par}%
   \expandafter\prepdef\csname#1*\endcsname{\trigger@float@par}%
   \@namedef{fps@#1}{h!}%
   \expandafter\immediate
   \expandafter\closeout
               \csname#1write\endcsname
   \everypar{%
    \global\let\trigger@float@par\relax
    \global\everypar{}\setbox\z@\lastbox
 %   \@ifxundefined@cs{#1sname}{}{%
 %    \begin@float@pagebreak
 %    \expandafter\section
 %    \expandafter*%
 %    \expandafter{%
 %                 \csname#1sname\endcsname
 %                }%
 %   }%
   }%
   \input{\csname#1@stream\endcsname}%
  \endgroup
  \global\expandafter\let\csname#1write\endcsname\relax
 }%
 }%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Fix bug in REVTeX in which \listoffigures outputs a bunch of 
% extraneous letters.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \renewcommand{\@dotsep}{5.5}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Add boolean flag to allow difference sized figures to be placed
% in the text depending on whether the preprint option is selected
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \newif\ifgalleyfig
 \@ifxundefined\preprintsty@sw{%
    \galleyfigtrue
    }{%
    \galleyfigfalse
    }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Add boolean flag to allow figures to be suppressed with "nofigs" option.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \newif\ifoutputfig
 \@ifxundefined\no@figs{%
    \outputfigtrue
    }{%
    \outputfigfalse
    }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% In preprint mode with the option "nofigs" declared, suppress
% the inclusion of figures in the document.  This is accomplished
% by the use of the \ifgalleyfig and \ifnofigs conditionals
% within the \figure environment in the document.  
% Along with not displaying the figure itself, this option also
% (1) suppresses the display of the page numbers in the list of figures
% (2) suppresses the dots in the contentsline in the list of figures
% (3) Removes the "Fig. #" from the caption.
% (4) Removes the "." after "Fig. #".
% As such, only some blank space is output.  I attempted to minimize
% this as much as possible by putting in negative vertical space 
% so that whatever is output is superimposed on itself.  The result
% should be at most one or two line of white space at the end of 
% the list of figures.  Admittedly, this is quite a hack!
%
% Note:  I could not figure out how to eliminate the figures entirely 
% without also suppressing the automatic generation of the 
% figure captions in the list of figures.  If you know how to do this, 
% suggestions would be appreciated!
%
% Otherwise, the figures and list of figures are generated 
% as REVTeX normally otherwise would.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\@ifxundefined\no@figs{% Do nothing
}{% else
 \@ifxundefined\preprintsty@sw{% Do nothing
 }{
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % Redefine command to print floats for figs
 % to not output optional commands (and thus 
 % not output each figure on a new page in 
 % endnotes* mode).
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \def\print@floatfig#1#2{%
 \@ifxundefined@cs{#1write}{}{%
  \begingroup
   \@booleanfalse\floats@sw
   %#2%
   \raggedbottom
   \def\array@default{v}% floats must
   \let\@float\@float@LaTeX
   \let\@dblfloat\@dblfloat@LaTeX
   \let\trigger@float@par\triggerpar
   \let@environment{#1}{#1@float}%
   \let@environment{#1*}{#1@floats}%
   \expandafter\prepdef\csname#1\endcsname{\trigger@float@par}%
   \expandafter\prepdef\csname#1*\endcsname{\trigger@float@par}%
   \@namedef{fps@#1}{h!}%
   \expandafter\immediate
   \expandafter\closeout
               \csname#1write\endcsname
   \everypar{%
    \global\let\trigger@float@par\relax
    \global\everypar{}\setbox\z@\lastbox
 %   \@ifxundefined@cs{#1sname}{}{%
 %    \begin@float@pagebreak
 %    \expandafter\section
 %    \expandafter*%
 %    \expandafter{%
 %                 \csname#1sname\endcsname
 %                }%
 %   }%
   }%
   \input{\csname#1@stream\endcsname}%
  \endgroup
  %\global\expandafter\let\csname#1write\endcsname\relax
 }%
 }%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % Redefine command to print figures to use 
 % the modified \print@floatfig command
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \renewcommand\printfigures{%
  \@ifstar{\true@sw}{\floatp@sw{\true@sw}{\false@sw}}%
  {%
   \print@floatfig{figure}{\oneapage}%
  }{%
   \print@floatfig{figure}{}%
  }%
 }%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % Eliminate dots in contentsline of 
 % list of figures
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \renewcommand{\@dotsep}{500}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % Eliminate "Fig. #" in figure caption
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \def\fnum@figure{}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % Eliminate "." and caption after "Fig. #" 
 % by redefining caption.
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \long\def\@makefigcaption#1#2{%
  %\par
  %\vskip\abovecaptionskip
  \begingroup
  \@ifxundefined\preprintsty@sw{% set up box
     \sbox\@tempboxa{%
      %\let\\\heading@cr
      \normalsize\rmfamily
      #1 %#2%
      \vspace{-\baselineskip}
     }%
   }{%
     \sbox\@tempboxa{%
      %\let\\\heading@cr
      \small\rmfamily
      #1 #2%
      \vspace{-\baselineskip}
     }%
   }%
   \@ifdim{\wd\@tempboxa >\hsize}{% if more than one line
    \begingroup
     \samepage
     \flushing
     \@ifxundefined\preprintsty@sw{%
        \normalsize\rmfamily
        \let\footnote\@footnotemark@gobble
        #1 #2\par
        \vspace{-\baselineskip}
        \endgroup
     }{%
        \small\rmfamily
        \let\footnote\@footnotemark@gobble
        #1 #2\par
        \vspace{-\baselineskip}
        \endgroup
     }%
   }{%
   %  \global \@minipagefalse
     \hb@xt@\hsize{\hfil\unhbox\@tempboxa\hfil}%
   }%
  \endgroup
  %\vskip\belowcaptionskip
  }%
  \renewenvironment{figure}
               {\let\@makecaption\@makefigcaption\@float{figure}}
               {\end@float}
  \renewenvironment{figure*}
               {\let\@makecaption\@makefigcaption\@dblfloat{figure}}
               {\end@dblfloat}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % Redefine \addcontentsline so that page numbers 
 % are not written in tables of contents.  
 % The only table of contents used is for 
 % figures, but the figures are not included in 
 % the document with electronic submission.  These 
 % commands suppress the page numbers 
 % for the List of Figures.  
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \def\addcontentsline#1#2#3{%
  \addtocontents{#1}{%
 %  \protect\contentsline{#2}{#3}{\thepage}{}%
   \protect\contentsline{#2}{#3}{}{}%
  }%
 }%
 }% end if preprintsty@sw
}% end if no@figs

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Define command to insert endnotes with alphabetical citation style.  
% In preprint mode, the endnotes heading ("NOTES") will be inserted.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\@ifxundefined\preprintsty@sw{%  
  \@ifxundefined\author@year{% Do nothing
    \def\makeendnotes{}
  }{%
    \def\makeendnotes{%
       \renewcommand{\footnote}{\endnote}
       \def\enotesize{\footnotesize}     % Not preprint
       \def\enoteheading{\vspace*{2ex}}
       \begingroup
       \def\enoteformat{\rightskip\z@ \leftskip\z@ \parindent=5pt
          \leavevmode\llap{\hbox{$^{\@theenmark}$}}}
       \theendnotes
       \endgroup
    }%
  }% 
}{%
  \@ifxundefined\author@year{% Do nothing
    \def\makeendnotes{}
  }{%
    \def\makeendnotes{%
    \renewcommand{\footnote}{\endnote}
    \def\enotesize{\normalsize}       % Preprint
    \def\notesname{NOTES}
    \def\enoteheading{\section*{\notesname}
        \mbox{}\par\vskip-\baselineskip
    }%
    \begingroup
    \def\enoteformat{\rightskip\z@ \leftskip\z@ \parindent=5pt
       \leavevmode\llap{\hbox{$^{\@theenmark}$}}}
    \theendnotes
    \endgroup
    }%
  }% 
}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Define command to put tables, list of figures, and figures at
% end of the document in preprint mode.  In galley mode, do not
% make the list of figures (the tables and figures won't be printed
% automatically because they are already included in the text).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\lofname{LIST OF FIGURES}
\def\lotname{LIST OF TABLES}
 \@ifxundefined\preprintsty@sw{%
 \def\maketablesandfigures{%
   \printtables
   \printfigures
   }%
 }{%
 \def\maketablesandfigures{%
   \printtables
   \listoffigures
 }%
 }% 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Define commands to allow references to be formatted as 
% (Author, Year), like in Reviews of Modern Physics.
% For details, see the section in revtex4.dtx where the citation 
% formatting for the Reviews of Modern Physics is discussed.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\@ifxundefined\author@year{
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  % To adjust the bibliographic style so that the references in the 
  % text are superscripts but the references at the end are not, 
  % comment out everything in the section below except the 
  % \bibpunct and \def\@onlinecite commands.
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  %\@ifxundefined\bibnotes@sw{\@booleantrue\bibnotes@sw}{}%
  \bibpunct{}{}{,}{s}{}{\textsuperscript{,}}%
  \def\@onlinecite#1{\begingroup\let\@cite\NAT@citenum\citealp{#1}\endgroup}%
  \appdef\class@documenthook{%
  \@ifxundefined\place@bibnumber{%
    \let\place@bibnumber\place@bibnumber@sup
  }{}%
  }%
  \def\eprint#1{eprint #1}
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  % Make the citation numbers in the References section be superscripts.
  % Note that natbib 7.0 is required for this to work!
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \renewcommand\bibnumfmt[1]{\textsuperscript{#1}\!\!\!}
}{%else
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  % Make citation style the same as for Reviews of Modern Physics.
  % (Author, Year).  Note that the appropriate \bibitem keys must
  % be in place in the bibliography or .bbl file for this to work.
  % For an example, look at the output of BibTeX with apsrmp.bst
  % (comes with the RevTeX distribution) or jasastyay.bst.
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \bibpunct{(}{)}{;}{a}{,}{,}%
  %\let\cite\citep
  %\def\bibsection{%
  %\let\@hangfroms@section\@hang@froms
  %\section*{\refname}%
  % \@nobreaktrue
  %}%
  %\let\bibpreamble\@empty
  %\def\newblock{\ }%
  %\bibhang10\p@
  %\bibsep\z@
  %\@ifxundefined\footinbib@sw{}{%
  % \footinbib@sw{%
  %  \class@warn{%
  %   Footnotes in bibliography are incompatible with the Alphabetical Bibliographical list style.^^J%
  %   Undoing the footinbib option.
  %  }%
  % }{}%
  %}%
  %\@booleanfalse\footinbib@sw
  \def\eprint#1{eprint #1}%
  }%
%
}{}% End JASA section

\@ifx{\@journal\journal@prc}{%
}{}%
\@ifx{\@journal\journal@prd}{%
}{}%
\@ifx{\@journal\journal@pre}{%
}{}%
\@ifx{\@journal\journal@prl}{%
 \@ifxundefined\bibnotes@sw{\@booleantrue\bibnotes@sw}{}%
 \@booleanfalse\acknowledgments@sw
 \def\bibsection{%
  \par
  \begingroup
   \baselineskip26\p@
   \bib@device{\hsize}{72\p@}%
 \endgroup
  \nobreak\@nobreaktrue
  \addvspace{19\p@}%
 }%
 \@ifxundefined\lengthcheck@sw{\@booleanfalse\lengthcheck@sw}{}%
  \lengthcheck@sw{%
   \RequirePackage{times}%
  }{%
  }%
 \c@secnumdepth=-\maxdimen
 \appdef\set@typesize@hook{%
  \@ifnum{\@pointsize=10\relax}{%
   \lengthcheck@sw{%
    \def\large{%
     \@setfontsize\large{12.5}{14\p@}%
    }%
    \def\normalsize{%
     \@setfontsize\normalsize{10.5}\@xiipt
     \abovedisplayskip 6\p@ \@plus6\p@ \@minus5\p@
     \belowdisplayskip \abovedisplayskip
     \abovedisplayshortskip  \abovedisplayskip
     \belowdisplayshortskip \abovedisplayskip
     \let\@listi\@listI
    }%
    \def\small{%
     \@setfontsize\small{9.5}\@xipt
     \abovedisplayskip 5\p@ \@plus5\p@ \@minus4\p@
     \belowdisplayskip \abovedisplayskip
     \abovedisplayshortskip  \abovedisplayskip
     \belowdisplayshortskip \abovedisplayskip
     \let\@listi\@listI
    }%
    \DeclareMathSizes{12.5}{12.5}{9}{6}%
    \DeclareMathSizes{10.5}{10.5}{7.5}{5}%
    \DeclareMathSizes{9.5}{9.5}{7.0}{5}%
   }{%
    \def\normalsize{%
     \@setfontsize\normalsize\@xpt\@xiipt
     \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@
     \belowdisplayskip \abovedisplayskip
     \abovedisplayshortskip  \abovedisplayskip
     \belowdisplayshortskip \abovedisplayskip
     \let\@listi\@listI
    }%
   }%
  }{}%
 }%
  \@ifnum{\@pointsize=10\relax}{%
   \textheight = 694.0\p@
  }{}%
}{}%
\@ifx{\@journal\journal@prstab}{%
}{}%
\@ifx{\@journal\journal@rmp}{\input{\@journal\substyle@ext}}{}%
\@ifxundefined\footinbib@sw{\@booleantrue\footinbib@sw}{}%
\appdef\class@documenthook{%
 \@ifxundefined\place@bibnumber{%
  \let\place@bibnumber\place@bibnumber@inl
 }{}%
 \@ifxundefined\@bibstyle{%
  \def\@bibstyle{apsrev}%
 }{}%
}%
\endinput
%%
%% End of file `asa.rtx'.
