arxmliv
arxmliv build tool
 
KWARC group
LaTeXML
About
   
 

Back to Homepage

--- /arXMLiv/repos/arXMLiv/trunk/sty/acm_proc_article-sp-nocp.cls	2007-06-14 22:13:26.000000000 +0200
+++ /arXMLiv/repos/arXMLiv/trunk/sty/aipproc.cls	2012-08-16 16:30:52.562232008 +0200
@@ -1,1309 +1,534 @@
-% ACM_PROC_ARTICLE-SP.CLS - VERSION 2.6SP
-% COMPATIBLE WITH THE "ACM_PROC_ARTICLE.CLS" V2.5
-% Gerald Murray October 2nd., 2002
-%
-% ---- Start of 'updates'  ----
-%
-% Allowance made to switch default fonts between those systems using
-% METAFONT and those using 'Type 1' or 'Truetype' fonts.
-% See LINE NUMBER 266 for details.
-% Also provided for enumerated/annotated Corollaries 'surrounded' by
-% enumerated Theorems (line 838).
-% Gerry November 11th. 1999
-%
-% Made the Permission Statement / Conference Info / Copyright Info
-% 'user definable' in the source .tex file OR automatic if
-% not specified.
-% This 'sp' version does NOT produce the permission block.
-%
-% Major change in January 2000 was to include a "blank line" in between
-% new paragraphs. This involved major changes to the, then, acmproc-sp.cls  1.0SP
-% file, precipitating a 'new' name: "acm_proc_article-sp.cls" V2.01SP.
-%
-% Georgia fixed bug in sub-sub-section numbering in paragraphs (July 29th. 2002)
-% JS/GM fix to vertical spacing before Proofs (July 30th. 2002)
-%
-% Footnotes inside table cells using \minipage (Oct. 2002)
-%
-% ---- End of 'updates' ----
-%
-\def\fileversion{V2.6SP}          % for ACM's tracking purposes
-\def\filedate{October 2, 2002}    % Gerry Murray's tracking data
-\def\docdate {Wednesday 2nd. October 2002} % Gerry Murray (with deltas to doc}
-\usepackage{epsfig}
-\usepackage{amssymb}
-\usepackage{amsmath}
-\usepackage{amsfonts}
-%
-% ACM_PROC_ARTICLE-SP  DOCUMENT STYLE
-% G.K.M. Tobin August-October 1999
-%    adapted from ARTICLE document style by Ken Traub, Olin Shivers
-%    also using elements of esub2acm.cls
-% LATEST REVISION V2.6SP - OCTOBER 2002
-% ARTICLE DOCUMENT STYLE -- Released 16 March 1988
-%    for LaTeX version 2.09
-% Copyright (C) 1988 by Leslie Lamport
-%
-%
-%%% ACM_PROC_ARTICLE-SP is a document style for producing two-column camera-ready pages for
-%%% ACM conferences, according to ACM specifications.  The main features of
-%%% this style are:
-%%%
-%%% 1)  Two columns.
-%%% 2)  Side and top margins of 4.5pc, bottom margin of 6pc, column gutter of
-%%%     2pc, hence columns are 20pc wide and 55.5pc tall.  (6pc =3D 1in, approx)
-%%% 3)  First page has title information, and an extra 6pc of space at the
-%%%     bottom of the first column for the ACM copyright notice.
-%%% 4)  Text is 9pt on 10pt baselines; titles (except main) are 9pt bold.
-%%%
-%%%
-%%% There are a few restrictions you must observe:
-%%%
-%%% 1)  You cannot change the font size; ACM wants you to use 9pt.
-%%% 3)  You must start your paper with the \maketitle command.  Prior to the
-%%%     \maketitle you must have \title and \author commands.  If you have a
-%%%     \date command it will be ignored; no date appears on the paper, since
-%%%     the proceedings will have a date on the front cover.
-%%% 4)  Marginal paragraphs, tables of contents, lists of figures and tables,
-%%%     and page headings are all forbidden.
-%%% 5)  The `figure' environment will produce a figure one column wide; if you
-%%%     want one that is two columns wide, use `figure*'.
-%%%
-%
-%%% Copyright Space:
-%%% This style automatically leaves 1" blank space at the bottom of page 1/
-%%% column 1.  This space can optionally be filled with some text using the
-%%% \toappear{...} command.  If used, this command must be BEFORE the \maketitle
-%%% command.  If this command is defined AND [preprint] is on, then the
-%%% space is filled with the {...} text (at the bottom); otherwise, it is
-%%% blank.  If you use \toappearbox{...} instead of \toappear{...} then a
-%%% box will be drawn around the text (if [preprint] is on).
-%%%
-%%% A typical usage looks like this:
-%%%     \toappear{To appear in the Ninth AES Conference on Medievil Lithuanian
-%%%               Embalming Technique, June 1991, Alfaretta, Georgia.}
-%%% This will be included in the preprint, and left out of the conference
-%%% version.
-%%%
-%%% WARNING:
-%%% Some dvi-ps converters heuristically allow chars to drift from their
-%%% true positions a few pixels. This may be noticeable with the 9pt sans-serif
-%%% bold font used for section headers.
-%%% You may turn this hackery off via the -e option:
-%%%     dvips -e 0 foo.dvi >foo.ps
-%%%
-\typeout{Document Class 'acm_proc_article-sp' <2nd. October '02>.  Modified by G.K.M. Tobin}
-\typeout{Based in part upon document Style `acmconf' <22 May 89>. Hacked 4/91 by}
-\typeout{shivers@cs.cmu.edu, 4/93 by theobald@cs.mcgill.ca}
-\typeout{Excerpts were taken from (Journal Style) 'esub2acm.cls'.}
-\typeout{****** Bugs/comments/suggestions  to Gerry Murray -- murray@hq.acm.org ******}
-
-\oddsidemargin 4.5pc
-\evensidemargin 4.5pc
-\advance\oddsidemargin by -1in  % Correct for LaTeX gratuitousness
-\advance\evensidemargin by -1in % Correct for LaTeX gratuitousness
-\marginparwidth 0pt             % Margin pars are not allowed.
-\marginparsep 11pt              % Horizontal space between outer margin and
-                                % marginal note
-
-                                % Top of page:
-\topmargin 4.5pc                % Nominal distance from top of page to top of
-                                % box containing running head.
-\advance\topmargin by -1in      % Correct for LaTeX gratuitousness
-\headheight 0pt                 % Height of box containing running head.
-\headsep 0pt                    % Space between running head and text.
-                                % Bottom of page:
-\footskip 30pt                  % Distance from baseline of box containing foot
-                                % to baseline of last line of text.
-\@ifundefined{footheight}{\newdimen\footheight}{}% this is for LaTeX2e
-\footheight 12pt                % Height of box containing running foot.
-
-
-%% Must redefine the top margin so there's room for headers and
-%% page numbers if you are using the preprint option. Footers
-%% are OK as is. Olin.
-\advance\topmargin by -37pt     % Leave 37pt above text for headers
-\headheight 12pt                % Height of box containing running head.
-\headsep 25pt                   % Space between running head and text.
-
-\textheight 666pt       % 9 1/4 column height
-\textwidth 42pc         % Width of text line.
-                        % For two-column mode:
-\columnsep 2pc          %    Space between columns
-\columnseprule 0pt      %    Width of rule between columns.
-\hfuzz 1pt              % Allow some variation in column width, otherwise it's
-                        % too hard to typeset in narrow columns.
-
-\footnotesep 5.6pt      % Height of strut placed at the beginning of every
-                        % footnote =3D height of normal \footnotesize strut,
-                        % so no extra space between footnotes.
-
-\skip\footins 8.1pt plus 4pt minus 2pt  % Space between last line of text and
-                                        % top of first footnote.
-\floatsep 11pt plus 2pt minus 2pt       % Space between adjacent floats moved
-                                        % to top or bottom of text page.
-\textfloatsep 18pt plus 2pt minus 4pt   % Space between main text and floats
-                                        % at top or bottom of page.
-\intextsep 11pt plus 2pt minus 2pt      % Space between in-text figures and
-                                        % text.
-\@ifundefined{@maxsep}{\newdimen\@maxsep}{}% this is for LaTeX2e
-\@maxsep 18pt                           % The maximum of \floatsep,
-                                        % \textfloatsep and \intextsep (minus
-                                        % the stretch and shrink).
-\dblfloatsep 11pt plus 2pt minus 2pt    % Same as \floatsep for double-column
-                                        % figures in two-column mode.
-\dbltextfloatsep 18pt plus 2pt minus 4pt% \textfloatsep for double-column
-                                        % floats.
-\@ifundefined{@dblmaxsep}{\newdimen\@dblmaxsep}{}% this is for LaTeX2e
-\@dblmaxsep 18pt                        % The maximum of \dblfloatsep and
-                                        % \dbltexfloatsep.
-\@fptop 0pt plus 1fil    % Stretch at top of float page/column. (Must be
-                         % 0pt plus ...)
-\@fpsep 8pt plus 2fil    % Space between floats on float page/column.
-\@fpbot 0pt plus 1fil    % Stretch at bottom of float page/column. (Must be
-                         % 0pt plus ... )
-\@dblfptop 0pt plus 1fil % Stretch at top of float page. (Must be 0pt plus ...)
-\@dblfpsep 8pt plus 2fil % Space between floats on float page.
-\@dblfpbot 0pt plus 1fil % Stretch at bottom of float page. (Must be
-                         % 0pt plus ... )
-\marginparpush 5pt       % Minimum vertical separation between two marginal
-                         % notes.
-
-\parskip 0pt                % Extra vertical space between paragraphs.
-                    % Set to 0pt outside sections, to keep section heads
-                    % uniformly spaced.  The value of parskip is set
-                    % to leading value _within_ sections.
-                    % 12 Jan 2000 gkmt
-\parindent 0pt                % Width of paragraph indentation.
-\partopsep 2pt plus 1pt minus 1pt% Extra vertical space, in addition to
-                                 % \parskip and \topsep, added when user
-                                 % leaves blank line before environment.
-
-\@lowpenalty   51       % Produced by \nopagebreak[1] or \nolinebreak[1]
-\@medpenalty  151       % Produced by \nopagebreak[2] or \nolinebreak[2]
-\@highpenalty 301       % Produced by \nopagebreak[3] or \nolinebreak[3]
-
-\@beginparpenalty -\@lowpenalty % Before a list or paragraph environment.
-\@endparpenalty   -\@lowpenalty % After a list or paragraph environment.
-\@itempenalty     -\@lowpenalty % Between list items.
-
-\@namedef{ds@10pt}{\@latexerr{The `10pt' option is not allowed in the `acmconf'
-  document style.}\@eha}
-\@namedef{ds@11pt}{\@latexerr{The `11pt' option is not allowed in the `acmconf'
-  document style.}\@eha}
-\@namedef{ds@12pt}{\@latexerr{The `12pt' option is not allowed in the `acmconf'
-  document style.}\@eha}
-
-\@options
-
-\lineskip 2pt           % \lineskip is 1pt for all font sizes.
-\normallineskip 2pt
-\def\baselinestretch{1}
-
-\abovedisplayskip 9pt plus2pt minus4.5pt%
-\belowdisplayskip \abovedisplayskip
-\abovedisplayshortskip  \z@ plus3pt%
-\belowdisplayshortskip  5.4pt plus3pt minus3pt%
-\let\@listi\@listI     % Setting of \@listi added 9 Jun 87
-
-\def\small{\@setsize\small{9pt}\viiipt\@viiipt
-\abovedisplayskip 7.6pt plus 3pt minus 4pt%
-\belowdisplayskip \abovedisplayskip
-\abovedisplayshortskip \z@ plus2pt%
-\belowdisplayshortskip 3.6pt plus2pt minus 2pt
-\def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87
-\topsep 4pt plus 2pt minus 2pt\parsep 2pt plus 1pt minus 1pt
-\itemsep \parsep}}
-
-\def\footnotesize{\@setsize\footnotesize{9pt}\ixpt\@ixpt
-\abovedisplayskip 6.4pt plus 2pt minus 4pt%
-\belowdisplayskip \abovedisplayskip
-\abovedisplayshortskip \z@ plus 1pt%
-\belowdisplayshortskip 2.7pt plus 1pt minus 2pt
-\def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87
-\topsep 3pt plus 1pt minus 1pt\parsep 2pt plus 1pt minus 1pt
-\itemsep \parsep}}
-
-\newcount\aucount
-\newcount\originalaucount
-\newdimen\auwidth
-\auwidth=\textwidth
-\newdimen\auskip
-\newcount\auskipcount
-\newdimen\auskip
-\global\auskip=1pc
-\newdimen\allauboxes
-\allauboxes=\auwidth
-\newtoks\addauthors
-\newcount\addauflag
-\global\addauflag=0 %Haven't shown additional authors yet
-
-\newtoks\subtitletext
-\gdef\subtitle#1{\subtitletext={#1}}
-
-\gdef\additionalauthors#1{\addauthors={#1}}
-
-\gdef\numberofauthors#1{\global\aucount=#1
-\ifnum\aucount>3\global\originalaucount=\aucount \global\aucount=3\fi %g}
-\global\auskipcount=\aucount\global\advance\auskipcount by 1
-\global\multiply\auskipcount by 2
-\global\multiply\auskip by \auskipcount
-\global\advance\auwidth by -\auskip
-\global\divide\auwidth by \aucount}
-
-% \and was modified to count the number of authors.  GKMT 12 Aug 1999
-\def\alignauthor{%                  % \begin{tabular}
-\end{tabular}%
-  \begin{tabular}[t]{p{\auwidth}}\centering}%
-
-%  *** NOTE *** NOTE *** NOTE *** NOTE ***
-%  If you have 'font problems' then you may need
-%  to change these, e.g. 'arialb' instead of "arialbd".
-%  Gerry Murray 11/11/1999
-%  *** OR ** comment out block A and activate block B or vice versa.
-% **********************************************
-%
-%  -- Start of block A -- (Type 1 or Truetype fonts)
-%\newfont{\secfnt}{timesbd at 12pt} % was timenrb originally - now is timesbd
-%\newfont{\secit}{timesbi at 12pt}   %13 Jan 00 gkmt
-%\newfont{\subsecfnt}{timesi at 11pt} % was timenrri originally - now is timesi
-%\newfont{\subsecit}{timesbi at 11pt} % 13 Jan 00 gkmt -- was times changed to timesbi gm 2/4/2000
-%                         % because "normal" is italic, "italic" is Roman
-%\newfont{\ttlfnt}{arialbd at 18pt} % was arialb originally - now is arialbd
-%\newfont{\ttlit}{arialbi at 18pt}    % 13 Jan 00 gkmt
-%\newfont{\subttlfnt}{arial at 14pt} % was arialr originally - now is arial
-%\newfont{\subttlit}{ariali at 14pt} % 13 Jan 00 gkmt
-%\newfont{\subttlbf}{arialbd at 14pt}  % 13 Jan 00 gkmt
-%\newfont{\aufnt}{arial at 12pt} % was arialr originally - now is arial
-%\newfont{\auit}{ariali at 12pt} % 13 Jan 00 gkmt
-%\newfont{\affaddr}{arial at 10pt} % was arialr originally - now is arial
-%\newfont{\affaddrit}{ariali at 10pt} %13 Jan 00 gkmt
-%\newfont{\eaddfnt}{arial at 12pt} % was arialr originally - now is arial
-%\newfont{\ixpt}{times at 9pt} % was timenrr originally - now is times
-%\newfont{\confname}{timesi at 8pt} % was timenrri - now is timesi
-%\newfont{\crnotice}{times at 8pt} % was timenrr originally - now is times
-%\newfont{\ninept}{times at 9pt} % was timenrr originally - now is times
-
-% *********************************************
-%  -- End of block A --
-%
-%
-% -- Start of block B -- METAFONT
-% +++++++++++++++++++++++++++++++++++++++++++++
-% Next (default) block for those using Metafont
-% Gerry Murray 11/11/1999
-% *** THIS BLOCK FOR THOSE USING METAFONT *****
-% *********************************************
-\newfont{\secfnt}{ptmb at 12pt}
-\newfont{\secit}{ptmbi at 12pt}    %13 Jan 00 gkmt
-\newfont{\subsecfnt}{ptmri at 11pt}
-\newfont{\subsecit}{ptmbi at 11pt}  % 13 Jan 00 gkmt -- was ptmr changed to ptmbi gm 2/4/2000
-                         % because "normal" is italic, "italic" is Roman
-\newfont{\ttlfnt}{phvb at 18pt}
-\newfont{\ttlit}{phvbo at 18pt}    % GM 2/4/2000
-\newfont{\subttlfnt}{phvr at 14pt}
-\newfont{\subttlit}{phvro at 14pt} % GM 2/4/2000
-\newfont{\subttlbf}{phvb at 14pt}  % 13 Jan 00 gkmt
-\newfont{\aufnt}{phvr at 12pt}
-\newfont{\auit}{phvro at 12pt}     % GM 2/4/2000
-\newfont{\affaddr}{phvr at 10pt}
-\newfont{\affaddrit}{phvro at 10pt} % GM 2/4/2000
-\newfont{\eaddfnt}{phvr at 12pt}
-\newfont{\ixpt}{ptmr at 9pt}
-\newfont{\confname}{ptmri at 8pt}
-\newfont{\crnotice}{ptmr at 8pt}
-\newfont{\ninept}{ptmr at 9pt}
-% +++++++++++++++++++++++++++++++++++++++++++++
-% -- End of block B --
-
-\def\email#1{{{\eaddfnt{\vskip 4pt#1}}}}
-
-\def\addauthorsection{\ifnum\originalaucount>3
-    \section{Additional Authors}\the\addauthors
-  \fi}
-
-\newcount\savesection
-\newcount\sectioncntr
-\global\sectioncntr=1
-
-\setcounter{secnumdepth}{3}
-
-\def\appendix{\par
-\section*{APPENDIX}
-\setcounter{section}{0}
- \setcounter{subsection}{0}
- \def\thesection{\Alph{section}} }
-
-
-\leftmargini 22.5pt
-\leftmarginii 19.8pt    % > \labelsep + width of '(m)'
-\leftmarginiii 16.8pt   % > \labelsep + width of 'vii.'
-\leftmarginiv 15.3pt    % > \labelsep + width of 'M.'
-\leftmarginv 9pt
-\leftmarginvi 9pt
-
-\leftmargin\leftmargini
-\labelsep 4.5pt
-\labelwidth\leftmargini\advance\labelwidth-\labelsep
-
-\def\@listI{\leftmargin\leftmargini \parsep 3.6pt plus 2pt minus 1pt%
-\topsep 7.2pt plus 2pt minus 4pt%
-\itemsep 3.6pt plus 2pt minus 1pt}
-
-\let\@listi\@listI
-\@listi
-
-\def\@listii{\leftmargin\leftmarginii
-   \labelwidth\leftmarginii\advance\labelwidth-\labelsep
-   \topsep 3.6pt plus 2pt minus 1pt
-   \parsep 1.8pt plus 0.9pt minus 0.9pt
-   \itemsep \parsep}
-
-\def\@listiii{\leftmargin\leftmarginiii
-    \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
-    \topsep 1.8pt plus 0.9pt minus 0.9pt
-    \parsep \z@ \partopsep 1pt plus 0pt minus 1pt
-    \itemsep \topsep}
-
-\def\@listiv{\leftmargin\leftmarginiv
-     \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
-
-\def\@listv{\leftmargin\leftmarginv
-     \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
-
-\def\@listvi{\leftmargin\leftmarginvi
-     \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
-
-\def\labelenumi{\theenumi.}
-\def\theenumi{\arabic{enumi}}
-
-\def\labelenumii{(\theenumii)}
-\def\theenumii{\alph{enumii}}
-\def\p@enumii{\theenumi}
-
-\def\labelenumiii{\theenumiii.}
-\def\theenumiii{\roman{enumiii}}
-\def\p@enumiii{\theenumi(\theenumii)}
-
-\def\labelenumiv{\theenumiv.}
-\def\theenumiv{\Alph{enumiv}}
-\def\p@enumiv{\p@enumiii\theenumiii}
-
-\def\labelitemi{$\bullet$}
-\def\labelitemii{\bf --}
-\def\labelitemiii{$\ast$}
-\def\labelitemiv{$\cdot$}
-
-\def\verse{\let\\=\@centercr
-  \list{}{\itemsep\z@ \itemindent -1.5em\listparindent \itemindent
-          \rightmargin\leftmargin\advance\leftmargin 1.5em}\item[]}
-\let\endverse\endlist
-
-\def\quotation{\list{}{\listparindent 1.5em
-    \itemindent\listparindent
-    \rightmargin\leftmargin \parsep 0pt plus 1pt}\item[]}
-\let\endquotation=\endlist
-
-\def\quote{\list{}{\rightmargin\leftmargin}\item[]}
-\let\endquote=\endlist
-
-\def\descriptionlabel#1{\hspace\labelsep \bf #1}
-\def\description{\list{}{\labelwidth\z@ \itemindent-\leftmargin
-       \let\makelabel\descriptionlabel}}
-
-\let\enddescription\endlist
-
-\def\theequation{\arabic{equation}}
-
-\arraycolsep 4.5pt   % Half the space between columns in an array environment.
-\tabcolsep 5.4pt     % Half the space between columns in a tabular environment.
-\arrayrulewidth .4pt % Width of rules in array and tabular environment.
-\doublerulesep 1.8pt % Space between adjacent rules in array or tabular env.
-
-\tabbingsep \labelsep   % Space used by the \' command.  (See LaTeX manual.)
-
-\skip\@mpfootins =\skip\footins
-
-\fboxsep =2.7pt      % Space left between box and text by \fbox and \framebox.
-\fboxrule =.4pt      % Width of rules in box made by \fbox and \framebox.
-
-\def\thepart{\Roman{part}} % Roman numeral part numbers.
-\def\thesection       {\arabic{section}}
-\def\thesubsection    {\thesection.\arabic{subsection}}
-%\def\thesubsubsection {\thesubsection.\arabic{subsubsection}} % GM 7/30/2002
-%\def\theparagraph     {\thesubsubsection.\arabic{paragraph}}  % GM 7/30/2002
-\def\thesubparagraph  {\theparagraph.\arabic{subparagraph}}
-
-\def\@pnumwidth{1.55em}
-\def\@tocrmarg {2.55em}
-\def\@dotsep{4.5}
-\setcounter{tocdepth}{3}
-
-\def\tableofcontents{\@latexerr{\tableofcontents: Tables of contents are not
-  allowed in the `acmconf' document style.}\@eha}
-
-\def\l@part#1#2{\addpenalty{\@secpenalty}
-   \addvspace{2.25em plus 1pt}  % space above part line
-   \begingroup
-   \@tempdima 3em       % width of box holding part number, used by
-     \parindent \z@ \rightskip \@pnumwidth      %% \numberline
-     \parfillskip -\@pnumwidth
-     {\large \bf        % set line in \large boldface
-     \leavevmode        % TeX command to enter horizontal mode.
-     #1\hfil \hbox to\@pnumwidth{\hss #2}}\par
-     \nobreak           % Never break after part entry
-   \endgroup}
-
-\def\l@section#1#2{\addpenalty{\@secpenalty} % good place for page break
-   \addvspace{1.0em plus 1pt}   % space above toc entry
-   \@tempdima 1.5em             % width of box holding section number
-   \begingroup
-     \parindent \z@ \rightskip \@pnumwidth
-     \parfillskip -\@pnumwidth
-     \bf                        % Boldface.
-     \leavevmode                % TeX command to enter horizontal mode.
-      \advance\leftskip\@tempdima %% added 5 Feb 88 to conform to
-      \hskip -\leftskip           %% 25 Jan 88 change to \numberline
-     #1\nobreak\hfil \nobreak\hbox to\@pnumwidth{\hss #2}\par
-   \endgroup}
-
-
-\def\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
-\def\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}}
-\def\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}}
-\def\l@subparagraph{\@dottedtocline{5}{10em}{5em}}
-
-\def\listoffigures{\@latexerr{\listoffigures: Lists of figures are not
-  allowed in the `acmconf' document style.}\@eha}
-
-\def\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
-
-\def\listoftables{\@latexerr{\listoftables: Lists of tables are not
-  allowed in the `acmconf' document style.}\@eha}
-\let\l@table\l@figure
-
-\def\footnoterule{\kern-3\p@
-  \hrule width .4\columnwidth
-  \kern 2.6\p@}                 % The \hrule has default height of .4pt .
-% ------
-\long\def\@makefntext#1{\noindent
-%\hbox to .5em{\hss$^{\@thefnmark}$}#1}   % original
-\hbox to .5em{\hss\textsuperscript{\@thefnmark}}#1}  % C. Clifton / GM Oct. 2nd. 2002
-% -------
-
-\long\def\@maketntext#1{\noindent
-#1}
-
-\long\def\@maketitlenotetext#1#2{\noindent
-            \hbox to 1.8em{\hss$^{#1}$}#2}
-
-\setcounter{topnumber}{2}
-\def\topfraction{.7}
-\setcounter{bottomnumber}{1}
-\def\bottomfraction{.3}
-\setcounter{totalnumber}{3}
-\def\textfraction{.2}
-\def\floatpagefraction{.5}
-\setcounter{dbltopnumber}{2}
-\def\dbltopfraction{.7}
-\def\dblfloatpagefraction{.5}
-
-\long\def\@makecaption#1#2{
-   \vskip \baselineskip
-   \setbox\@tempboxa\hbox{\textbf{#1: #2}}
-   \ifdim \wd\@tempboxa >\hsize % IF longer than one line:
-       \textbf{#1: #2}\par               %   THEN set as ordinary paragraph.
-     \else                      %   ELSE  center.
-       \hbox to\hsize{\hfil\box\@tempboxa\hfil}\par
-   \fi}
-
-\@ifundefined{figure}{\newcounter {figure}} % this is for LaTeX2e
-
-\def\fps@figure{tbp}
-\def\ftype@figure{1}
-\def\ext@figure{lof}
-\def\fnum@figure{Figure \thefigure}
-\def\figure{\@float{figure}}
-\let\endfigure\end@float
-\@namedef{figure*}{\@dblfloat{figure}}
-\@namedef{endfigure*}{\end@dblfloat}
-
-\@ifundefined{table}{\newcounter {table}} % this is for LaTeX2e
-
-\def\fps@table{tbp}
-\def\ftype@table{2}
-\def\ext@table{lot}
-\def\fnum@table{Table \thetable}
-\def\table{\@float{table}}
-\let\endtable\end@float
-\@namedef{table*}{\@dblfloat{table}}
-\@namedef{endtable*}{\end@dblfloat}
-
-\newtoks\titleboxnotes
-\newcount\titleboxnoteflag
-
-\def\maketitle{\par
- \begingroup
-   \def\thefootnote{\fnsymbol{footnote}}
-   \def\@makefnmark{\hbox
-       to 0pt{$^{\@thefnmark}$\hss}}
-     \twocolumn[\@maketitle]
-\@thanks
- \endgroup
- \setcounter{footnote}{0}
- \let\maketitle\relax
- \let\@maketitle\relax
- \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\gdef\@subtitle{}\let\thanks\relax
-% \@copyrightspace}
-}
-
-%% CHANGES ON NEXT LINES
-\newif\if@ll % to record which version of LaTeX is in use
-
-\expandafter\ifx\csname LaTeXe\endcsname\relax % LaTeX2.09 is used
-\else% LaTeX2e is used, so set ll to true
-\global\@lltrue
-\fi
-
-\if@ll
-  \NeedsTeXFormat{LaTeX2e}
-  \ProvidesClass{acm_proc_article-sp} [2002/2/10 - V2.6SP - based on esub2acm.sty <23 April 96>]
-  \RequirePackage{latexsym}% QUERY: are these two really needed?
-  \let\dooptions\ProcessOptions
-\else
-  \let\dooptions\@options
-\fi
-%% END CHANGES
-
-\def\@height{height}
-\def\@width{width}
-\def\@minus{minus}
-\def\@plus{plus}
-\def\hb@xt@{\hbox to}
-\newif\if@faircopy
-\@faircopyfalse
-\def\ds@faircopy{\@faircopytrue}
-
-\def\ds@preprint{\@faircopyfalse}
-
-\@twosidetrue
-\@mparswitchtrue
-\def\ds@draft{\overfullrule 5\p@}
-%% CHANGE ON NEXT LINE
-\dooptions
-
-\lineskip \p@
-\normallineskip \p@
-\def\baselinestretch{1}
-\def\@ptsize{0} %needed for amssymbols.sty
-
-%% CHANGES ON NEXT LINES
-\if@ll% allow use of old-style font change commands in LaTeX2e
-\@maxdepth\maxdepth
-%
-\DeclareOldFontCommand{\rm}{\ninept\rmfamily}{\mathrm}
-\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
-\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
-\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
-\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
-\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
-\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
-\DeclareRobustCommand*{\cal}{\@fontswitch{\relax}{\mathcal}}
-\DeclareRobustCommand*{\mit}{\@fontswitch{\relax}{\mathnormal}}
-\fi
-%
-\if@ll
- \renewcommand{\rmdefault}{cmr}  % was 'ttm'
-% Note! I have also found 'mvr' to work ESPECIALLY well.
-% Gerry - October 1999
-% You may need to change your LV1times.fd file so that sc is
-% mapped to cmcsc - -for smallcaps -- that is if you decide
-% to change {cmr} to {times} above. (Not recommended)
-  \renewcommand{\@ptsize}{}
-  \renewcommand{\normalsize}{%
-    \@setfontsize\normalsize\@ixpt{10.5\p@}%\ninept%
-    \abovedisplayskip 6\p@ \@plus2\p@ \@minus\p@
-    \belowdisplayskip \abovedisplayskip
-    \abovedisplayshortskip 6\p@ \@minus 3\p@
-    \belowdisplayshortskip 6\p@ \@minus 3\p@
-    \let\@listi\@listI
-  }
-\else
-  \def\@normalsize{%changed next to 9 from 10
-    \@setsize\normalsize{9\p@}\ixpt\@ixpt
-   \abovedisplayskip 6\p@ \@plus2\p@ \@minus\p@
-    \belowdisplayskip \abovedisplayskip
-    \abovedisplayshortskip 6\p@ \@minus 3\p@
-    \belowdisplayshortskip 6\p@ \@minus 3\p@
-    \let\@listi\@listI
-  }%
+%%
+%% This is file `aipproc.cls',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% aipproc.dtx  (with options: `class')
+%%
+%% Class aipproc to use with LaTeX2e
+%% (C) 1998,2000 American Institute of Physics and Frank Mittelbach
+%% All rights reserved
+%%
+%% Class aipproc to use with LaTeX2e
+%%
+%% Copyright (C) 1998, 2000, 2001, 2002, 2004, 2005 Frank Mittelbach
+%% Copyright (C) 1998, 2000, 2001, 2002, 2004, 2005 American Institute of Physics
+%% All rights reserved.
+%%
+%% Development of this class was commissioned by American Institute of Physics.
+%%
+\NeedsTeXFormat{LaTeX2e}[1999/06/01]
+\ProvidesClass{aipproc}
+       [2005/11/11 v1.5a AIP Proceedings (FMi)]
+%% \CharacterTable
+%%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%%   Digits        \0\1\2\3\4\5\6\7\8\9
+%%   Exclamation   \!     Double quote  \"     Hash (number) \#
+%%   Dollar        \$     Percent       \%     Ampersand     \&
+%%   Acute accent  \'     Left paren    \(     Right paren   \)
+%%   Asterisk      \*     Plus          \+     Comma         \,
+%%   Minus         \-     Point         \.     Solidus       \/
+%%   Colon         \:     Semicolon     \;     Less than     \<
+%%   Equals        \=     Greater than  \>     Question mark \?
+%%   Commercial at \@     Left bracket  \[     Backslash     \\
+%%   Right bracket \]     Circumflex    \^     Underscore    \_
+%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
+%%   Right brace   \}     Tilde         \~}
+%%
+\IfFileExists{fixltx2e.sty}
+  {\RequirePackage{fixltx2e}}
+  {\RequirePackage{fix2col}[1998/08/17]}
+\@ifpackageloaded{fixltx2e}{%
+\@ifpackagelater{fixltx2e}{1999/12/02}{}{%
+\def\addpenalty#1{%
+  \ifvmode
+    \if@minipage
+    \else
+      \if@nobreak
+      \else
+        \ifdim\lastskip=\z@
+          \penalty#1\relax
+        \else
+          \@tempskipb\lastskip
+          \advance \@tempskipb
+               \ifdim\prevdepth>\maxdepth\maxdepth\else
+                 \ifdim \prevdepth = -\@m\p@ \z@ \else \prevdepth \fi
+               \fi
+          \vskip -\@tempskipb
+          \penalty#1%
+          \vskip\@tempskipb
 \fi
-\if@ll
-  \newcommand\scriptsize{\@setfontsize\scriptsize\@viipt{8\p@}}
-  \newcommand\tiny{\@setfontsize\tiny\@vpt{6\p@}}
-  \newcommand\large{\@setfontsize\large\@xiipt{14\p@}}
-  \newcommand\Large{\@setfontsize\Large\@xivpt{18\p@}}
-  \newcommand\LARGE{\@setfontsize\LARGE\@xviipt{20\p@}}
-  \newcommand\huge{\@setfontsize\huge\@xxpt{25\p@}}
-  \newcommand\Huge{\@setfontsize\Huge\@xxvpt{30\p@}}
-\else
-  \def\scriptsize{\@setsize\scriptsize{8\p@}\viipt\@viipt}
-  \def\tiny{\@setsize\tiny{6\p@}\vpt\@vpt}
-  \def\large{\@setsize\large{14\p@}\xiipt\@xiipt}
-  \def\Large{\@setsize\Large{18\p@}\xivpt\@xivpt}
-  \def\LARGE{\@setsize\LARGE{20\p@}\xviipt\@xviipt}
-  \def\huge{\@setsize\huge{25\p@}\xxpt\@xxpt}
-  \def\Huge{\@setsize\Huge{30\p@}\xxvpt\@xxvpt}
 \fi
-\normalsize
-
-% make aubox hsize/number of authors up to 3, less gutter
-% then showbox gutter showbox gutter showbox -- GKMT Aug 99
-\newbox\@acmtitlebox
-\def\@maketitle{\newpage
- \null
- \setbox\@acmtitlebox\vbox{%
-\baselineskip 20pt
-\vskip 2em                   % Vertical space above title.
-   \begin{center}
-    {\ttlfnt \@title\par}       % Title set in 18pt Helvetica (Arial) bold size.
-    \vskip 1.5em                % Vertical space after title.
-%This should be the subtitle.
-{\subttlfnt \the\subtitletext\par}\vskip 1.25em%\fi
-    {\baselineskip 16pt\aufnt   % each author set in \12 pt Arial, in a
-     \lineskip .5em             % tabular environment
-     \begin{tabular}[t]{c}\@author
-     \end{tabular}\par}
-    \vskip 1.5em               % Vertical space after author.
-   \end{center}}
- \dimen0=\ht\@acmtitlebox
- \advance\dimen0 by -12.75pc\relax % Increased space for title box -- KBT
- \unvbox\@acmtitlebox
- \ifdim\dimen0<0.0pt\relax\vskip-\dimen0\fi}
-
-
-\newcount\titlenotecount
-\global\titlenotecount=0
-\newtoks\tntoks
-\newtoks\tntokstwo
-\newtoks\tntoksthree
-\newtoks\tntoksfour
-\newtoks\tntoksfive
-
-\def\abstract{
-\ifnum\titlenotecount>0 % was =1
-    \insert\footins{%
-    \reset@font\footnotesize
-        \interlinepenalty\interfootnotelinepenalty
-        \splittopskip\footnotesep
-        \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
-        \hsize\columnwidth \@parboxrestore
-        \protected@edef\@currentlabel{%
-        }%
-        \color@begingroup
-\ifnum\titlenotecount=1
-      \@maketntext{%
-         \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\@finalstrut\strutbox}%
-\fi
-\ifnum\titlenotecount=2
-      \@maketntext{%
-      \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}%
-\@maketntext{%
-         \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\@finalstrut\strutbox}%
-\fi
-\ifnum\titlenotecount=3
-      \@maketntext{%
-         \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}%
-\@maketntext{%
-         \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\par\@finalstrut\strutbox}%
-\@maketntext{%
-         \raisebox{4pt}{$\ddagger$}\rule\z@\footnotesep\ignorespaces\the\tntoksthree\@finalstrut\strutbox}%
-\fi
-\ifnum\titlenotecount=4
-      \@maketntext{%
-         \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}%
-\@maketntext{%
-         \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\par\@finalstrut\strutbox}%
-\@maketntext{%
-         \raisebox{4pt}{$\ddagger$}\rule\z@\footnotesep\ignorespaces\the\tntoksthree\par\@finalstrut\strutbox}%
-\@maketntext{%
-         \raisebox{4pt}{$\S$}\rule\z@\footnotesep\ignorespaces\the\tntoksfour\@finalstrut\strutbox}%
-\fi
-\ifnum\titlenotecount=5
-      \@maketntext{%
-         \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}%
-\@maketntext{%
-         \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\par\@finalstrut\strutbox}%
-\@maketntext{%
-         \raisebox{4pt}{$\ddagger$}\rule\z@\footnotesep\ignorespaces\the\tntoksthree\par\@finalstrut\strutbox}%
-\@maketntext{%
-         \raisebox{4pt}{$\S$}\rule\z@\footnotesep\ignorespaces\the\tntoksfour\par\@finalstrut\strutbox}%
-\@maketntext{%
-         \raisebox{4pt}{$\P$}\rule\z@\footnotesep\ignorespaces\the\tntoksfive\@finalstrut\strutbox}%
-\fi
-   \color@endgroup} %g}
-\fi
-\setcounter{footnote}{0}
-\section*{ABSTRACT}\normalsize %\the\parskip \the\baselineskip%\ninept
-}
-
-\def\endabstract{\if@twocolumn\else\endquotation\fi}
-
-\def\keywords{\if@twocolumn
-\section*{Keywords}
-\else \small
-\quotation
+    \fi
+  \else
+    \@noitemerr
 \fi}
-
-% I've pulled the check for 2 cols, since proceedings are _always_
-% two-column  11 Jan 2000 gkmt
-\def\terms{%\if@twocolumn
-\section*{General Terms}
-%\else \small
-%\quotation\the\parskip
-%\fi}
-}
-
-% -- Classification needs to be a bit smart due to optionals - Gerry/Georgia November 2nd. 1999
-\newcount\catcount
-\global\catcount=1
-
-\def\category#1#2#3{%
-\ifnum\catcount=1
-\section*{Categories and Subject Descriptors}
-\advance\catcount by 1\else{\unskip; }\fi
-    \@ifnextchar [{\@category{#1}{#2}{#3}}{\@category{#1}{#2}{#3}[]}%
-}
-
-\def\@category#1#2#3[#4]{%
-    \begingroup
-        \let\and\relax
-            #1 [\textbf{#2}]%
-            \if!#4!%
-                \if!#3!\else : #3\fi
-            \else
-                :\space
-                \if!#3!\else #3\kern\z@---\hskip\z@\fi
-                \textit{#4}%
+\def \@doclearpage {%
+     \ifvoid\footins
+       \setbox\@tempboxa\vsplit\@cclv to\z@ \unvbox\@tempboxa
+       \setbox\@tempboxa\box\@cclv
+       \xdef\@deferlist{\@toplist\@botlist\@deferlist}%
+       \global \let \@toplist \@empty
+       \global \let \@botlist \@empty
+       \global \@colroom \@colht
+       \ifx \@currlist\@empty
+       \else
+          \@latexerr{Float(s) lost}\@ehb
+          \global \let \@currlist \@empty
             \fi
-    \endgroup
-}
-%
-
-%%% This section (written by KBT) handles the 1" box in the lower left
-%%% corner of the left column of the first page by creating a picture,
-%%% and inserting the predefined string at the bottom (with a negative
-%%% displacement to offset the space allocated for a non-existent
-%%% caption).
-%%%
-%% \newtoks\copyrightnotice
-%% \def\ftype@copyrightbox{8}
-%% \def\@copyrightspace{
-%% \@float{copyrightbox}[b]
-%% \begin{center}
-%% \setlength{\unitlength}{1pc}
-%% \begin{picture}(20,6) %Space for copyright notice
-%% \put(0,-0.95){\crnotice{\@toappear}}
-%% \end{picture}
-%% \end{center}
-%% \end@float}
-
-%% \def\@toappear{} % Default setting blank - commands below change this.
-%% \long\def\toappear#1{\def\@toappear{\parbox[b]{20pc}{\baselineskip 9pt#1}}}
-%% \def\toappearbox#1{\def\@toappear{\raisebox{5pt}{\framebox[20pc]{\parbox[b]{19pc}{#1}}}}}
-
-\newtoks\conf
-\newtoks\confinfo
-\def\conferenceinfo#1#2{\global\conf={#1}\global\confinfo{#2}}
-
-
-\def\marginpar{\@latexerr{The \marginpar command is not allowed in the
-  `acmconf' document style.}\@eha}
-
-\mark{{}{}}     % Initializes TeX's marks
-
-\def\today{\ifcase\month\or
-  January\or February\or March\or April\or May\or June\or
-  July\or August\or September\or October\or November\or December\fi
-  \space\number\day, \number\year}
-
-\def\@begintheorem#1#2{%
-    \trivlist
-    \item[%
-        \hskip 10\p@
-        \hskip \labelsep
-        {{\sc #1}\hskip 5\p@\relax#2.}%
-    ]
-    \it
-}
-\def\@opargbegintheorem#1#2#3{%
-    \trivlist
-    \item[%
-        \hskip 10\p@
-        \hskip \labelsep
-        {\sc #1\ #2\             % This mod by Gerry to enumerate corollaries
-   \setbox\@tempboxa\hbox{(#3)}  % and bracket the 'corollary title'
-        \ifdim \wd\@tempboxa>\z@ % and retain the correct numbering of e.g. theorems
-            \hskip 5\p@\relax    % if they occur 'around' said corollaries.
-            \box\@tempboxa       % Gerry - Nov. 1999.
-        \fi.}%
-    ]
-    \it
-}
-\newif\if@qeded
-\global\@qededfalse
-
-% -- original
-%\def\proof{%
-%  \vspace{-\parskip} % GM July 2000 (for tighter spacing)
-%    \global\@qededfalse
-%    \@ifnextchar[{\@xproof}{\@proof}%
-%}
-% -- end of original
-
-% (JSS) Fix for vertical spacing bug - Gerry Murray July 30th. 2002
-\def\proof{%
-\vspace{-\lastskip}\vspace{-\parsep}\penalty-51%
-\global\@qededfalse
-\@ifnextchar[{\@xproof}{\@proof}%
-}
-
-\def\endproof{%
-    \if@qeded\else\qed\fi
-    \endtrivlist
-}
-\def\@proof{%
-    \trivlist
-    \item[%
-        \hskip 10\p@
-        \hskip \labelsep
-        {\sc Proof.}%
-    ]
-    \ignorespaces
-}
-\def\@xproof[#1]{%
-    \trivlist
-    \item[\hskip 10\p@\hskip \labelsep{\sc Proof #1.}]%
-    \ignorespaces
-}
-\def\qed{%
-    \unskip
-    \kern 10\p@
+       \@makefcolumn\@deferlist
+       \@whilesw\if@fcolmade \fi{\@opcol\@makefcolumn\@deferlist}%
+       \if@twocolumn
+         \if@firstcolumn
+           \xdef\@deferlist{\@dbltoplist\@deferlist}%
+           \global \let \@dbltoplist \@empty
+           \global \@colht \textheight
     \begingroup
-        \unitlength\p@
-        \linethickness{.4\p@}%
-        \framebox(6,6){}%
+              \@dblfloatplacement
+              \@makefcolumn\@deferlist
+              \@whilesw\if@fcolmade \fi{\@outputpage
+                                        \@makefcolumn\@deferlist}%
     \endgroup
-    \global\@qededtrue
-}
-
-\def\newdef#1#2{%
-    \expandafter\@ifdefinable\csname #1\endcsname
-        {\@definecounter{#1}%
-         \expandafter\xdef\csname the#1\endcsname{\@thmcounter{#1}}%
-         \global\@namedef{#1}{\@defthm{#1}{#2}}%
-         \global\@namedef{end#1}{\@endtheorem}%
-    }%
-}
-\def\@defthm#1#2{%
-    \refstepcounter{#1}%
-    \@ifnextchar[{\@ydefthm{#1}{#2}}{\@xdefthm{#1}{#2}}%
-}
-\def\@xdefthm#1#2{%
-    \@begindef{#2}{\csname the#1\endcsname}%
-    \ignorespaces
-}
-\def\@ydefthm#1#2[#3]{%
-    \trivlist
-    \item[%
-        \hskip 10\p@
-        \hskip \labelsep
-        {\it #2%
-         \savebox\@tempboxa{#3}%
-         \ifdim \wd\@tempboxa>\z@
-            \ \box\@tempboxa
-         \fi.%
-        }]%
-    \ignorespaces
-}
-\def\@begindef#1#2{%
-    \trivlist
-    \item[%
-        \hskip 10\p@
-        \hskip \labelsep
-        {\it #1\ \rm #2.}%
-    ]%
-}
-\def\theequation{\arabic{equation}}
-
-\newcounter{part}
-\newcounter{section}
-\newcounter{subsection}[section]
-\newcounter{subsubsection}[subsection]
-\newcounter{paragraph}[subsubsection]
-\def\thepart{\Roman{part}}
-\def\thesection{\arabic{section}}
-\def\thesubsection{\thesection.\arabic{subsection}}
-\def\thesubsubsection{\thesubsection.\arabic{subsubsection}} %removed \subsecfnt 29 July 2002 gkmt
-\def\theparagraph{\thesubsubsection.\arabic{paragraph}} %removed \subsecfnt 29 July 2002 gkmt
-
-\newif\if@uchead
-\@ucheadfalse
-
-%% CHANGES: NEW NOTE
-%% NOTE: OK to use old-style font commands below, since they were
-%% suitably redefined for LaTeX2e
-%% END CHANGES
-\setcounter{secnumdepth}{3}
-\def\part{%
-    \@startsection{part}{9}{\z@}{-10\p@ \@plus -4\p@ \@minus -2\p@}
-        {4\p@}{\normalsize\@ucheadtrue}%
-}
-
-% Rationale for changes made in next four definitions:
-% "Before skip" is made elastic to provide some give in setting columns (vs.
-% parskip, which is non-elastic to keep section headers "anchored" to their
-% subsequent text.
-%
-% "After skip" is minimized -- BUT setting it to 0pt resulted in run-in heads, despite
-% the documentation asserted only after-skip < 0pt would have result.
-%
-% Baselineskip added to style to ensure multi-line section titles, and section heads
-% followed by another section head rather than text, are decently spaced vertically.
-% 12 Jan 2000 gkmt
-\def\section{%
-    \@startsection{section}{1}{\z@}{-10\p@ \@plus -4\p@ \@minus -2\p@}%
-    {0.5pt}{\baselineskip=14pt\secfnt\@ucheadtrue}%
-}
-
-\def\subsection{%
-    \@startsection{subsection}{2}{\z@}{-10\p@ \@plus -4\p@ \@minus -2\p@}
-    {0.5pt}{\baselineskip=14pt\secfnt}%
-}
-\def\subsubsection{%
-    \@startsection{subsubsection}{3}{\z@}{-10\p@ \@plus -4\p@ \@minus -2\p@}%
-    {0.5pt}{\baselineskip=14pt\subsecfnt}%
-}
-
-\def\paragraph{%
-    \@startsection{paragraph}{3}{\z@}{-10\p@ \@plus -4\p@ \@minus -2\p@}%
-    {0.5pt}{\baselineskip=14pt\subsecfnt}%
-}
-
-\let\@period=.
-\def\@startsection#1#2#3#4#5#6{%
-        \if@noskipsec  %gkmt, 11 aug 99
-        \global\let\@period\@empty
-        \leavevmode
-        \global\let\@period.%
+         \else
+           \vbox{}\clearpage
     \fi
-    \par
-    \@tempskipa #4\relax
-    \@afterindenttrue
-    \ifdim \@tempskipa <\z@
-        \@tempskipa -\@tempskipa
-        \@afterindentfalse
     \fi
-    %\if@nobreak  11 Jan 00 gkmt
-        %\everypar{}
-    %\else
-        \addpenalty\@secpenalty
-        \addvspace\@tempskipa
-    %\fi
-    \parskip=0pt
-    \@ifstar
-        {\@ssect{#3}{#4}{#5}{#6}}
-        {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}%
-}
-
-
-\def\@ssect#1#2#3#4#5{%
-  \@tempskipa #3\relax
-  \ifdim \@tempskipa>\z@
-    \begingroup
-      #4{%
-        \@hangfrom{\hskip #1}%
-          \interlinepenalty \@M #5\@@par}%
-    \endgroup
+       \ifx\@deferlist\@empty \else\clearpage \fi
   \else
-    \def\@svsechd{#4{\hskip #1\relax #5}}%
+       \setbox\@cclv\vbox{\box\@cclv\vfil}%
+       \@makecol\@opcol
+       \clearpage
   \fi
-  \vskip -10.5pt  %gkmt, 7 jan 00 -- had been -14pt, now set to parskip
-  \@xsect{#3}\parskip=10.5pt} % within the starred section, parskip = leading 12 Jan 2000 gkmt
-
-
-\def\@sect#1#2#3#4#5#6[#7]#8{%
-    \ifnum #2>\c@secnumdepth
-        \let\@svsec\@empty
+}
+\def \@addtocurcol {%
+   \@insertfalse
+   \@setfloattypecounts
+   \ifnum \@fpstype=8
     \else
-        \refstepcounter{#1}%
-        \edef\@svsec{%
-            \begingroup
-                %\ifnum#2>2 \noexpand\rm \fi % changed to next 29 July 2002 gkmt
-            \ifnum#2>2 \noexpand#6 \fi
-                \csname the#1\endcsname
-            \endgroup
-            \ifnum #2=1\relax .\fi
-            \hskip 1em
-        }%
-    \fi
-    \@tempskipa #5\relax
-    \ifdim \@tempskipa>\z@
-        \begingroup
-            #6\relax
-            \@hangfrom{\hskip #3\relax\@svsec}%
-            \begingroup
-                \interlinepenalty \@M
-                \if@uchead
-                    \uppercase{#8}%
+     \ifnum \@fpstype=24
+     \else
+       \@flsettextmin
+       \advance \@textmin \@textfloatsheight
+       \@reqcolroom \@pageht
+       \ifdim \@textmin>\@reqcolroom
+         \@reqcolroom \@textmin
+       \fi
+       \advance \@reqcolroom \ht\@currbox
+       \ifdim \@colroom>\@reqcolroom
+         \@flsetnum \@colnum
+         \ifnum \@colnum>\z@
+           \@bitor\@currtype\@deferlist
+          \@testwrongwidth\@currbox
+           \if@test
+           \else
+             \@bitor\@currtype\@botlist
+             \if@test
+               \@addtobot
+             \else
+               \ifodd \count\@currbox
+                 \advance \@reqcolroom \intextsep
+                 \ifdim \@colroom>\@reqcolroom
+                   \global \advance \@colnum \m@ne
+                   \global \advance \@textfloatsheight \ht\@currbox
+                   \global \advance \@textfloatsheight 2\intextsep
+                   \@cons \@midlist \@currbox
+                   \if@nobreak
+                     \nobreak
+                     \@nobreakfalse
+                     \everypar{}%
                 \else
-                    #8%
+                     \addpenalty \interlinepenalty
                 \fi
-                \par
-            \endgroup
-        \endgroup
-        \csname #1mark\endcsname{#7}%
-        \vskip -10.5pt  % -14pt gkmt, 11 aug 99 -- changed to -\parskip 11 Jan 2000
-      \addcontentsline{toc}{#1}{%
-            \ifnum #2>\c@secnumdepth \else
-                \protect\numberline{\csname the#1\endcsname}%
+                   \vskip \intextsep
+                   \box\@currbox
+                   \penalty\interlinepenalty
+                   \vskip\intextsep
+                   \ifnum\outputpenalty <-\@Mii \vskip -\parskip\fi
+                   \outputpenalty \z@
+                   \@inserttrue
             \fi
-            #7%
-        }%
+               \fi
+               \if@insert
     \else
-        \def\@svsechd{%
-            #6%
-            \hskip #3\relax
-            \@svsec
-            \if@uchead
-                \uppercase{#8}%
-            \else
-                #8%
-            \fi
-            \csname #1mark\endcsname{#7}%
-            \addcontentsline{toc}{#1}{%
-                \ifnum #2>\c@secnumdepth \else
-                    \protect\numberline{\csname the#1\endcsname}%
+                 \@addtotoporbot
                 \fi
-                #7%
-            }%
-        }%
     \fi
-    \@xsect{#5}\parskip=10.5pt% within the section, parskip = leading 12 Jan 2000 gkmt
-}
-\def\@xsect#1{%
-    \@tempskipa #1\relax
-    \ifdim \@tempskipa>\z@
-        \par
-        \nobreak
-        \vskip \@tempskipa
-        \@afterheading
-    \else
-        \global\@nobreakfalse
-        \global\@noskipsectrue
-        \everypar{%
-            \if@noskipsec
-                \global\@noskipsecfalse
-                \clubpenalty\@M
-                \hskip -\parindent
-                \begingroup
-                    \@svsechd
-                    \@period
-                \endgroup
-                \unskip
-                \@tempskipa #1\relax
-                \hskip -\@tempskipa
-            \else
-                \clubpenalty \@clubpenalty
-                \everypar{}%
             \fi
-        }%
     \fi
-    \ignorespaces
-}
-
-\def\@trivlist{%
-    \@topsepadd\topsep
-    \if@noskipsec
-        \global\let\@period\@empty
-        \leavevmode
-        \global\let\@period.%
     \fi
-    \ifvmode
-        \advance\@topsepadd\partopsep
+     \fi
+   \fi
+   \if@insert
     \else
-        \unskip
-        \par
+     \@resethfps
+     \@cons\@deferlist\@currbox
     \fi
-    \if@inlabel
-        \@noparitemtrue
-        \@noparlisttrue
-    \else
-        \@noparlistfalse
-        \@topsep\@topsepadd
-    \fi
-    \advance\@topsep \parskip
-    \leftskip\z@skip
-    \rightskip\@rightskip
-    \parfillskip\@flushglue
-    \@setpar{\if@newlist\else{\@@par}\fi}
-    \global\@newlisttrue
-    \@outerparskip\parskip
-}
-
-%%% Actually, 'abbrev' works just fine as the default - Gerry Feb. 2000
-%%% Bibliography style.
-
-\parindent 0pt
-\typeout{Using 'Abbrev' bibliography style}
-\newcommand\bibyear[2]{%
-    \unskip\quad\ignorespaces#1\unskip
-    \if#2..\quad \else \quad#2 \fi
-}
-\newcommand{\bibemph}[1]{{\em#1}}
-\newcommand{\bibemphic}[1]{{\em#1\/}}
-\newcommand{\bibsc}[1]{{\sc#1}}
-\def\@normalcite{%
-    \def\@cite##1##2{[##1\if@tempswa , ##2\fi]}%
-}
-\def\@citeNB{%
-    \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
-}
-\def\@citeRB{%
-    \def\@cite##1##2{##1\if@tempswa , ##2\fi]}%
-}
-\def\start@cite#1#2{%
-    \edef\citeauthoryear##1##2##3{%
-        ###1%
-        \ifnum#2=\z@ \else\ ###2\fi
-    }%
-    \ifnum#1=\thr@@
-        \let\@@cite\@citeyear
+}}}
+{}
+\RequirePackage{calc}
+\RequirePackage{ifthen}
+\RequirePackage[final]{graphicx}
+\newif\if@load@natbib \@load@natbibtrue
+\IfFileExists{url.sty}
+  {\RequirePackage{url}%
+  }
+  {\def\url##1{\texttt{##1}}%
+   \ClassWarningNoLine{aipproc}
+      {\noexpand\url command might fail with
+        this LaTeX \MessageBreak installation since url.sty
+        is missing}%
+  }
+\IfFileExists{textcase.sty}
+  {\RequirePackage{textcase}%
+  }
+  {\global\let\MakeTextUppercase\MakeUppercase
+   \ClassWarningNoLine{aipproc}
+      {\noexpand\section commands should not contain math
+        as this on LaTeX \MessageBreak installation the textcase
+        package is missing}%
+  }
+\newcommand\AIP@optionnotsupported[1]
+    {\ClassWarningNoLine{aipproc}%
+                {Option~ `#1'~ not~ supported~ ---~ request~ ignored}}
+\newcommand\AIP@error{\ClassError{aipproc}}
+\newcommand\AIP@cmdnotsupported[1]
+    {\def#1{\AIP@error{Command \noexpand#1not supported by
+                       class}\@eha}}
+\newcommand\AIP@natbibnotavailable[1]
+    {\def#1{\AIP@error{Command \noexpand#1not supported if natbib
+                       not installed}\@eha}}
+\newcommand*\DesignerError[1]{%
+  \AIP@error{#1}{Probably bug in class file.}}
+\newcommand*\InformationError[1]{%
+  \AIP@error{#1}%
+    {Add the necessary information to the document.}}
+\newcommand\MakeSpaceIgnore{%
+    \catcode`\~=10\relax
+    \catcode`\ = 9\relax
+    \catcode`\^^M = 9\relax
+}
+\newcommand\MakeSpaceNormal{%
+    \catcode`\~= 13\relax
+    \catcode`\ = 10\relax
+    \catcode`\^^M = 5\relax
+}
+\let\UnbreakableSpace~
+\MakeSpaceIgnore
+\DeclareOption{a5paper}       {\AIP@optionnotsupported\CurrentOption}
+\DeclareOption{b5paper}       {\AIP@optionnotsupported\CurrentOption}
+\DeclareOption{legalpaper}    {\AIP@optionnotsupported\CurrentOption}
+\DeclareOption{executivepaper}{\AIP@optionnotsupported\CurrentOption}
+\DeclareOption{landscape}     {\AIP@optionnotsupported\CurrentOption}
+\DeclareOption{10pt}          {\AIP@optionnotsupported\CurrentOption}
+\DeclareOption{11pt}          {\AIP@optionnotsupported\CurrentOption}
+\DeclareOption{12pt}          {\AIP@optionnotsupported\CurrentOption}
+\DeclareOption{titlepage}     {\AIP@optionnotsupported\CurrentOption}
+\DeclareOption{notitlepage}   {\AIP@optionnotsupported\CurrentOption}
+\DeclareOption{oneside}       {\AIP@optionnotsupported\CurrentOption}
+\DeclareOption{twoside}       {\AIP@optionnotsupported\CurrentOption}
+\DeclareOption{onecolumn}     {\AIP@optionnotsupported\CurrentOption}
+\DeclareOption{twocolumn}     {\AIP@optionnotsupported\CurrentOption}
+\DeclareOption{leqno}         {\AIP@optionnotsupported\CurrentOption}
+\DeclareOption{fleqn}         {\AIP@optionnotsupported\CurrentOption}
+\DeclareOption{openbib}       {\AIP@optionnotsupported\CurrentOption}
+\DeclareOption{tnotealph}  {\def\AIP@tnote@representation{\@alph}}
+\DeclareOption{tnotesymbol}{\def\AIP@tnote@representation{\@fnsymbol}}
+\newboolean{@cmrfonts}
+\DeclareOption{cmfonts}    {\setboolean{@cmrfonts}{true}
+                            \def\AIP@mathfontsused{0}}
+\DeclareOption{mathptm}    {\def\AIP@mathfontsused{1}}
+\DeclareOption{mathtime}   {\def\AIP@mathfontsused{2}}
+\DeclareOption{nomathfonts}{\def\AIP@mathfontsused{3}}
+\DeclareOption{mathptmx}   {\def\AIP@mathfontsused{4}}
+\DeclareOption{mtpro}      {\def\AIP@mathfontsused{5}}
+\def\pageref{0}
+\DeclareOption{varioref}      {\def\pageref{1}}
+\DeclareOption{nonvarioref}   {\def\pageref{2}}
+\DeclareOption{numcites}      {\def\AIPcitestyleselect{num}}
+\DeclareOption{bibliocites}   {\def\AIPcitestyleselect{biblio}}
+\DeclareOption{nonatbib}      {\dont@load@natbibfalse}
+\DeclareOption{numberedheadings}
+    {\AtEndOfClass{\setcounter{secnumdepth}{3}}}
+\DeclareOption{unnumberedheadings}
+    {\AtEndOfClass{\setcounter{secnumdepth}{-\maxdimen}}}
+\DeclareOption{draft}{\PassOptionsToClass{\CurrentOption}{article}%
+    \@drafttrue
+    \AtEndOfPackage{
+          \let\AIP@pagenumerror\@gobble
+          \def\@oddfoot{\reset@font
+            \AIPfoliofont
+            \AIPfolioformat\@shorttitle\@date\thepage
+            }}}
+\newif\if@draft
+\DeclareOption{final}{\PassOptionsToClass{\CurrentOption}{article}}
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
+\ExecuteOptions{mathptmx,tnotesymbol,numcites,unnumberedheadings,letterpaper}
+\ProcessOptions\relax
+\MakeSpaceNormal
+\LoadClass{article}
+\MakeSpaceIgnore
+\def\layoutstyle#1{%
+    \expandafter\let\expandafter
+       \AIP@layoutstylename
+       \csname AIP@layout@style@#1 \endcsname
+    \ifx\AIP@layoutstylename\relax
+       \def\AIP@layoutstylename{#1}
+    \fi
+    \MakeSpaceIgnore
+    \makeatletter
+    \InputIfFileExists{aip-\AIP@layoutstylename.clo}
+        {\let\AIP@check@layoutstyle\relax}
+        {\AIP@error{The~ layout~ style~ `#1'~ is~ not~
+                    known\MessageBreak  or~ its~
+                    support~ file~ can~ not~ be~ found}
+         {The~ \noexpand \layoutstyle command~ tried~ to~ load~ the~ file~
+          aip-\AIP@layoutstylename.clo~ without~ success!\MessageBreak
+          This~ might~ be~ due~ to~ misspelling~ the~ style~
+          name.\MessageBreak
+          Standard~ styles~ are~ `6x9',~ `8x11single',~
+          `8x11double',~ and~ `arlo',~ but\MessageBreak there~
+           might~ be~ others~ (see~ the~ class~
+          documentation).\MessageBreak
+          It~ could~ also~ be~ due~ to~ an~ incomplete~ installation~
+          of~ the~ class.
+         }
+        }
+    \MakeSpaceNormal
+    \makeatother
+    \ifdim\columnsep>\z@
+       \@twocolumntrue
     \else
-        \let\@@cite\@citenormal
+       \@twocolumnfalse
     \fi
-    \@ifstar{\@citeNB\@@cite}{\@normalcite\@@cite}%
 }
-\def\cite{\start@cite23}
-\def\citeNP{\cite*}
-\def\citeA{\start@cite10}
-\def\citeANP{\citeA*}
-\def\shortcite{\start@cite23}
-\def\shortciteNP{\shortcite*}
-\def\shortciteA{\start@cite20}
-\def\shortciteANP{\shortciteA*}
-\def\citeyear{\start@cite30}
-\def\citeyearNP{\citeyear*}
-\def\citeN{%
-    \@citeRB
-    \def\citeauthoryear##1##2##3{##1\ [##3%
-        \def\reserved@a{##1}%
-        \def\citeauthoryear####1####2####3{%
-            \def\reserved@b{####1}%
-            \ifx\reserved@a\reserved@b
-                ####3%
-            \else
-                \errmessage{Package acmart Error: author mismatch
-                         in \string\citeN^^J^^J%
-                    See the acmart package documentation for explanation}%
+\@onlypreamble\layoutstyle
+\def\declare@layoutstyle#1#2{
+  \@namedef{AIP@layout@style@#1}{#2}
+}
+\@onlypreamble\declare@layoutstyle
+\declare@layoutstyle{6x9}{6s}
+\declare@layoutstyle{8x11single}{8s}
+\declare@layoutstyle{8x11double}{8d}
+\def\AIP@check@layoutstyle{
+  \AIP@error{No~ \noexpand\layoutstyle command~ seen}
+    {The~ class~ requires~ a~ \noexpand\layoutstyle{}~
+     declaration~ in~ the~ preamble!\MessageBreak
+     Standard~ styles~ are~ `6x9',~ `8x11single',~
+    `8x11double',~ and~ `arlo',~ but\MessageBreak there~
+     might~ be~ others~ (see~ the~ class~
+     documentation).\MessageBreak
+     To~ be~ able~ to~ proceed~ the~ 6x9~ style~ is~ assumed.
+    }
+    \layoutstyle{6x9}
+  \@colht\textheight
+  \@colroom\textheight \vsize\textheight
+  \columnwidth\textwidth
+  \@clubpenalty\clubpenalty
+  \if@twocolumn
+    \advance\columnwidth -\columnsep
+    \divide\columnwidth\tw@ \hsize\columnwidth \@firstcolumntrue
+  \fi
+  \hsize\columnwidth \linewidth\hsize
+}
+\AtBeginDocument{\AIP@check@layoutstyle}
+\newcommand*\SetInternalRegister[2]{#1=#2\relax}
+\let\SetInternalCounter\count@assign
+\newcommand*\DeclareParagraphLayout[9]{%
+    \@namedef{#1Para}{
+  \fontsize{#2}{#3}\selectfont
+          #9
+  \setlength\parindent  {#4}
+  \setlength\leftskip   {#5}
+  \setlength\rightskip  {#6}
+  \@rightskip\rightskip
+  \setlength\parfillskip{#7}
+  \setlength\parskip    {#8}
+}
+}
+\@onlypreamble\DeclareParagraphLayout
+\newcommand*\UseParagraphLayout[1]{
+    \@ifundefined{#1Para}
+       {\DesignerError{Paragraph~ layout~ '#1'~ undefined}}
+       {\@nameuse{#1Para}}
+}
+\newcommand*\DeclareParagraphLayoutAlias[2]{%
+      \@ifundefined{#2Para}
+           {\DesignerError{Paragraph~ layout~ '#2'~ undefined}}
+           {\expandafter\let
+              \csname#1Para\expandafter\endcsname
+              \csname#2Para\endcsname
+           }
+}
+\@onlypreamble\DeclareParagraphLayoutAlias
+\newcommand*\UseBBskip[1]
+  {\ifvmode
+    \setlength\@tempskipa{#1 - \parskip - \baselineskip}
+    \vskip\@tempskipa
+   \else
+    \DesignerError{\protect\UseBBskip\space outside~ vmode}
             \fi
-        }%
-    }%
-    \@ifstar\@citeyear\@citeyear
 }
-\def\shortciteN{%
-    \@citeRB
-    \def\citeauthoryear##1##2##3{##2\ [##3%
-        \def\reserved@a{##2}%
-        \def\citeauthoryear####1####2####3{%
-            \def\reserved@b{####2}%
-            \ifx\reserved@a\reserved@b
-                ####3%
-            \else
-                \errmessage{Package acmart Error: author mismatch
-                         in \string\shortciteN^^J^^J%
-                    See the acmart package documentation for explanation}%
+\newcommand*\DeclarePagestyle[5]
+  {
+   \@namedef{ps@#1}
+     {
+      \def\@oddhead {#2}
+      \def\@oddfoot {#3}
+      \def\@evenhead{#4}
+      \def\@evenfoot{#5}
+     }
+   }
+\newdimen\bodytextsize
+\newdimen\bodytextbaselineskip
+\newdimen\bodytextenspace
+\newdimen\bodytextparindent
+\pagestyle{empty}
+\AIP@cmdnotsupported\pagestyle
+\newcommand\AIP@pagenumerror[1]{%
+  \AIP@error{Command~ \string#1~ can't~ be~ used~
+       in~ production}%
+      {This~ command~ will~ produce~ page~ numbers~ which~ will~
+       be~ incorrect~ in~ the\MessageBreak final~ production.
+       It~ should~ therefore~ only~ be~ used~ while~ producing~
+       drafts.}}
+\let\@@tableofcontents\tableofcontents
+\let\@@listoffigures\listoffigures
+\let\@@listoftables\listoftables
+\renewcommand\tableofcontents{%
+   \AIP@pagenumerror\tableofcontents\@@tableofcontents}
+\renewcommand\listoffigures{%
+   \AIP@pagenumerror\listoffigures\@@listoffigures}
+\renewcommand\listoftables{%
+   \AIP@pagenumerror\listoftables\@@listoftables}
+\RequirePackage{aipxfm}
+\MakeSpaceIgnore
+\def\AIP@startsection#1#2#3#4#5{
+    \@tempskipa#2\relax
+    \advance\@tempskipa-\parskip
+    \ifdim\@tempskipa<\z@
+      \DesignerError{#2~ -~ \protect\parskip needs~ to~ be~
+                     non-negative}
             \fi
-        }%
-    }%
-    \@ifstar\@citeyear\@citeyear % changed from  "\@ifstart" 12 Jan 2000 gkmt
-}
-
-\def\@citenormal{%
-    \@ifnextchar [{\@tempswatrue\@citex;}
-                  {\@tempswafalse\@citex,[]}% was ; Gerry 2/24/00
-}
-\def\@citeyear{%
-    \@ifnextchar [{\@tempswatrue\@citex,}%
-                  {\@tempswafalse\@citex,[]}%
-}
-\def\@citex#1[#2]#3{%
-    \let\@citea\@empty
-    \@cite{%
-        \@for\@citeb:=#3\do{%
-            \@citea
-            \def\@citea{#1 }%
-            \edef\@citeb{\expandafter\@iden\@citeb}%
-            \if@filesw
-                \immediate\write\@auxout{\string\citation{\@citeb}}%
-            \fi
-            \@ifundefined{b@\@citeb}{%
-                {\bf ?}%
-                \@warning{%
-                    Citation `\@citeb' on page \thepage\space undefined%
-                }%
-            }%
-            {\csname b@\@citeb\endcsname}%
-        }%
-    }{#2}%
-}
-\let\@biblabel\@gobble
-\newdimen\bibindent
-\setcounter{enumi}{1}
-\bibindent=0em
-\def\thebibliography#1{%
-\ifnum\addauflag=0\addauthorsection\global\addauflag=1\fi
-    \section{%
-       {REFERENCES}
-        \@mkboth{{\refname}}{{\refname}}%
-    }%
-    \list{[\arabic{enumi}]}{%
-        \settowidth\labelwidth{[#1]}%
-        \leftmargin\labelwidth
-        \advance\leftmargin\labelsep
-        \advance\leftmargin\bibindent
-        \itemindent -\bibindent
-        \listparindent \itemindent
-        \usecounter{enumi}
-    }%
-    \let\newblock\@empty
-    \raggedright  %% 7 JAN 2000 gkmt
-    \sloppy
-    \sfcode`\.=1000\relax
-}
-
-
-\gdef\balancecolumns
-{\vfill\eject
-\global\@colht=\textheight
-\global\ht\@cclv=\textheight
-}
-
-\newcount\colcntr
-\global\colcntr=0
-\newbox\savebox
-
-\gdef \@makecol {%
-\global\advance\colcntr by 1
-\ifnum\colcntr>2 \global\colcntr=1\fi
-   \ifvoid\footins
+    \ifthenelse{\equal#1{true}}
+      \relax
+      {\@tempskipa-\@tempskipa}
+    \edef\AIP@preskip{\the\@tempskipa}
+    \@tempskipa#4\relax
+    \advance\@tempskipa-\parskip
+    \ifdim\@tempskipa<\z@
+      \DesignerError{#2~ -~ \protect\parskip needs~ to~ be~
+                     non-negative}
+    \fi
+    \ifthenelse{\equal#3{true}}
+      {\@tempskipa-\@tempskipa}
+      \relax
+    \edef\AIP@postskip{\the\@tempskipa}
+    \@secpenalty#5\relax
+    \@startsection
+}
+\renewcommand\section
+   {\AIP@startsection
+      \AIPsectionafterindent\AIPsectionpreskip
+      \AIPsectionrunin\AIPsectionpostskip
+      \AIPsectionpenalty
+       {section}{1}{\AIPsectionindent}%
+                   {\AIP@preskip}%
+                   {\AIP@postskip}%
+                   {\AIPsectionfont\AIPsectionformat}}
+\renewcommand\subsection
+   {\AIP@startsection
+      \AIPsubsectionafterindent\AIPsubsectionpreskip
+      \AIPsubsectionrunin\AIPsubsectionpostskip
+      \AIPsubsectionpenalty
+    {subsection}{2}{\AIPsubsectionindent}%
+                   {\AIP@preskip}%
+                   {\AIP@postskip}%
+                   {\AIPsubsectionfont\AIPsubsectionformat}}
+\renewcommand\subsubsection
+   {\AIP@startsection
+      \AIPsubsubsectionafterindent\AIPsubsubsectionpreskip
+      \AIPsubsubsectionrunin\AIPsubsubsectionpostskip
+      \AIPsubsubsectionpenalty
+    {subsubsection}{3}{\AIPsubsubsectionindent}%
+                   {\AIP@preskip}%
+                   {\AIP@postskip}%
+                   {\AIPsubsubsectionfont\AIPsubsubsectionformat}}
+\renewcommand\paragraph
+   {\AIP@startsection
+      \AIPparagraphafterindent\AIPparagraphpreskip
+      \AIPparagraphrunin\AIPparagraphpostskip
+      \AIPparagraphpenalty
+     {paragraph}{4}{\AIPparagraphindent}%
+                   {\AIP@preskip}%
+                   {\AIP@postskip}%
+                   {\AIPparagraphfont\AIPparagraphformat}}
+\renewcommand\subparagraph
+   {\AIP@startsection
+      \AIPsubparagraphafterindent\AIPsubparagraphpreskip
+      \AIPsubparagraphrunin\AIPsubparagraphpostskip
+      \AIPsubparagraphpenalty
+  {subparagraph}{5}{\AIPsubparagraphindent}%
+                   {\AIP@preskip}%
+                   {\AIP@postskip}%
+                   {\AIPsubparagraphfont\AIPsubparagraphformat}}
+\newcommand\UseNoHyphens{\hyphenpenalty\@M\exhyphenpenalty\@M}
+\ifcase \AIP@mathfontsused
+                                 % 0 use cm for everything
+\or
+\MakeSpaceNormal
+  \RequirePackage{mathptm}       % 1
+\MakeSpaceIgnore
+\or
+\MakeSpaceNormal
+  \RequirePackage{mathtime}      % 2
+\MakeSpaceIgnore
+\or
+                                 % 3 use cm for math
+\or
+\MakeSpaceNormal
+  \RequirePackage{mathptmx}      % 4
+\MakeSpaceIgnore
+\or
+\MakeSpaceNormal
+  \RequirePackage{mtpro}         % 5
+\MakeSpaceIgnore
+\fi
+\ifnum \AIP@mathfontsused > 0
+  \RequirePackage{times}
+  \normalfont
+  \RequirePackage[T1]{fontenc}
+  \RequirePackage{textcomp}
+\fi
+\AtBeginDocument{\UseParagraphLayout{AIPbodytext}}
+\renewcommand\footnoterule{
+  \setlength\skip@{\AIPfootnoteruleheight+\AIPfootnoterulepostskip}
+  \vskip-\skip@
+  \moveright \AIPfootnoteruleindent\vbox{%
+    \hrule \@width \AIPfootnoterulewidth
+           \@height \AIPfootnoteruleheight}%
+  \vskip \AIPfootnoterulepostskip \relax}
+\AtBeginDocument{
+  \setlength{\skip\footins}{\AIPfootnoterulepreskip
+                            +\AIPfootnoterulepostskip}}
+\renewcommand\@makefntext[1]{
+    \UseParagraphLayout{AIPfootnote}
+    \noindent
+    \hbox{\AIPfootnotetextmarkerformat
+             {\AIPfootnotetextmarkerfont\@thefnmark}}%
+    \ignorespaces
+    #1}
+\def\@makefnmark{\hbox{%
+  \AIPfootnotemarkerformat{\AIPfootnotemarkerfont\@thefnmark}}}
+\def \@makecol {%
      \setbox\@outputbox \box\@cclv
+   \@combinefloats
+   \ifvoid\footins
    \else
      \setbox\@outputbox \vbox{%
 \boxmaxdepth \@maxdepth
-       \@tempdima\dp\@cclv
-       \unvbox \@cclv
-       \vskip-\@tempdima
+       \unvbox \@outputbox
        \vskip \skip\footins
        \color@begingroup
          \normalcolor
@@ -1314,7 +539,6 @@
    \fi
    \xdef\@freelist{\@freelist\@midlist}%
    \global \let \@midlist \@empty
-   \@combinefloats
    \ifvbox\@kludgeins
      \@makespecialcolbox
    \else
@@ -1328,65 +552,489 @@
    \fi
    \global \maxdepth \@maxdepth
 }
-\def\titlenote{\@ifnextchar[\@xtitlenote{\stepcounter\@mpfn
-\global\advance\titlenotecount by 1
-\ifnum\titlenotecount=1
-    \raisebox{9pt}{$\ast$}
+\def\@fnsymbol#1{\ensuremath{\ifcase#1\or *\or \dagger\or **\or
+   \ddagger\or \mathsection\or \mathparagraph\or \|\or \dagger\dagger
+   \or \ddagger\ddagger \or\mathsection\mathsection
+   \or \mathparagraph\mathparagraph \or *{*}*\or
+   \dagger{\dagger}\dagger \or\ddagger{\ddagger}\ddagger\or
+   \mathsection{\mathsection}\mathsection
+   \or \mathparagraph{\mathparagraph}\mathparagraph \else\@ctrerr\fi}}
+\def\@alph#1{\ifcase#1\or a\or b\or c\or d\or e\or f\or g\or h\or i\or
+  j\or k\or l\or m\or n\or o\or p\or q\or r\or s\or t\or u\or v\or
+  w\or x\or y\or z\or aa\or bb\or cc\or dd\or ee\or ff\or gg\or hh\or
+  ii\or jj\or kk\or ll\or mm\or nn\or oo\or pp\or qq\or rr\or ss\or
+  tt\or uu\or vv\or ww\or xx\or yy\or zz\else\@ctrerr\fi}
+\AtBeginDocument{%
+  \ifx\tagform@\@undefined
+    \def\eqref#1{\mbox{\AIPeqreffont\AIPeqrefformat{\ref{#1}}}}%
+  \else
+    \def\tagform@#1{\mbox{\AIPeqreffont
+      \AIPeqrefformat{\ignorespaces
+                      #1\unskip\@@italiccorr}}}%
+  \fi
+  \def\@eqnnum{{\AIPeqfont\AIPeqformat\theequation}}
+}
+\ifnum\pageref>0
+ \MakeSpaceNormal
+  \RequirePackage{varioref}
+ \MakeSpaceIgnore
+ \renewcommand\reftextfaceafter {on~ the~ next~ page}
+ \renewcommand\reftextfacebefore{on~ the~ \reftextvario{previous}
+                                                     {preceding}~ page}
+ \renewcommand\reftextafter     {on~ the~ \reftextvario{following}
+                                                     {next}~ page}
+ \renewcommand\reftextbefore    {on~ the~ \reftextvario{preceding~ page}
+                                                     {page~ before}}
+ \renewcommand\reftextcurrent   {on~ \reftextvario{this}%
+                                                 {the~ current}~ page}
+ \renewcommand\reftextfaraway[1]{%
+   \is@pos@number\@tempb
+    {\ifnum\@tempb<0\@tempa\relax
+       \reftextearlier
+     \else
+       \reftextlater
+     \fi}%
+   {\@setref\relax\relax{#1}}}
+ \newcommand\reftextearlier{\reftextvario{on~ an~ earlier~ page}
+                                         {earlier~ on}}
+ \newcommand\reftextlater  {\reftextvario{later~ on}{further~ down}}
+ \ifnum\pageref=2
+   \def\reftextvario#1#2{#1}
+ \fi
+ \let\pageref\vpageref
+\else
+  \renewcommand\pageref[1]
+    {\AIP@error{Page~ references~ not~ supported}
+      {This~ class~ does~ not~ support~ references~ to~ page~
+       numbers~ unless~ the~ varioref~ or~ the~ nonvarioref~ option~
+       is~ used,~ since~ it~ doesn't~ print~ page~ numbers.}}
+\fi
+\newcommand\AIP@maketablecaption[2]{%
+  \UseParagraphLayout{AIPtable-singlelinecaption}
+  \settowidth\@tempdima{%
+      \noindent
+      {\AIPtablecaptionheadfont\AIPtablecaptionheadformat{#1}}
+      \AIPtablecaptiontextfont\ignorespaces#2}
+  \ifdim\@tempdima>\hsize
+     \UseParagraphLayout{AIPtable-multilinecaption}
+  \fi
+  \noindent
+  {\AIPtablecaptionheadfont\AIPtablecaptionheadformat{#1}}
+  \AIPtablecaptiontextfont\ignorespaces#2\par
+  \vskip\AIPtablecaptionskip}
+\newskip\AIPtablecaptionskip
+\newcommand\AIP@makefigurecaption[2]{%
+  \UseParagraphLayout{AIPfigure-singlelinecaption}
+  \UseBBskip\AIPfigurecaptionBBskip
+  \settowidth\@tempdima{%
+      \noindent
+      {\AIPfigurecaptionheadfont\AIPfigurecaptionheadformat{#1}}
+      \AIPfigurecaptiontextfont\ignorespaces#2}
+  \ifdim\@tempdima>\hsize
+     \UseParagraphLayout{AIPfigure-multilinecaption}
+  \fi
+  \noindent
+  {\AIPfigurecaptionheadfont\AIPfigurecaptionheadformat{#1}}
+  \AIPfigurecaptiontextfont\ignorespaces#2\par
+}
+\newskip\AIPfigurecaptionBBskip
+\newcommand\AIP@sourceerror{\AIP@error
+  {\noexpand\source is only supported with `table' or `figure'
+   environment}\@ehd}
+\let\source\AIP@sourceerror
+\newcommand\AIP@fsource@setup{%
+    \def\source##1{\gdef\AIP@typeset@source
+      {\addvspace\AIPfiguresourceskip
+       \rightline{\AIPfiguresourceheadfont \AIPfiguresourceheadtext
+                  \AIPfiguresourcetextfont ##1}
+      }}
+    \global\let\AIP@typeset@source\@empty}
+\newcommand\AIP@tsource@setup{%
+    \def\source##1{\gdef\AIP@typeset@source
+      {\addvspace\AIPtablesourceskip
+       \rightline{\AIPtablesourceheadfont \AIPtablesourceheadtext
+                  \AIPtablesourcetextfont ##1}
+      }}
+    \global\let\AIP@typeset@source\@empty}
+\newcommand\AIP@tablenoteerror{\AIP@error
+  {\noexpand\tablenote is only supported inside `table'
+   environment\MessageBreak and not allowed inside
+   the \noexpand\caption or \noexpand\source command}\@ehd}
+\let\tablenote\AIP@tablenoteerror
+\newcommand\AIP@tablenote[2]{%
+       \leavevmode
+       \stepcounter\@mpfn
+       \protected@xdef\@thefnmark{\thempfn}%
+       #1\@footnotemark
+       \protected@xdef\AIP@tnote@process
+            {\AIP@tnote@process
+             \protect\footnotetext
+               [\the\c@mpfootnote]
+               {\protect\UseParagraphLayout{AIPtablenote}#2}}%
+}
+\newcommand\AIP@tnote@setup{%
+    \def\@mpfn{mpfootnote}%
+    \def\thempfn{\thempfootnote}%
+    \def\thempfootnote{\AIP@tnote@representation\c@mpfootnote}%
+    \global\c@mpfootnote\z@
+    \def\tablenote{\@ifstar{\AIP@tablenote\relax}
+                           {\AIP@tablenote\rlap}}
+    \gdef\AIP@tnote@process{}%
+    \setlength{\skip\@mpfootins}{\AIPtablenoteskip}
+    \let\footnoterule\relax
+    \let\@footnotetext\@mpfootnotetext
+}
+\newskip\AIPtablenoteskip
+\newcommand\AIP@tablehead[4]{\multicolumn{#1}{#2}%
+   {\AIPtableheadfont\begin{tabular}[#3]{@{}#2@{}}%
+    \vrule \@height \bodytextsize\@width \z@\relax
+    \ignorespaces#4\unskip
+    \vrule \@depth .5\bodytextsize\@width \z@\end{tabular}}}
+\def\hline{%
+  \noalign{\ifnum0=`}\fi\vskip\AIPhlinesep
+      \hrule \@height \arrayrulewidth\vskip3\AIPhlinesep
+      \futurelet \reserved@a\@xhline}
+\newdimen\AIPhlinesep
+\newenvironment{ltxtable}[1][tbp]
+               {\@float{table}[#1]
+                \let\tablehead\AIP@tablehead
+                \let\@makecaption\AIP@maketablecaption
+                \AIPtablefont}
+               {\end@float}
+\newenvironment{ltxtable*}[1][tbp]
+               {\@dblfloat{table}[#1]
+                \let\tablehead\AIP@tablehead
+                \let\@makecaption\AIP@maketablecaption
+                \AIPtablefont}
+               {\end@dblfloat}
+\renewenvironment{table*}[1][tbp]
+   {\AIP@error{Environment `table*' not supported\MessageBreak
+                         --- environment `table' used instead}%
+    {The class automatically determines the position of the float
+     according\MessageBreak
+     to its size.}%
+    \begin{table}}
+   {\end{table}}
+\renewenvironment{table}[1][tbp]
+   {\def\AIP@floatspec{#1}%
+    \let\tablehead\AIP@tablehead
+    \let\@makecaption\AIP@maketablecaption
+    \AIP@tsource@setup
+    \AIP@tnote@setup
+    \global \setbox\AIP@box
+    \color@hbox
+      \hbox \bgroup
+      \@floatboxreset
+         \def\caption##1{\gdef\AIP@save@caption{##1}\let\caption\AIP@caption@error}%
+         \def\label##1{\gdef\AIP@save@label{##1}}%
+         \global\let\AIP@save@caption\@undefined
+         \global\let\AIP@save@label\@undefined
+       \normalcolor
+       \AIPtablefont
+       \ignorespaces
+   }
+   {%
+       \AIP@remove@any@previous@space
+       \outer@nobreak
+      \egroup
+    \color@endbox
+    \setlength\dimen@{\columnwidth+1pt}%
+    \ifdim\wd\AIP@box >\dimen@
+      \setlength\dimen@{\textwidth+1pt}%
+      \ifdim\wd\AIP@box >\dimen@
+        \def\@captype{table}%
+        \sbox\@tempboxa{\AIP@make@table@body}%
+        \setlength\dimen@{\ht\@tempboxa+\dp\@tempboxa}%
+        \ifdim\dimen@ <\columnwidth
+          \def\@tempa{\@float{table}}%
+          \expandafter\@tempa\expandafter[\AIP@floatspec]%
+            \centerline{\rotatebox{90}{\box\@tempboxa}}%
+          \end@float
+        \else
+           \def\@tempa{\@dblfloat{table}}%
+           \expandafter\@tempa\expandafter[\AIP@floatspec]%
+           \setbox\@tempboxa\hbox{\rotatebox{90}{\box\@tempboxa}}
+           \dimen@\wd\@tempboxa
+           \advance\dimen@ -5\p@   % grace
+           \ifdim \dimen@ >\textwidth
+             \AIP@error{Table~ too~ wide~ (\the\wd\@tempboxa\space
+                        >~\the\textwidth)}
+                {Table~ doesn't~ fit~ even~ after~ turning~ it~
+                 by~ 90~ degrees.~ You~ probably\MessageBreak
+                 have~ to~ change~ it~ somewhat.}
 \fi
-\ifnum\titlenotecount=2
-    \raisebox{9pt}{$\dagger$}
+           \centerline{\unhbox \@tempboxa}
+          \end@dblfloat
 \fi
-\ifnum\titlenotecount=3
-    \raisebox{9pt}{$\ddagger$}
+      \else
+        \def\@tempa{\@dblfloat{table}}%
+        \expandafter\@tempa\expandafter[\AIP@floatspec]%
+          \AIP@make@table@body
+        \end@dblfloat
 \fi
-\ifnum\titlenotecount=4
-\raisebox{9pt}{$\S$}
+    \else
+      \def\@tempa{\@float{table}}%
+      \expandafter\@tempa\expandafter[\AIP@floatspec]%
+        \AIP@make@table@body
+      \end@float
+    \fi
+}
+\newcommand\AIP@caption@error{\AIP@error{Only~ one~
+           \noexpand\caption command~ per~ float~ supported}
+    {If~ you~ need~ more~ than~ one~ \noexpand\caption~ command~ try~ the~
+     ltxfigure~ or~ ltxtable\MessageBreak
+     environment~ as~ explained~ in~ the~ aipguide.}}
+\newcommand\AIP@make@table@body{%
+      \centering
+      \@tempdima\wd\AIP@box
+      \ifdim\@tempdima<\AIPtablecaptionminwidth
+        \@tempdima\AIPtablecaptionminwidth
+      \fi
+      \begin{minipage}\@tempdima
+        \ifx\AIP@save@caption\@undefined\else
+          \let\tablenote\AIP@tablenoteerror
+          \caption{\AIP@save@caption
+                   \ifx\AIP@save@label\@undefined\else
+                     \label\AIP@save@label
+                   \fi}%
 \fi
-\ifnum\titlenotecount=5
-\raisebox{9pt}{$\P$}
+        \par
+        \offinterlineskip                % or we get \lineskip
+        \vbox{\hsize\wd\AIP@box
+                          \box\AIP@box
+                          \AIP@typeset@source}%
+        \AIP@tnote@process
+     \end{minipage}%
+}
+\newdimen\AIPtablecaptionminwidth
+\newcommand\AIP@remove@any@previous@space
+  {\unskip\loop\unskip\ifdim\lastskip>\z@\repeat}
+\newbox\AIP@box
+\newenvironment{ltxfigure}[1][tbp]
+               {\@float{figure}[#1]
+                \let\@makecaption\AIP@makefigurecaption}
+               {\end@float}
+\newenvironment{ltxfigure*}[1][tbp]
+               {\@dblfloat{figure}[#1]
+                \let\@makecaption\AIP@makefigurecaption}
+               {\end@dblfloat}
+\renewenvironment{figure}[1][tbp]
+   {\def\AIP@floatspec{#1}%
+    \AIP@fsource@setup
+    \global \setbox\AIP@box
+    \color@hbox
+      \hbox \bgroup
+      \@floatboxreset
+         \def\caption##1{\let\caption\AIP@caption@error\gdef\AIP@save@caption{##1}}%
+         \def\label##1{\gdef\AIP@save@label{##1}}%
+         \global\let\AIP@save@caption\@undefined
+         \global\let\AIP@save@label\@undefined
+       \normalcolor
+       \normalfont
+       \normalsize
+       \ignorespaces
+   }
+   {%
+       \AIP@remove@any@previous@space
+       \outer@nobreak
+      \egroup
+    \color@endbox
+    \def\@tempa{\@dblfloat{figure}}%
+    \setlength\dimen@{\columnwidth+1pt}%
+    \ifdim\wd\AIP@box >\dimen@
+      \expandafter\@tempa\expandafter[\AIP@floatspec]%
+        \AIP@make@figure@body
+      \end@dblfloat
+    \else
+      \def\@tempa{\@float{figure}}%
+      \expandafter\@tempa\expandafter[\AIP@floatspec]%
+        \AIP@make@figure@body
+      \end@float
 \fi
-         \@titlenotetext
-}}
-
-\long\def\@titlenotetext#1{\insert\footins{%
-\ifnum\titlenotecount=1\global\tntoks={#1}\fi
-\ifnum\titlenotecount=2\global\tntokstwo={#1}\fi
-\ifnum\titlenotecount=3\global\tntoksthree={#1}\fi
-\ifnum\titlenotecount=4\global\tntoksfour={#1}\fi
-\ifnum\titlenotecount=5\global\tntoksfive={#1}\fi
-    \reset@font\footnotesize
-    \interlinepenalty\interfootnotelinepenalty
-    \splittopskip\footnotesep
-    \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
-    \hsize\columnwidth \@parboxrestore
-    \protected@edef\@currentlabel{%
-    }%
-    \color@begingroup
-   \color@endgroup}}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%
-\ps@plain
-\baselineskip=11pt
-\let\thepage\relax % For  NO page numbers - Gerry Nov. 30th. 1999
-\def\setpagenumber#1{\global\setcounter{page}{#1}}
-%\pagenumbering{arabic}  % Arabic page numbers but commented out for NO page numbes - Gerry Nov. 30th. 1999
-\twocolumn             % Double column.
-\flushbottom           % Even bottom -- alas, does not balance columns at end of document
-\pagestyle{plain}
-
-% Need Copyright Year and Copyright Data to be user definable (in .tex file).
-% Gerry Nov. 30th. 1999
-\newtoks\copyrtyr
-\newtoks\acmcopyr
-\newtoks\boilerplate
-\def\CopyrightYear#1{\global\copyrtyr{#1}}
-\def\crdata#1{\global\acmcopyr{#1}}
-\def\permission#1{\global\boilerplate{#1}}
-%
-\newtoks\copyrightetc
-\global\copyrightetc{\ } %  Need to have 'something' so that adequate space is left for pasting in a line if "confinfo" is supplied.
-
-%\toappear{\the\boilerplate\par
-%{\confname{\the\conf}} \the\confinfo\par \the\copyrightetc}
-% End of ACM_PROC_ARTICLE-SP.CLS -- V2.6SP - 10/02/2002 --
-% Gerry Murray -- October 2nd. 2002
+}
+\renewenvironment{figure*}{\figure}{\endfigure}
+\newcommand\AIP@make@figure@body{%
+      \centering
+      \setlength\@tempdima{\wd\AIP@box-1pt}%
+      \ifdim\@tempdima>\columnwidth
+         \@tempdima\textwidth
+      \else
+         \@tempdima\columnwidth
+      \fi
+      \begin{minipage}\@tempdima
+        \centerline{\vbox{\hsize\wd\AIP@box
+                          \box\AIP@box
+                          \AIP@typeset@source}}%
+        \ifx\AIP@save@caption\@undefined\else
+          \let\@makecaption\AIP@makefigurecaption
+          \caption{\AIP@save@caption
+                   \ifx\AIP@save@label\@undefined\else
+                     \label\AIP@save@label
+                   \fi}%
+        \fi
+        \par
+     \end{minipage}}
+\renewcommand\fnum@figure{\thefigure}
+\renewcommand\fnum@table{\thetable}
+\newcommand\spaceforfigure[2]{\parbox{#1}{\mbox{}\vspace*{#2}}}
+\AtBeginDocument{%
+\newcommand\@@longtable{}%
+\let\@@longtable\longtable
+\def\longtable{%
+  \begingroup
+    \LTcapwidth\z@
+    \advance\c@LT@tables\@ne   % local as stepcounter comes later
+    \let\LT@entry\AIP@get@longtable@width
+    \csname LT@\romannumeral\c@LT@tables\endcsname
+    \ifdim \LTcapwidth=\z@ \global \LTcapwidth2in
+    \else \global\LTcapwidth\LTcapwidth
+    \fi
+  \endgroup
+  \AIPtablefont
+  \let\tablehead\AIP@tablehead
+  \@@longtable
+}%
+\def\LT@makecaption#1#2#3{%
+  \LT@mcol\LT@cols {@{}l@{}}{\rlap{\parbox[t]\LTcapwidth{%
+  \UseParagraphLayout{AIPtable-multilinecaption}
+  \noindent
+  {\AIPtablecaptionheadfont\AIPtablecaptionheadformat{#1#2}}
+  \AIPtablecaptiontextfont\ignorespaces#3\endgraf
+  \vspace*\AIPtablecaptionskip
+  }}}}%
+\def\LT@hline{%
+  \noalign{\ifnum0=`}\fi
+    \penalty\@M\vskip\AIPhlinesep
+    \futurelet\@let@token\LT@@hline}
+\def\LT@@hline{%
+  \ifx\@let@token\hline
+    \global\let\@gtempa\@gobble
+    \gdef\LT@sep{\penalty-\@medpenalty\vskip\doublerulesep}%
+  \else
+    \global\let\@gtempa\@empty
+    \gdef\LT@sep{\penalty-\@lowpenalty\vskip-\arrayrulewidth}%
+  \fi
+  \ifnum0=`{\fi}%
+  \multispan\LT@cols
+     \unskip\leaders\hrule\@height\arrayrulewidth\hfill\cr
+  \noalign{\LT@sep}%
+  \multispan\LT@cols
+     \unskip\leaders\hrule\@height\arrayrulewidth\hfill\cr
+  \noalign{\penalty\@M\vskip3\AIPhlinesep}%
+  \@gtempa}
+}
+\newcommand\AIP@get@longtable@width[2]{\advance\LTcapwidth#2\relax }
+\newenvironment{theacknowledgments}
+     {\AIPacknowledgmentsheadtype\AIPacknowledgmentsheadtext
+      \UseParagraphLayout{AIPacknowledgments}}
+     {\par}
+\renewenvironment{theindex}
+               {
+                \if@twocolumn
+                  \@restonecolfalse
+                  \AIPindexheadtype\indexname
+                \else
+                  \columnseprule \z@
+                  \columnsep 35\p@
+                  \@restonecoltrue
+                  \twocolumn[\AIPindexheadtype\indexname]
+                \fi
+                \parindent\z@
+                \parskip\z@ \@plus .3\p@\relax
+                \let\item\@idxitem}
+               {\if@restonecol\onecolumn\fi}
+\IfFileExists{natbib.sty}
+  {
+   \if@load@natbib
+     \AtBeginDocument{
+        \citestyle
+%%           {\csname AIP \AIPcitestyleselect citestyle\endcsname}
+        {aa}
+     }
+    \MakeSpaceNormal
+    \RequirePackage{natbib}
+    \MakeSpaceIgnore
+   \fi
+   }{}
+\ifx\citet\@undefined
+   \def\citet{\AIP@natbibnotavailable\citet}
+   \def\citep{\AIP@natbibnotavailable\citep}
+   \def\citealt{\AIP@natbibnotavailable\citealt}
+   \def\citealp{\AIP@natbibnotavailable\citealp}
+   \def\citetext{\AIP@natbibnotavailable\citetext}
+   \def\citeauthor{\AIP@natbibnotavailable\citeauthor}
+   \def\citeyear{\AIP@natbibnotavailable\citeyear}
+   \def\citeyearpar{\AIP@natbibnotavailable\citeyearpar}
+   \def\Citet{\AIP@natbibnotavailable\Citet}
+   \def\Citep{\AIP@natbibnotavailable\Citep}
+   \def\Citealt{\AIP@natbibnotavailable\Citealt}
+   \def\Citealp{\AIP@natbibnotavailable\Citealp}
+   \def\Citetext{\AIP@natbibnotavailable\Citetext}
+   \def\Citeauthor{\AIP@natbibnotavailable\Citeauthor}
+   \def\Citeyear{\AIP@natbibnotavailable\Citeyear}
+   \def\Citeyearpar{\AIP@natbibnotavailable\Citeyearpar}
+   \renewenvironment{thebibliography}[1]
+     {\AIPbibliographyheadtype\refname
+      \list{\AIPbibliographymarkerformat{\@arabic\c@enumiv}}%
+           {\settowidth\labelwidth{\AIPbibliographymarkerformat{#1}}%
+            \UseParagraphLayout{AIPbibliography}
+            \leftmargin\labelwidth
+            \advance\leftmargin\labelsep
+            \setlength\itemsep\AIPbibliographyitemsep
+            \@openbib@code
+            \usecounter{enumiv}%
+            \let\p@enumiv\@empty
+            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
+      \sfcode`\.\@m}
+     {\def\@noitemerr
+       {\@latex@warning{Empty `thebibliography' environment}}%
+      \endlist}
+  \renewcommand*\@cite[2]{{\AIPcitefont
+     \AIPciteformat{#1\if@tempswa , #2\fi}}}
+  \AtBeginDocument{
+        \ifthenelse{\equal\AIPcitestyleselect{num}}
+           {}
+           {\AIP@error{Author/year~ citation~ style~ impossible}
+              {Without~ the~ natbib~ system~ only~ numerical~ citations~ are~
+               possible.~ But~ you~ (or~ the~ journal~ \string\layoutstyle)~
+               requested~ a~ diffferent~ citation~ style.}
+           }
+    }
+\else
+   \renewcommand\bibsection{\AIPbibliographyheadtype\refname}
+   \renewcommand\NAT@bibsetnum[1]{
+      \ifdim\AIPbibliographylabelwidth=\maxdimen
+\settowidth\labelwidth{\@biblabel{#1}}
+        \setlength\leftmargin\labelwidth
+      \else
+        \setlength\labelwidth\AIPbibliographylabelwidth
+        \setlength\leftmargin
+          {\AIPbibliographyleftmargin+\AIPbibliographyleftmarginextra}
+        \setlength\itemindent{-\AIPbibliographyleftmarginextra}
+      \fi
+      \addtolength\leftmargin\AIPbibliographylabelsep
+      \setlength\labelsep\AIPbibliographylabelsep
+      \setlength\itemsep\AIPbibliographyitemsep
+      \UseParagraphLayout{AIPbibliography}
+      \setlength\parsep{\parskip}
+   }
+  \renewcommand\NAT@bibsetup[1]{
+       \setlength\leftmargin
+          {\AIPbibliographyleftmargin+\AIPbibliographyleftmarginextra}
+       \setlength\itemindent{-\AIPbibliographyleftmarginextra}
+       \setlength\itemsep\AIPbibliographyitemsep
+       \UseParagraphLayout{AIPbibliography}
+       \setlength\parsep{\parskip}
+      }
+  \newcommand\bibstyle@arlonum{\bibpunct{}{}{,}{s}{}{\textsuperscript{,}}%
+     \gdef\NAT@biblabelnum##1{\textsuperscript{##1}}
+     \gdef\thefootnote{\alph{footnote}}
+  }
+  \newcommand\bibstyle@aipproc{\bibpunct{[}{]}{,}{n}{}{,}
+     \gdef\NAT@biblabelnum##1{##1.\hfill}}
+\fi
+\MakeSpaceNormal
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `aipproc.cls'.

 

Close Window
 
  The service has been written by
Heinrich Stamerjohanns