% KLUWER document style version 1.02
%  for LaTeX version 2.09
 
\typeout{^^JKLUWER Document Style 'KLUWER', version 1.02 
<September 25, 1992>/<KAP>.^^J}


% 25-09-92 CHANGE 
%
% \baselineskip in \def\title@@@#1 did not work;
% \par was added at the end of the definition


%
% Developed for Kluwer Academic Publishers.
%
% COPYRIGHT NOTICE:
% Copyright (c) 1991 Kluwer Academic Publishers,
% P.O. Box 17, 3300 AA Dordrecht, The Netherlands.
%
% This kluwer style may be distributed freely for
% non-commercial purposes, provided this copyright notice is left in tact.

% You may not alter or modify the files. If you do make changes, then 
% you must give the files names other than the present.
%
% Disclaimer:
% Kluwer Academic Publishers bear no responsibilities for errors in this
% software or its documentation; and they shall not be held liable for
% any indirect, incidental, or consequential damages.



\@ifundefined{partname}{\def\partname{Part}}{\relax}
\@ifundefined{chaptername}{\def\chaptername{Chapter}}{\relax}
\@ifundefined{appendixname}{\def\appendixname{Appendix}}{\relax}
\@ifundefined{sectionname}{\def\sectionname{Section}}{\relax}

\@ifundefined{bibname}{\def\bibname{Bibliography}}{\relax}

\@ifundefined{contentsname}{\def\contentsname{Contents}}{\relax}
\@ifundefined{listfigurename}{\def\listfigurename{List of Figures}}{\relax}
\@ifundefined{listtablename}{\def\listtablename{List of Tables}}{\relax}

\@ifundefined{refname}{\def\refname{References}}{\relax}
\@ifundefined{indexname}{\def\indexname{Index}}{\relax}

\@ifundefined{figurename}{\def\figurename{Fig.}}{\relax}
\@ifundefined{tablename}{\def\tablename{TABLE}}{\relax}

\@ifundefined{abstractname}%
{\def\abstractname{Abstract}}{\relax}
\@ifundefined{keywordsname}%
{\def\keywordsname{Key words}}{\relax}

\@ifundefined{acknowledgementsname}{\def\acknowledgementsname
  {Acknowledgements}}{\relax}


% \kluwer@tenpt
% \include@chapterdef
% \include@sectdef
% \rtitle@uppercase
% \rauthor@uppercase
% \title@uppercase
% \author@uppercase
% \center@title
% \copyright@head
% \kapident@head
% \include@kaplist
% \default@numerferences



\@namedef{ds@10pt}{\typeout{10pt option neglected}}
\@namedef{ds@11pt}{\typeout{10pt option neglected}}
\@namedef{ds@12pt}{\typeout{10pt option neglected}}

\def\ds@twoside{\typeout{twoside option neglected}}
\def\ds@draft{\typeout{draft option neglected}}

\def\ds@times{}
\def\ds@psgreek{}

\newif\if@numreferences
\def\ds@numreferences{\@numreferencestrue}
\@ifundefined{default@numreferences}{\@numreferencesfalse}%
{\@numreferencestrue}

\newif\if@namedreferences
\def\ds@namedreferences{\@namedreferencestrue}
\@ifundefined{default@namedreferences}{\@namedreferencesfalse}%
{\@namedreferencestrue}

\@options



\lineskip 1pt
\normallineskip 1pt
\def\baselinestretch{1}



\@ifundefined{kluwer@tenpt}{

\typeout{KAP -- Eleven point}
 
\def\@normalsize{\@setsize\normalsize{13pt}\xipt\@xipt
  \abovedisplayskip 11pt plus3pt minus6pt
  \belowdisplayskip \abovedisplayskip
  \abovedisplayshortskip \z@ plus3pt
  \belowdisplayshortskip 6.6pt plus3.5pt minus3pt}

\def\small{\@setsize\small{11pt}\xpt\@xpt
  \abovedisplayskip 10pt plus2pt minus5pt
  \belowdisplayskip \abovedisplayskip
  \abovedisplayshortskip \z@ plus3pt
  \belowdisplayshortskip 6pt plus3pt minus3pt
  \def\@listi{\topsep 6pt plus 2pt minus 2pt
    \parsep 3pt plus 2pt minus 1pt
    \itemsep \parsep}}

\def\footnotesize{\@setsize\footnotesize{10pt}\ixpt\@ixpt
  \abovedisplayskip 8pt plus 2pt minus 4pt
  \belowdisplayskip \abovedisplayskip
  \abovedisplayshortskip \z@ plus 1pt
  \belowdisplayshortskip 4pt plus 2pt minus 2pt
  \def\@listi{\topsep 4pt plus 2pt minus 2pt
    \parsep 2pt plus 1pt minus 1pt
    \itemsep \parsep}}

\def\scriptsize{\@setsize\scriptsize{9.5pt}\viiipt\@viiipt}
\def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}
\def\large{\@setsize\large{14pt}\xiipt\@xiipt}
\def\Large{\@setsize\Large{18pt}\xivpt\@xivpt}
\def\LARGE{\@setsize\LARGE{22pt}\xviipt\@xviipt}
\def\huge{\@setsize\huge{25pt}\xxpt\@xxpt}
\def\Huge{\@setsize\Huge{30pt}\xxvpt\@xxvpt}

}{

\typeout{KAP -- Ten point}

\def\@normalsize{\@setsize\normalsize{12pt}\xpt\@xpt
  \abovedisplayskip 10pt plus2pt minus5pt
  \belowdisplayskip \abovedisplayskip
  \abovedisplayshortskip \z@ plus3pt
  \belowdisplayshortskip 6pt plus3pt minus3pt
  \let\@listi\@listI} 

\def\small{\@setsize\small{11pt}\ixpt\@ixpt
  \abovedisplayskip 8.5pt plus 3pt minus 4pt
  \belowdisplayskip \abovedisplayskip
  \abovedisplayshortskip \z@ plus2pt
  \belowdisplayshortskip 4pt plus2pt minus 2pt
  \def\@listi{\leftmargin\leftmargini 
    \topsep 4pt plus 2pt minus 2pt
    \parsep 2pt plus 1pt minus 1pt
    \itemsep \parsep}}

\def\footnotesize{\@setsize\footnotesize{9.5pt}\viiipt\@viiipt
  \abovedisplayskip 6pt plus 2pt minus 4pt
  \belowdisplayskip \abovedisplayskip
  \abovedisplayshortskip \z@ plus 1pt
  \belowdisplayshortskip 3pt plus 1pt minus 2pt
  \def\@listi{\leftmargin\leftmargini 
    \topsep 3pt plus 1pt minus 1pt
    \parsep 2pt plus 1pt minus 1pt
    \itemsep \parsep}}

\def\scriptsize{\@setsize\scriptsize{8pt}\viipt\@viipt}
\def\tiny{\@setsize\tiny{6pt}\vpt\@vpt}
\def\large{\@setsize\large{14pt}\xiipt\@xiipt}
\def\Large{\@setsize\Large{18pt}\xivpt\@xivpt}
\def\LARGE{\@setsize\LARGE{22pt}\xviipt\@xviipt}
\def\huge{\@setsize\huge{25pt}\xxpt\@xxpt}
\def\Huge{\@setsize\Huge{30pt}\xxvpt\@xxvpt}

}
 
\normalsize


 
\topmargin 0pt

\headheight 13pt
\headsep 1pc

\textheight 559pt

\footskip 27.5pt
\footheight 13pt
 
\textwidth 32.5pc

\oddsidemargin .65in
\evensidemargin .65in

\marginparwidth 1in
\marginparsep 10pt

\columnsep 11pt
\columnseprule 0pt
 
\footnotesep 6.6pt
\skip\footins 10pt plus 4pt minus 2pt



\floatsep 12pt plus 2pt minus 2pt
\textfloatsep 20pt plus 2pt minus 4pt
\intextsep 12pt plus 2pt minus 2pt

\dblfloatsep 12pt plus 2pt minus 2pt
\dbltextfloatsep 20pt plus 2pt minus 4pt 

\@maxsep 20pt 
\@dblmaxsep 20pt

\@fptop 0pt plus 1fil
\@fpsep 8pt plus 2fil
\@fpbot 0pt plus 1fil

\@dblfptop 0pt plus 1fil
\@dblfpsep 8pt plus 2fil
\@dblfpbot 0pt plus 1fil


 
\marginparpush 5pt
 
\parskip 0pt
\parindent 14pt

\@lowpenalty 51
\@medpenalty 151
\@highpenalty 301
\@beginparpenalty -\@lowpenalty
\@endparpenalty -\@lowpenalty
\@itempenalty -\@lowpenalty


 
\def\part{\cleardoublepage
  \thispagestyle{part}
  \hbox{}\vfil          
  \secdef\@part\@spart}     

\def\@part[#1]#2{\ifnum \c@secnumdepth >-2\relax
  \refstepcounter{part}                   
  \addcontentsline{toc}{part}{\thepart    
  \hspace{1em}#1}\else                    
  \addcontentsline{toc}{part}{#1}\fi      
  \markboth{}{}
  {\centering                      
   \ifnum \c@secnumdepth >-2\relax 
     \huge\bf Part \thepart        
   \par                            
   \vskip 20pt \fi                 
   \Huge \bf #1\par}\@endpart}               
    
\def\@spart#1{{\centering    
   \Huge \bf #1\par}\@endpart}

\def\@endpart{\vfil\newpage}



\@ifundefined{include@chapterdef}{}{

\typeout{KAP -- Chapter defined}

\def\@makechapterhead#1{ \vspace*{33pt} { \parindent 0pt \centering
 \large \thechapter. #1\par
 \nobreak \vskip 33pt} }

\def\@makeschapterhead#1{ \vspace*{33pt} { \parindent 0pt \centering
 \large #1\par
 \nobreak \vskip 33pt} }

\def\chapter{\cleardoublepage \thispagestyle{chapter} \global\@topnum\z@
 \@afterindentfalse \secdef\@chapter\@schapter}

\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
 \refstepcounter{chapter}
 \typeout{\@chapapp\space\thechapter.}
 \addcontentsline{toc}{chapter}{\protect
 \numberline{\thechapter}#1}\else
 \addcontentsline{toc}{chapter}{#1}\fi
 \chaptermark{#1}
 \addtocontents{lof}{\protect\addvspace{10pt}}
 \addtocontents{lot}{\protect\addvspace{10pt}}
 \@makechapterhead{#2} \@afterheading}

\def\@schapter#1{\@makeschapterhead{#1} \@afterheading}

\def\@chapapp{\chaptername}

}



\@ifundefined{include@sectdef}{}{

\typeout{KAP -- Section with dot}

\def\@sect#1#2#3#4#5#6[#7]#8{\ifnum #2>\c@secnumdepth
     \def\@svsec{}\else
       \refstepcounter{#1}\edef\@svsec{\csname the#1\endcsname.\hskip 1ex }%
       \ifx\include@chapterdef\relax
         \ifnum#2=1
           \typeout{\sectionname\space\thesection}\fi\fi
     \fi
      \@tempskipa #5\relax
      \ifdim \@tempskipa>\z@
        \begingroup #6\relax
          \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty \@M #8\par}
        \endgroup
       \csname #1mark\endcsname{#7}\addcontentsline
         {toc}{#1}{\ifnum #2>\c@secnumdepth \else
                      \protect\numberline{\csname the#1\endcsname}\fi
                    #7}\else
        \def\@svsechd{#6\hskip #3\@svsec #8\csname #1mark\endcsname
                      {#7}\addcontentsline
                           {toc}{#1}{\ifnum #2>\c@secnumdepth \else
                             \protect\numberline{\csname the#1\endcsname}\fi
                       #7}}\fi
     \@xsect{#5}}

}



\def\section{\@startsection {section}{1}{\z@}{-18pt plus -2pt minus
  -1pt}{8pt plus 1pt}{\centering\normalsize\bf}}
\def\subsection{\@startsection{subsection}{2}{\z@}{-9pt plus -1pt minus
  -.1pt}{4pt plus 0.5pt}{\normalsize\sc}}
\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-13pt plus
  -1pt minus -.5pt}{0pt}{\normalsize\it}}
\def\paragraph{\@startsection{paragraph}{4}{\z@}{13pt plus 1pt minus
  0.5pt}{-1em}{\normalsize\it}}
\def\subparagraph{\@startsection{subparagraph}{5}{\z@}{13pt plus 1pt minus
  0.5pt}{-1em}{\normalsize\it}}
 
\@ifundefined{include@chapterdef}{

  \def\appendix{\par
    \section*{Appendix}
    \setcounter{section}{0}%
    \setcounter{subsection}{0}%
    \def\thesection{\Alph{section}}}

}{

  \def\appendix{\par
    \setcounter{chapter}{0}%
    \setcounter{section}{0}%
    \def\thechapter{\Alph{chapter}}%
    \def\@chappapp{\appendixname}}

}
 


\leftmargini 2em
\leftmarginii 2.2em
\leftmarginiii 1.87em
\leftmarginiv 1.7em
\leftmarginv 1em
\leftmarginvi 1em

\leftmargin\leftmargini

\labelsep .4em
\labelwidth\leftmargini \advance\labelwidth-\labelsep

\topsep 9pt plus 3pt minus 5pt
\partopsep 3pt plus 1pt minus 2pt
\itemsep 4.5pt plus 2pt minus 1pt
\parsep 4.5pt plus 2pt minus 1pt

\def\@listI{\leftmargin\leftmargini
  \topsep 9pt plus 3pt minus 5pt
  \partopsep 3pt plus 1pt minus 2pt
  \itemsep 4.5pt plus 2pt minus 1pt
  \parsep 4.5pt plus 2pt minus 1pt}
\let\@listi\@listI
\@listi

\def\@listii{\leftmargin\leftmarginii
  \labelwidth\leftmarginii\advance\labelwidth-\labelsep
  \topsep 4.5pt plus 2pt minus 1pt
  \parsep 2pt plus 1pt minus 1pt
  \itemsep \parsep}

\def\@listiii{\leftmargin\leftmarginiii
  \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
  \topsep 2pt plus 1pt minus 1pt
  \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\kapmathindent{14pt}


 
\def\labelenumi{\arabic{enumi}.}
\def\theenumi{\arabic{enumi}}

\def\labelenumii{\alph{enumii})}
\def\theenumii{\alph{enumii}}
\def\p@enumii{\theenumi}

\def\labelenumiii{\it\roman{enumiii}.}
\def\theenumiii{\roman{enumiii}}
\def\p@enumiii{\theenumi(\theenumii)}

\def\labelenumiv{\Alph{enumiv}.}
\def\theenumiv{\Alph{enumiv}}
\def\p@enumiv{\p@enumiii\theenumiii}


 
\def\labelitemi{$-$}
\def\labelitemii{=}
\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 
  \leftmargin 1.5em
  \topsep .5ex plus 2pt minus 1pt 
  \itemindent\listparindent
  \parsep 0pt plus 1pt}\item[]}
\let\endquotation=\endlist

\def\quote{\list{}{\leftmargin 1.5em 
  \topsep .5ex plus 2pt minus 1pt}\item[]}
\let\endquote=\endlist
 
\def\descriptionlabel#1{\hspace\labelsep \bf #1}
\def\description{\list{}{\labelwidth\z@ 
   \itemindent-\leftmargin
   \let\makelabel\descriptionlabel}}
\let\enddescription\endlist



\@ifundefined{include@kaplist}{}{

  \def\kap@list{\topsep 0pt plus 1pt 
    \partopsep 0pt plus 1pt
    \itemsep \z@ \parsep 0pt plus 1pt
    \leftmargini 0em 
    \leftmarginii 1em 
    \leftmarginiii 1em
    \leftmarginiv 1em 
    \leftmarginv 1em 
    \leftmarginvi 1em
    \rightmargin \z@ 
    \listparindent \z@ 
    \itemindent \z@ }

  \def\@mklab#1{#1\hfil}

  \def\itemize{\ifnum \@itemdepth >3\@toodeep\else 
    \advance\@itemdepth \@ne
    \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
    \list{\csname\@itemitem\endcsname}{\kap@list
      \def\makelabel##1{##1\hfil}}\fi}

  \def\kap@enumerate[#1]{\ifnum \@enumdepth >3 \@toodeep\else
    \advance\@enumdepth \@ne
    \edef\@enumctr{enum\romannumeral\the\@enumdepth}
    \list{\csname label\@enumctr\endcsname}{\kap@list \usecounter{\@enumctr}
      \settowidth\labelwidth{#1.} 
      \leftmargin\labelwidth \advance\leftmargin\labelsep 
      \def\makelabel##1{\hfil##1}}\fi}
  \def\enumerate{\@ifnextchar[{\kap@enumerate}{\kap@enumerate[00]}}

}



\def\titlepage{\thispagestyle{empty}\c@page\z@}
\def\endtitlepage{\newpage}



\arraycolsep 0.25em
\tabcolsep 6pt      
\arrayrulewidth .4pt
\doublerulesep 2pt  

\tabbingsep\labelsep



\skip\@mpfootins = \skip\footins

\def\footnoterule{\kern-3\p@   
  \hrule width .4\columnwidth 
  \kern 2.6\p@} 

\long\def\@makefntext#1{\parindent 1em\noindent
 \hbox to 1.5em{\hss$^{\@thefnmark}$}\hskip0.5em\footnotesize#1}

\fboxsep = 3pt  
\fboxrule = .4pt



\newcounter{part}
\@ifundefined{include@chapterdef}{
  \newcounter{section}
}{
  \newcounter{chapter}
  \newcounter{section}[chapter]
}
\newcounter{subsection}[section]
\newcounter{subsubsection}[subsection]
\newcounter{paragraph}[subsubsection]
\newcounter{subparagraph}[paragraph]

\def\thepart{\Roman{part}}
\@ifundefined{include@chapterdef}{}{
  \def\thechapter{\arabic{chapter}}
}
\def\thesection{\arabic{section}}
\def\thesubsection{\thesection.\arabic{subsection}}
\def\thesubsubsection{\thesubsection.\arabic{subsubsection}}
\def\theparagraph{\thesubsubsection.\arabic{paragraph}}
\def\thesubparagraph{\theparagraph.\arabic{subparagraph}}
   

                  
\def\@pnumwidth{1.55em}
\def\@tocrmarg{2.55em}
\def\@dotsep{4.5}
\setcounter{tocdepth}{2}
\setcounter{secnumdepth}{3}
 
\def\tableofcontents{\chapter*{\contentsname
  \@mkboth{\uppercase{\contentsname}}{\uppercase{\contentsname}}}%
  \typeout{\contentsname}
  \@starttoc{toc}}

\def\l@part#1#2{\addpenalty{-\@highpenalty}
   \addvspace{2.25em plus 1pt}  
   \begingroup
     \@tempdima 3em        
     \parindent \z@ \rightskip \@pnumwidth
     \parfillskip -\@pnumwidth   
     {\large \bf         
       \leavevmode         
       #1\hfil \hbox to\@pnumwidth{\hss #2}}\par
     \nobreak            
     \global\@nobreaktrue 
     \everypar{\global\@nobreakfalse\everypar{}}
   \endgroup}

\@ifundefined{include@chapterdef}{}{

\def\l@chapter#1#2{\addpenalty{-\@highpenalty}  
   \vskip 1.0em plus 1pt 
   \@tempdima 1.5em      
   \begingroup
     \parindent \z@ \rightskip \@pnumwidth 
     \parfillskip -\@pnumwidth   
     \bf                 
     \leavevmode         
     \advance\leftskip\@tempdima 
     \hskip -\leftskip           
     #1\nobreak\hfil \nobreak\hbox to\@pnumwidth{\hss #2}\par
     \penalty\@highpenalty 
   \endgroup}

}

\def\l@section{\@dottedtocline{1}{1.5em}{2.3em}}
\def\l@subsection{\@dottedtocline{2}{3.8em}{3.2em}}
\def\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}}
\def\l@paragraph{\@dottedtocline{4}{10em}{5em}}
\def\l@subparagraph{\@dottedtocline{5}{12em}{6em}}

\def\listoffigures{\chapter*{\listfigurename\@mkboth
  {\uppercase{\listfigurename}}{\uppercase{\listfigurename}}}%
  \typeout{\listfigurename}
  \@starttoc{lof}}

\def\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}

\def\listoftables{\chapter*{\listtablename\@mkboth
  {\uppercase{\listtablename}}{\uppercase{\listtablename}}}%
  \typeout{\listtablename}
  \@starttoc{lot}}

\let\l@table\l@figure



\@ifundefined{include@chapterdef}{

\def\thebibliography#1{\section*{\refname\@mkboth
  {\uppercase{\bibname}}{\uppercase{\bibname}}}\footnotesize
  \typeout{\refname}\def\bibwidthlabel{#1}\list
  {\kapbib@counter}{\kapbib@list}
    \let\makelabel\@biblabel
    \def\newblock{\hskip .11em plus .33em minus .07em}
    \sloppy\clubpenalty4000\widowpenalty4000
    \sfcode`\.=1000\relax}

}{

  \def\thebibliography#1{\chapter*{\refname\@mkboth
  {\uppercase{\bibname}}{\uppercase{\bibname}}}\footnotesize
  \typeout{\refname}\def\bibwidthlabel{#1}\list
  {\kapbib@counter}{\kapbib@list}
    \let\makelabel\@biblabel
    \def\newblock{\hskip .11em plus .33em minus .07em}
    \sloppy\clubpenalty4000\widowpenalty4000
    \sfcode`\.=1000\relax}

}

\let\endthebibliography=\endlist


% COMMENT 
% IF references are to be numbered
% ELSE named references


% IN CASE AUTHOR HAS SELECTED BOTH DOCUMENTSTYLES FOR REFERENCES:
% [namedreferences] and [numreferences]

\if@numreferences
\if@namedreferences
\typeout{KAP -- Two documentstyles for references selected;}
\typeout{KAP -- Named references ([numreferences] option ignored)}
\@numreferencesfalse
\fi
\fi


\if@numreferences

  \typeout{KAP -- Numbered references}

  \def\kapbib@counter{\arabic{enumi}}

  \def\kapbib@list{\setlength{\labelsep}{1em}%
    \settowidth{\labelwidth}{\@biblabel{\bibwidthlabel}}%
    \setlength{\leftmargin}{\labelwidth}%
    \addtolength{\leftmargin}{\labelsep}%
    \setlength{\itemindent}{0pt}%
    \setlength{\itemsep}{0pt}%
    \setlength{\parsep}{0pt}%
    \usecounter{enumi}%
    \let\makelabel\kap@biblabel}

  \def\@biblabel#1{\hfill #1.}

  \def\@bibitem#1{\item\if@filesw\immediate\write\@auxout
    {\string\bibcite{#1}{\the\value{\@listctr}}}\fi\ignorespaces}

  \def\@lbibitem[#1]#2{\item\if@filesw
    {\def\protect##1{\string ##1\space}\immediate
    \write\@auxout{\string\bibcite{#2}{\the
    \value{\@listctr}}}}\fi\ignorespaces}

%    \def\kap@biblabel#1{\hfill #1.}




  \let\@internalcite\cite
  \def\cite{\@ifstar{\@internalcite}{\@internalcite}}


\def\shortcite{\@ifstar{\@internalcite}{\@internalcite}}
\def\citeauthor{\@ifstar{\@internalcite}{\@internalcite}}
\def\citeyear{\@ifstar{\@internalcite}{\@internalcite}}

\def\citeauthoryear{}

\def\kluwer@cite#1#2{}

  \def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
    \def\@citea{}\@cite{\@for\@citeb:=#2\do
      {\@citea\def\@citea{,\penalty\@m\ }\@ifundefined
        {b@\@citeb}{{\bf ?}\@warning
            {Citation `\@citeb' on page \thepage \space undefined}}%
          {\csname b@\@citeb\endcsname}}}{#1}}

\else

\if@namedreferences % IF AUTHOR USED DOCUMENTSTYLE [namedreferences]
                    % NEW DEFINITIONS FROM NAMED.STY 

  \typeout{KAP -- Documentstyle Named references}

  \def\kapbib@counter{\relax}

  \def\kapbib@list{\setlength{\labelsep}{0em}%
        \setlength{\labelwidth}{0pt}%
	\setlength{\itemindent}{-\bibhang}%
	\setlength{\itemsep}{0pt}%
	\setlength{\parsep}{0pt}%
	\setlength{\leftmargin}{\bibhang}}

  \newlength{\bibhang}
  \setlength{\bibhang}{1.4em}


  \def\@biblabel#1{}

  
% FILE NAMED.STY
%
% This file implements citations for the ``named'' bibliography style.
%  Place it in a file called named.sty in the TeX search path.  (Placing it
% in the same directory as the LaTeX document should also work.)

% Prepared by Peter F. Patel-Schneider, with the assistance of several,
% since forgotten, LaTeX hackers.
% This style is NOT guaranteed to work.  It is provided in the hope
% that it will make the preparation of papers easier.
%
% There are undoubtably bugs in this style.  If you make bug fixes,
% improvements, etc.  please let me know.  My e-mail address is:
%	pfps@research.att.com

% The preparation of this file was supported by Schlumberger Palo Alto
% Research and AT\&T Bell Laboratories.

% This file can be modified and used in other conferences as long
% as credit to the authors and supporting agencies is retained, this notice
% is not changed, and further modification or reuse is not restricted.

% The ``named'' bibliography style creates citations with labels like
%	\citeauthoryear{author-info}{year}
% these labels are processed by the following commands:
%	\cite{key}
%		which produces citations with both author and year,
%		enclosed in square brackets
%	\shortcite{key}
%		which produces citations with year only,
%		enclosed in square brackets
%	\citeauthor{key}
%		which produces the author information only
%	\citeyear{key}
%		which produces the year information only
% Changes Sept 90, [rmjw]:
%	\raisebox instead of \raise in Definition of \@up
%	Lots of \rm's within \citeathoryear-definitons

%\def\@up#1{\raise.2ex\hbox{#1}}
\def\@up#1{\raisebox{.2ex}{#1}}%[rmjw]

\let\@internalcite\cite

% SQUARE BRACKETS IN \def\cite AND \def\shortcite HAVE
% BEEN CHANGED TO PARENTHESES

\def\cite{\def\@citeseppen{-1000}%
\def\@cite##1##2{({##1\if@tempswa , ##2\fi})}%
    \def\citeauthoryear##1##2{\rm ##1, ##2}\@internalcite}

\def\shortcite{\def\@citeseppen{1000}%
    \def\@cite##1##2{({##1\if@tempswa , ##2\fi})}%
    \def\citeauthoryear##1##2{\rm ##2}\@internalcite}

\def\citeauthor#1{\def\@citeseppen{1000}%
    \def\@cite##1##2{{##1\if@tempswa , ##2\fi}}%
    \def\citeauthoryear##1##2{\rm ##1}\@citedata{#1}}

\def\citeyear#1{\def\@citeseppen{1000}%
    \def\@cite##1##2{{##1\if@tempswa , ##2\fi}}%
    \def\citeauthoryear##1##2{\rm ##2}\@citedata{#1}}

\def\@citedata#1{\@tempswafalse%
 \if@filesw\immediate\write\@auxout{\string\citation{#1}}\fi
  \def\@citea{}\@cite{\@for\@citeb:=#1\do
    {\@citea\def\@citea{,\penalty\@citeseppen\ }\@ifundefined
       {b@\@citeb}{{\bf ?}\@warning
       {Citation `\@citeb' on page \thepage \space undefined}}%
{\csname b@\@citeb\endcsname}}}{}}

% don't box citations, separate with ; and a space
% also, make the penalty between citations negative: a good place to break

\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
  \def\@citea{}\@cite{\@for\@citeb:=#2\do
    {\@citea\def\@citea{;\penalty\@citeseppen\ }\@ifundefined
       {b@\@citeb}{{\bf ?}\@warning
       {Citation `\@citeb' on page \thepage \space undefined}}%
{\csname b@\@citeb\endcsname}}}{#1}}

% raise the brackets in bibliography labels

% \def\@biblabel#1{\def\citeauthoryear##1##2{\rm ##1, ##2}%
%  \raise.2ex\hbox{[}#1\raise.2ex\hbox{]}\hfill}


% END OF FILE NAMED.STY

\else               % \if@namedreferences NOT TRUE; AUTHOR DID NOT USE
                    % DOCUMENTSTYLES [numreferences] or [namedreferences]
                    % OLD ELSE PART OF KLUWER STYLE FILE

% COMMENT
% OLD KLUWER.STY DEFAULT 

  \typeout{KAP -- Named references}

  \def\kapbib@counter{\relax}

  \def\kapbib@list{\setlength{\labelsep}{0em}%
	\setlength{\labelwidth}{0pt}%
	\setlength{\itemindent}{-\bibhang}%
	\setlength{\itemsep}{0pt}%
	\setlength{\parsep}{0pt}%
	\setlength{\leftmargin}{\bibhang}}

  \newlength{\bibhang}
  \setlength{\bibhang}{1.4em}

  \def\@biblabel#1{}

  \def\@lbibitem[#1]#2{\item[\@biblabel{#1}]\if@filesw
    {\def\protect##1{\string ##1\space}\immediate
    \write\@auxout{\string\bibcite{#2}{\string
    \bibnameyear #1}}}\fi\ignorespaces}

  \let\@internalcite\cite

  \def\cite{\@ifstar{\citeyear}{\citefull}}
  \def\citefull{\def
     \kluwer@cite##1##2{##1, ##2}\@internalcite}
  \def\citeyear{\def
     \kluwer@cite##1##2{##2}\@internalcite}

  \def\@citex[#1]#2{\if@filesw\immediate\write
     \@auxout{\string\citation{#2}}\fi
    \def\@citea{}\@cite{\@for\@citeb:=#2\do
      {\@citea\def\@citea{;\penalty\@m\ }\@ifundefined
	{b@\@citeb}{{\bf ?}\@warning
	  {Citation `\@citeb' on page \thepage
	   \space undefined}}%
	{\csname b@\@citeb\endcsname}}}{#1}}


\fi % \if@namedreferences
\fi % \if@numreferences

\def\astroncite{\kluwer@cite}
\def\bibnameyear{\kluwer@cite}


\@ifundefined{include@chapterdef}{}{

  \def\theindex{\columnseprule \z@
    \columnsep 35pt\twocolumn[\@makeschapterhead{\indexname}]
    \@mkboth{\uppercase{\indexname}}{\uppercase{\indexname}}%
    \typeout{\indexname}%
    \thispagestyle{plain}\parindent\z@
    \parskip\z@ plus .3pt\relax\let\item\@idxitem}

  \def\@idxitem{\par\hangindent 40pt}

  \def\subitem{\par\hangindent 40pt \hspace*{20pt}}

  \def\subsubitem{\par\hangindent 40pt \hspace*{30pt}}

  \def\endtheindex{\onecolumn}
 
  \def\indexspace{\par \vskip 10pt plus 5pt minus 3pt\relax}

}



\@ifundefined{include@chapterdef}{}{

  \@addtoreset{footnote}{chapter} 

}



\setcounter{topnumber}{2}
\def\topfraction{.99}
\setcounter{bottomnumber}{1}
\def\bottomfraction{.3}
\setcounter{totalnumber}{3}
\def\textfraction{.01}
\def\floatpagefraction{.9}
\setcounter{dbltopnumber}{2}
\def\dbltopfraction{.7}
\def\dblfloatpagefraction{.5}



\newif\if@adjustcaption
\newif\if@captionabovetabular
\newif\if@tabularabovecaption
\newdimen\@tabularwidth

\def\@tablecapfont{\footnotesize}
\def\@figcapfont{\footnotesize}

\long\def\@makecaption#1#2{\vskip 10pt
 \ifnum\cap@type=1 
  \typeout{\figurename\space\thefigure}%
  \setbox\@tempboxa\hbox{\@figcapfont #1 #2}%
  \ifdim \wd\@tempboxa >\hsize \unhbox\@tempboxa\@figcapfont\par \else
   \hbox to\hsize{\hbox{}\hfil\box\@tempboxa\hfil} \fi \fi
  \ifnum\cap@type=2 
   \typeout{\tablename\space\thetable}%
   \if@adjustcaption
   \if@tabularabovecaption\@maketablecaption{#1}{#2}\else
   \global\@captionabovetabulartrue\gdef\@captab{{#1}{#2}}\fi\else
   \@maketablecaption{#1}{#2}\fi\fi}

\long\def\@maketablecaption#1#2{\if@adjustcaption
    \setbox\@tempboxa\hbox{\@tablecapfont #2}%
    \ifdim\wd\@tempboxa>\@tabularwidth
      \@tablecapfont
      \centerline{\parbox{\@tabularwidth}{#1\unhbox\@tempboxa}}\par
      \else
    #1 \hbox to\hsize{\hfil\box\@tempboxa\hfil} \fi
  \else
    \setbox\@tempboxa\hbox{\@tablecapfont #2}%
    \ifdim\wd\@tempboxa>\hsize #1 \unhbox\@tempboxa\@tablecapfont
    \else
    #1 \hbox to\hsize{\hfil\box\@tempboxa\hfil} \fi
  \fi \vspace{3pt}}
 
\let\kap@tabular\tabular
\let\kap@endtabular\endtabular

\def\tabular{\begingroup\centering\if@captionabovetabular
  \else\global\@tabularabovecaptiontrue\fi
  \setbox\strutbox\hbox{\vrule height.8\baselineskip
  depth.4\baselineskip width\z@}\setbox0=\hbox\bgroup\kap@tabular}
\def\endtabular{\kap@endtabular\egroup\global\@tabularwidth\wd0
  \if@adjustcaption\if@captionabovetabular
  \expandafter\@maketablecaption\@captab\fi\fi\unhbox0\endgroup}



\newcounter{figure}
\def\thefigure{\@arabic\c@figure}
\def\fps@figure{tbp}
\def\ftype@figure{1}
\def\ext@figure{lof}
\def\fnum@figure{\footnotesize{\figurename~\thefigure.~~}}
\def\figure{\def\cap@type{1} \@float{figure}}
\let\endfigure\end@float
\@namedef{figure*}{\@dblfloat{figure}}
\@namedef{endfigure*}{\end@dblfloat}

\newcounter{table}
\def\thetable{\@Roman\c@table}
\def\fps@table{tbp}
\def\ftype@table{2}
\def\ext@table{lot}
\def\fnum@table{\footnotesize\centerline{\tablename~\thetable}}
\def\table{\def\cap@type{2}\@adjustcaptiontrue\@captionabovetabularfalse
 \@tabularabovecaptionfalse\footnotesize \@float{table}}
\let\endtable\end@float
\@namedef{table*}{\@dblfloat{table}}
\@namedef{endtable*}{\end@dblfloat}

\def\acknowledgements{\section*{\acknowledgementsname}%
  \typeout{\acknowledgementsname}}
 
\mark{{}{}}

\def\@markfont{\rm\scriptsize}
\def\@pgnumfont{\rm\normalsize}

\def\ps@headings{\let\@mkboth\@gobbletwo
  \def\@oddfoot{}\def\@evenfoot{}% 
  \def\@evenhead{\@pgnumfont\hbox to 0pt{\thepage\hss}\hfil
    \@markfont\leftmark\hfil}%
  \def\@oddhead{\hbox{}\hfil\@markfont\rightmark\hfil
    \@pgnumfont\hbox to 0pt{\hss\thepage}}%
  \def\chaptermark##1{}%
  \def\sectionmark##1{}%
  \def\subsectionmark##1{}}

\def\ps@myheadings{\let\@mkboth\@gobbletwo
  \def\@oddfoot{}\def\@evenfoot{}% 
  \def\@evenhead{\@pgnumfont\hbox to 0pt{\thepage\hss}\hfill
    \@markfont\leftmark}%
  \def\@oddhead{\hbox{}\@markfont\rightmark\hfill
    \@pgnumfont\hbox to 0pt{\hss\thepage}}%
  \def\chaptermark##1{}%
  \def\sectionmark##1{}%
  \def\subsectionmark##1{}}


\let\ps@title\ps@empty
\let\ps@part\ps@empty
\let\ps@chapter\ps@empty



\newif\if@runningtitleset
\newif\if@runningauthorset

\@ifundefined{rtitle@uppercase}{

  \typeout{KAP -- Running title normal}

  \def\runningtitle#1{\if@runningtitleset\else
    \xdef\@runningtitle{{#1}}\fi
    \global\@runningtitlesettrue}
  \gdef\@runningtitle{}

}{

  \typeout{KAP -- Running title uppercase}

  \def\runningtitle#1{\if@runningtitleset\else
    \expandafter\xdef\expandafter\@runningtitle
       \expandafter{\uppercase{#1}}\fi
    \global\@runningtitlesettrue}
  \gdef\@runningtitle{}

}
 
\@ifundefined{rauthor@uppercase}{

  \typeout{KAP -- Running author(s) normal}

  \def\runningauthor#1{\if@runningauthorset\else
    \xdef\@runningauthor{{#1}}\fi
    \global\@runningauthorsettrue}
  \gdef\@runningauthor{}

}{

  \typeout{KAP -- Running author(s) uppercase}

  \def\runningauthor#1{\if@runningauthorset\else
    \expandafter\xdef\expandafter\@runningauthor
       \expandafter{\uppercase{#1}}\fi
    \global\@runningauthorsettrue}
  \gdef\@runningauthor{}

}


 
\newif\ifopening@opened \opening@openedfalse
\newif\ifopening@closed \opening@closedfalse

\def\opening{\global\opening@openedtrue
  \let\title=\title@
  \let\subtitle=\subtitle@
  \let\author=\author@
  \let\institute=\institute@
  \let\date=\date@}
\def\endopening{\global\opening@closedtrue
  \let\title=\opening@only
  \let\subtitle=\opening@only
  \let\author=\opening@only
  \let\institute=\opening@only
  \let\date=\opening@only}

\def\opening@@only{\kap@warning\typeout{ -- \string\title, \string\subtitle,
  \string\author, \string\institute or \string\date { }effective 
  only inside}\typeout{ -- opening environment. Please refer to Author's
  Instructions.^^J}}

\def\opening@only#1{\opening@@only}
\let\title=\opening@only
\let\subtitle=\opening@only
\let\author=\opening@only
\let\institute=\opening@only
\let\date=\opening@only

\newtoks\t@a
\newtoks\t@b
\long\def\append@item#1\to#2{\t@a={\@k@p{#1}}\t@b=\expandafter{#2}%
  \xdef#2{\the\t@b\the\t@a}}
\def\get@left#1\to#2{\expandafter\g@l#1\g@l#1#2}
\long\def\g@l\@k@p#1#2\g@l#3#4{\def#4{#1}\def#3{#2}}

\def\@authors{}
\def\@allauthors{}
\def\@institutes{}
\def\authors@institute{}

\newif\if@subtitledefined

\def\title@#1{\gdef\@title{#1}}
\def\subtitle@#1{\gdef\@subtitle{#1}\global\@subtitledefinedtrue}
\def\author@#1{\append@item#1\to\@authors
  \append@item#1\to\@allauthors}
\def\institute@#1{\append@item#1\to\@institutes
  \expandafter\append@item\expandafter{\@authors}\to\authors@institute
  \gdef\@authors{}}
\def\date@#1{\gdef\@date{#1}}


\def\subtitle@@thanks#1#2{\subtitle@@@{#1}\thanks{#2}\ignorespaces}

\def\subtitle@@#1{\subtitle@@@{#1}\ignorespaces}

\def\subtitle@@@#1{{\large\it #1}\ignorespaces}



\def\title@@thanks#1#2{\title@@@{#1}\thanks{#2}\endgroup \ignorespaces}

\def\title@@#1{\title@@@{#1}\endgroup \ignorespaces}

\def\upc#1{#1}

\def\title@@@font{\normalsize\bf}

\@ifundefined{title@uppercase}{

  \def\title@@@#1{\begingroup\parindent 0pt
    \runningtitle{#1}%
    \def\upc##1{\uppercase{##1}}%
    \def\@kaptitle{#1}%
    \baselineskip=1.5\baselineskip\hyphenpenalty10000
    {\title@@@font\@kaptitle\gdef\upc##1{##1}} \par}

}{

  \def\title@@@#1{\begingroup\parindent 0pt
    \runningtitle{#1}%
    \def\upc##1{\uppercase{##1}}%
    \def\@firstcharuc{\char\the\uccode`}%
    \def\@kaptitle{\uppercase{#1}}%
    \baselineskip=1.5\baselineskip\hyphenpenalty10000
    {\title@@@font\@kaptitle\gdef\upc##1{##1}} \par}

}

\newif\ifthanks 
\newbox\@kapbox 
\newcount\@kapcount

\def\@formattitle#1{\@kapcount\c@footnote\begingroup
  \def\thanks##1{\global\thankstrue}\setbox\@kapbox\vbox{#1}\endgroup
  \c@footnote\@kapcount
  \begingroup
    \ifthanks
      \def\fn##1\thanks##2{\title@@thanks{##1}{##2}}\expandafter\fn#1
    \else
      \def\fn##1{\title@@{##1}}\expandafter\fn\expandafter{#1}\fi
  \endgroup\global\thanksfalse\par}


\def\@formatsubtitle#1{\@kapcount\c@footnote\begingroup 
  \def\thanks##1{\global\thankstrue}\setbox\@kapbox\vbox{#1}\endgroup
  \c@footnote\@kapcount
  \begingroup
    \ifthanks
      \def\fn##1\thanks##2{\subtitle@@thanks{##1}{##2}}\expandafter\fn#1
    \else
      \def\fn##1{\subtitle@@{##1}}\expandafter\fn\expandafter{#1}\fi
  \endgroup\par\vskip 2em\global\thanksfalse}


\@ifundefined{author@uppercase}{

  \typeout{KAP -- Author(s) normal}

  \def\@formatname#1#2{\@kapcount\c@footnote\begingroup
    \def\thanks##1{\global\thankstrue}\setbox\@kapbox\vbox{#1}\endgroup
    \c@footnote\@kapcount
    \begingroup
      \ifthanks
        \def\fn##1\thanks##2{{##1}\hbox
          to 0pt{#2\hss}\thanks{##2}}\expandafter\fn#1
      \else
        \def\fn##1{{##1}#2}\expandafter\fn\expandafter{#1}\fi
    \endgroup\global\thanksfalse}

}{

  \typeout{KAP -- Author(s) uppercase}

  \def\@formatname#1#2{\@kapcount\c@footnote\begingroup
    \def\thanks##1{\global\thankstrue}\setbox\@kapbox\vbox{#1}\endgroup
    \c@footnote\@kapcount
    \begingroup
      \ifthanks
        \def\fn##1\thanks##2{\uppercase{##1}\hbox
          to 0pt{#2\hss}\thanks{##2}}\expandafter\fn#1
      \else
        \def\fn##1{\uppercase{##1}#2}\expandafter\fn\expandafter{#1}\fi
    \endgroup\global\thanksfalse}

}

\def\@formatauthors{{\small\begingroup
  \newcount\cnt@authors
  \cnt@authors=0\def\@k@p##1{\advance\cnt@authors by 1}\@curauths
  \def\@k@p##1{\advance\cnt@authors by -1
    \ifnum\cnt@authors>1 \hbox{\@formatname{##1}{,}\penalty-1000}\space\fi
    \ifnum\cnt@authors=1 \hbox{\@formatname{##1}{} and\penalty-1000}\space\fi
   \ifnum\cnt@authors<1 \hbox{\@formatname{##1}{}}\par\fi}\@curauths
  \endgroup}}


\def\@formatinstitute{{\footnotesize\it \@curinst\par}}

\def\@formatauthorsandinstitutes{\begingroup
  \newcount\cnt@institutes
  \newcount\cnt@authors
  \newbox\@authbox
  \cnt@authors=0\def\@k@p##1{\advance\cnt@authors by 1}\@allauthors
  \xdef\@authnames{}%
  \begingroup
    \def\thanks##1{}%
    \def\@k@p##1{\advance\cnt@authors by -1
      \ifnum\cnt@authors=0 \xdef\@authnames{\@authnames ##1}\fi
      \ifnum\cnt@authors=1 \xdef\@authnames{##1\ and }\fi
      \ifnum\cnt@authors>1 \xdef\@authnames{##1\ et al.}\cnt@authors=0\fi}%
    \global\setbox\@authbox=\hbox{\@allauthors}%
    \expandafter\runningauthor\expandafter{\@authnames}
  \endgroup
  \cnt@institutes=0
  \def\@k@p##1{\advance\cnt@institutes by 1}\@institutes
  \loop\ifnum\cnt@institutes>0
    \get@left\authors@institute\to\@curauths
    \noindent\@formatauthors
    \get@left\@institutes\to\@curinst
    \noindent\@formatinstitute
    \ifnum\cnt@institutes=2
      \vskip 0.4\baselineskip
      and
    \fi
    \ifnum\cnt@institutes>1
      \vskip 0.4\baselineskip
    \fi
    \advance\cnt@institutes by -1
  \repeat\endgroup}

\def\maketitle{\kap@warning
  \typeout{ -- '\string\maketitle' is not needed, title is made by
  document style^^J}}

\def\@ftertitleskip{2em\relax}
\def\@ftersubtitleskip{1em\relax}
\def\@fterauthorskip{1em\relax}
\def\@fterdateskip{1em\relax}
\def\author@size{\normalsize}
\def\pubdate@size{\footnotesize}


\@ifundefined{center@title}{

  \typeout{KAP -- Title leftjustified}

  \def\@maketitle{\newpage\thispagestyle{title}
   \begingroup
     \parindent 0pt\raggedright
     \@formattitle{\@title}
     \vskip \@ftertitleskip
     \if@subtitledefined
     \@formatsubtitle{\@subtitle}
     \vskip \@ftersubtitleskip
     \fi
     \author@size\@formatauthorsandinstitutes
     \vskip \@fterauthorskip
     {\pubdate@size \@pubdate}
   \endgroup
   \vskip \@fterdateskip}

}{

  \typeout{KAP -- Title centered}

  \def\@maketitle{\newpage\thispagestyle{title}
   \begin{center}
     \parindent 0pt
     \@formattitle{\@title}
     \vskip \@ftertitleskip
     \if@subtitledefined
     \@formatsubtitle{\@subtitle}
     \vskip \@ftersubtitleskip
     \fi
     \author@size \@formatauthorsandinstitutes
     \vskip \@fterauthorskip
     {\pubdate@size \@pubdate}
   \end{center}
   \vskip \@fterdateskip}

}

\def\maketitle@@{\begingroup
   \setcounter{footnote}{0}%
   \def\thefootnote{\fnsymbol{footnote}}%
   \newpage\global\@topnum\z@ \@maketitle
   \markboth{\@runningauthor}{\@runningtitle}%
   \@thanks
 \endgroup
 \setcounter{footnote}{0}%
 \let\maketitle\relax
 \let\@maketitle\relax
 \gdef\@thanks{}%
 \gdef\@title{}%
 \gdef\@authors{}%
 \gdef\@allauthors{}%
 \gdef\@authnames{}%
 \gdef\@institutes{}%
 \gdef\authors@institute{}%
 \let\thanks\relax}

\newif\if@keywords \@keywordsfalse
\def\@keywords{}
\long\def\keywords#1\end@keywords{\gdef\@keywords{#1}%
   \global\@keywordstrue}

\newif\if@abstract \@abstractfalse

\long\def\abstract#1\end#2{\gdef\@abstract{#1\end@keywords
  }\@abstracttrue\end{#2}}
\def\endabstract{\make@abstract}
\def\@abstract{}
\def\end@keywords{}

\def\make@abstract{\if@abstract {\footnotesize\typeout{\abstractname}
  {\noindent{\bf \abstractname.}\@abstract}\gdef\@abstract{}
  \if@keywords{\vskip 1\baselineskip\typeout{\keywordsname}
    \noindent{\bf \keywordsname:\/} \@keywords\gdef\@keywords{}}\fi\par}\fi}


\def\kap@warning{\typeout{^^J !! KAP style file Warning}}

\newread\@editorfile
\let\kapdocument\document

\def\document{\kapdocument
  \ifopening@opened
    \ifopening@closed
    \else
      \@latexerr{`opening' environment not closed}{Close `opening' environment
        before beginning of document}
    \fi
  \else
    \@latexerr{No `opening' environment present}{Use `opening' environment
      before beginning of document}
  \fi
  \let\kap@chapter\chapter
  \def\chapter##1{\setcounter{chapter}{##1}\addtocounter{chapter}{-1}}
  \openin\@editorfile=\jobname.kap
  \ifeof\@editorfile
    \closein\@editorfile
    \typeout{^^J -- File `\jobname.tex' processed without Kluwer Editor file for:}
    \typeout{ -- \@journal^^J}
  \else
    \closein\@editorfile \input{\jobname.kap} \setlastpage
    \typeout{^^J -- File `\jobname.tex' processed with Kluwer Editor file for:}
    \typeout{ -- \@journal^^J}
  \fi\par
  \let\chapter\kap@chapter
  \maketitle@@}

\let\kapenddocument\enddocument
\def\enddocument{\label{lastpage} \kapenddocument}



\def\ps@title{\let\@mkboth\@gobbletwo
  \def\@oddhead{\hbox to\textwidth{{\parindent 0pt\vbox to\headheight{\vss
     \parbox{\textwidth}{\small\@copyrighthead\hfil}\vskip 1pc\relax}}}}%
  \def\@evenhead{}%
  \def\@oddfoot{{\parindent 0pt
     \parbox{\textwidth}{\vskip 2em\small \@copyrightfoot}}}%
  \let\@evenfoot\@oddfoot}



\@ifundefined{kapident@head}{

  \typeout{KAP -- kapident at foot}

  \def\editor#1{\gdef\@kapidentfoot{\hbox{}\hfill\elvtt #1\\
    \hbox{}\hfill\jobname.tex - Date: \today~Time: \timenow\par}}

}{

  \typeout{KAP -- kapident at head}

  \def\editor#1{\gdef\@kapidenthead{\hbox{}\hfill\elvtt #1\\
    \hbox{}\hfill\jobname.tex - Date: \today~Time: \timenow\par}}

}

\gdef\@kapidenthead{}
\gdef\@kapidentfoot{}

\newcount\@hour
\newcount\@minute
\def\timenow{\@hour=\time \divide\@hour by 60 \number\@hour:%
  \multiply\@hour by 60 \@minute=\time \global\advance\@minute by -\@hour%
  \ifnum\@minute<10 0\number\@minute\else\number\@minute\fi}
 
\def\@copyrighthead{\normalsize\@kapidenthead}
\def\@copyrightfoot{\normalsize\@kapidentfoot}

\@ifundefined{copyright@head}{

  \typeout{KAP -- copyright at foot}

  \def\journal#1{\@ifundefined{@#1}{\kap@warning\typeout{ --
    Journal code `#1' does not exist.^^J}}{\csname @#1\endcsname}
    \gdef\@copyrightfoot{\footnotesize{\it\@journal}
      {\bf\@volume:} \number\@firstpage--\number\@lastpage,
      \number\@pubyear.\hfill\hbox{}\\
      \copyright~\number\@pubyear~{\it\@printline}\hfill\hbox{}\par
      \vskip 1em
      \normalsize\@kapidentfoot}}

}{

  \typeout{KAP -- copyright at head}

  \def\journal#1{\@ifundefined{@#1}{\kap@warning\typeout{ --
    Journal code `#1' does not exist.^^J}}{\csname @#1\endcsname}
    \gdef\@copyrighthead{\footnotesize{\it\@journal}
      {\bf\@volume:} \number\@firstpage--\number\@lastpage,
      \number\@pubyear.\hfill\hbox{}\\
      \copyright~\number\@pubyear~{\it\@printline}\hfill\hbox{}\par
      \vskip 1em
      \normalsize\@kapidenthead}}

}

\gdef\@journal{Journal not defined}
\def\@printline{\@kap. \@prin\ \@country.}
\def\@kap{Kluwer Academic Publishers}
\def\@prin{Printed in}

\def\country#1{\gdef\@country{#1}}
\gdef\@country{\@defaultcountry}
\def\defaultcountry#1{\gdef\@defaultcountry{#1}}
\defaultcountry{the Netherlands}

\def\volume#1{\gdef\@volume{#1}}
\gdef\@volume{0}

\def\pubyear#1{\gdef\@pubyear{#1}}
\gdef\@pubyear{\year}

\def\firstpage#1{\gdef\@firstpage{#1} \c@page=0 \global\advance\c@page by #1}
\gdef\@firstpage{1}

\newcount\@lastpage
\def\lastpage#1{\@lastpage=#1}
\def\setlastpage{\@ifundefined{r@lastpage}{}{\expandafter\@setlastp\r@lastpage}}
\def\@setlastp#1#2{\@lastpage=#2}
\@lastpage=1

\def\received#1{\gdef\@pubdate{(#1)}}
\gdef\@pubdate{\@date}


 
\def\subequation{\refstepcounter{equation}%
  \begingroup
  \edef\old@equation{\the\c@equation}%
  \edef\old@theequation{\theequation}%
  \setcounter{equation}{0}%
  \def\theequation{\old@theequation\alph{equation}}}

\def\endsubequation{%
  \setcounter{equation}{\old@equation}%
  \endgroup
  \global\@ignoretrue}



\clubpenalty=500
\widowpenalty=500

\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\theequation{\arabic{equation}}

\ps@headings  
\pagenumbering{arabic} 
\onecolumn             



\def\@expa{\gdef\@journal{Experimental Astronomy}}
\def\@celmech{\gdef\@journal{Celestial Mechanics and Dynamical Astronomy}
 \defaultcountry{The Netherlands}}
\def\@solar{\gdef\@journal{Solar Physics}}
\def\@space{\gdef\@journal{Space Science Reviews}}
\def\@boun{\gdef\@journal{Boundary-Layer Meteorology}}
\def\@emas{\gdef\@journal{Environmental Monitoring and Assessment}}

\def\@user{\gdef\@journal{User Modeling and User-Adapted Interaction}}

\def\@coat{\gdef\@journal{Machine Translation}}

\def\@jobp{\gdef\@journal{Journal of Biological Physics}}

\def\@jlli{\gdef\@journal{Journal of Logic, Language, and Information}}

\def\@engi{\gdef\@journal{Journal of Engineering Mathematics}}

% Added by Rob de Jeu juli '92

\def\@jgps{\gdef\@journal{Journal for General Philosophy of Science}}

\typeout{}

\endinput


