% ABSTRACT DOCUMENT STYLE -- Released 28 OCT 2002 for ApplMath03
%    ``Applied Mathematics and Scientific Computing'', 2003.
%    LaTeX 2e (compatibility mode) and LaTeX version 2.09
%
% Copyright (C) 1998, 2002 by Sanja and Sasa Singer
%
% Based on AMC99ABS.STY -- Released 28 OCT 1998 for ApplMath99
%    ``Applied Mathematics and Computation'', 1999.
%
% 1.1 Correction 25 JUN 1999 - limits for \int added
%                            - presentation added
% 1.2 Correction 15 JUL 1999 - \hvskip changed 4mm to 3mm
%                            - \hhvskip added
%                            - timetable definitions added, sign. definitions

\typeout{Document Style `applm05a' <7 Nov 2004>.}

\def\partname{Part}
\def\contentsname{Contents}
\def\listfigurename{List of Figures}
\def\listtablename{List of Tables}
\def\refname{References}
\def\indexname{Index}
\def\figurename{Figure}
\def\tablename{Table}
\def\abstractname{Abstract}

\def\@ptsize{0}
\@namedef{ds@11pt}{\def\@ptsize{1}}
\@namedef{ds@12pt}{\def\@ptsize{2}}

\def\ds@twoside{\@twosidetrue
           \@mparswitchtrue}

\def\ds@draft{\overfullrule 5\p@}

\newif\if@titlepage \@titlepagefalse
\def\ds@titlepage{\@titlepagetrue}

\def\ds@twocolumn{\@twocolumntrue}

\@options

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

\def\@normalsize{\@setsize\normalsize{14.5pt}\xiipt\@xiipt
\abovedisplayskip 12\p@ plus3\p@ minus7\p@
\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip  \z@ plus3\p@
\belowdisplayshortskip  6.5\p@ plus3.5\p@ minus3\p@
\let\@listi\@listI}

\def\small{\@setsize\small{13.6pt}\xipt\@xipt
\abovedisplayskip 11\p@ plus3\p@ minus6\p@
\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip  \z@ plus3\p@
\belowdisplayshortskip  6.5\p@ plus3.5\p@ minus3\p@
\def\@listi{\leftmargin\leftmargini
 \parsep 4.5\p@ plus2\p@ minus\p@ \itemsep \parsep
            \topsep 9\p@ plus3\p@ minus5\p@}}

\def\footnotesize{\@setsize\footnotesize{12pt}\xpt\@xpt
\abovedisplayskip 10\p@ plus2\p@ minus5\p@
\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip  \z@ plus3\p@
\belowdisplayshortskip  6\p@ plus3\p@ minus3\p@
\def\@listi{\leftmargin\leftmargini
\topsep 6\p@ plus2\p@ minus2\p@\parsep 3\p@ plus2\p@ minus\p@
\itemsep \parsep}}

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

\normalsize

\if@twoside
   \oddsidemargin 13.0pt
   \evensidemargin 13.0pt
   \marginparwidth 85pt
\else
   \oddsidemargin 13.0pt
   \evensidemargin 13.0pt
   \marginparwidth 68pt
\fi
\marginparsep 10pt

\topmargin 0pt

\headheight 10pt
\headsep 12pt
\topskip = 12pt

\footskip 30pt

% \textheight = 188mm
\textheight = 663.0pt       % advanced by \topskip = 188 mm
\textwidth 426.0pt

\columnsep 10pt
\columnseprule 0pt

\footnotesep 8.4pt

\skip\footins 10.8pt plus 4pt minus 2pt

\floatsep 14pt plus 2pt minus 4pt

\textfloatsep 20pt plus 2pt minus 4pt

\intextsep 14pt plus 4pt minus 4pt

\@maxsep 20pt

\dblfloatsep 14pt plus 2pt minus 4pt

\dbltextfloatsep 20pt plus 2pt minus 4pt

\@dblmaxsep 20pt

\@fptop 0pt plus 1fil

\@fpsep 10pt plus 2fil
\@fpbot 0pt plus 1fil

\@dblfptop 0pt plus 1fil

\@dblfpsep 10pt plus 2fil% Space between floats on float page.
\@dblfpbot 0pt plus 1fil

\marginparpush 7pt

\parskip 3pt plus 1pt

\parindent 2.5em

\partopsep 3pt plus 2pt minus 2pt

\@lowpenalty   51
\@medpenalty  151
\@highpenalty 301

\@beginparpenalty -\@lowpenalty

\@endparpenalty   -\@lowpenalty

\@itempenalty     -\@lowpenalty

\def\section{\@startsection {section}{1}{\z@}{-2.5ex plus-0.5ex minus
    -.2ex}{1.5ex plus.1ex}{\reset@font\normalsize\bf}}
\def\subsection{\@startsection{subsection}{2}{\z@}{-2.25ex plus-0.5ex
    minus-.1ex}{1.0ex plus.1ex}{\reset@font\normalsize\bf}}
\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-2.25ex plus
    -0.5ex minus-.1ex}{1.0ex plus.1ex}{\reset@font\normalsize\bf}}
\def\paragraph{\@startsection
     {paragraph}{4}{\z@}{2.25ex plus1ex minus.1ex}{-1em}{\reset@font
     \normalsize\bf}}
\def\subparagraph{\@startsection
     {subparagraph}{4}{\parindent}{2.25ex plus1ex minus
     .1ex}{-1em}{\reset@font\normalsize\bf}}

\setcounter{secnumdepth}{3}

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

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

\leftmargin\leftmargini
\labelsep .5em
\labelwidth\leftmargini\advance\labelwidth-\labelsep

%\def\@listI{\leftmargin\leftmargini \parsep 5\p@ plus2.5\p@ minus\p@
%\topsep 10\p@ plus4\p@ minus6\p@
%\itemsep 5\p@ plus2.5\p@ minus\p@}
\def\@listI{\leftmargin\leftmargini \parsep 5\p@ plus2.5\p@ minus\p@
\topsep 5\p@ plus2\p@ minus3\p@
\itemsep 2.5\p@ plus\p@ minus\p@}

\let\@listi\@listI
\@listi

%\def\@listii{\leftmargin\leftmarginii
%   \labelwidth\leftmarginii\advance\labelwidth-\labelsep
%   \topsep 5\p@ plus2.5\p@ minus\p@
%   \parsep 2.5\p@ plus\p@ minus\p@
%   \itemsep \parsep}
\def\@listii{\leftmargin\leftmarginii
   \labelwidth\leftmarginii\advance\labelwidth-\labelsep
   \topsep 2.5\p@ plus1.5\p@ minus\p@
   \parsep 1.5\p@ plus\p@ minus\p@
   \itemsep \parsep}

%\def\@listiii{\leftmargin\leftmarginiii
%    \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
%    \topsep 2.5\p@ plus\p@ minus\p@
%    \parsep \z@ \partopsep \p@ plus\z@ minus\p@
%    \itemsep \topsep}
\def\@listiii{\leftmargin\leftmarginiii
    \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
    \topsep 1.5\p@ plus\p@ minus\p@
    \parsep \z@ \partopsep \p@ plus\z@ minus\p@
    \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{$\m@th\bullet$}
\def\labelitemii{\bf --}
\def\labelitemiii{$\m@th\ast$}
\def\labelitemiv{$\m@th\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 \z@ plus\p@}\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}}

\def\titlepage{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn
     \else \newpage \fi \thispagestyle{empty}\c@page\z@}

\def\endtitlepage{\if@restonecol\twocolumn \else \newpage \fi}

\arraycolsep 5pt

\tabcolsep 6pt

\arrayrulewidth .4pt
\doublerulesep 2pt

\tabbingsep \labelsep

\skip\@mpfootins = \skip\footins

\fboxsep = 3pt

\fboxrule = .4pt

\newcounter{part}
\newcounter {section}
\newcounter {subsection}[section]
\newcounter {subsubsection}[subsection]
\newcounter {paragraph}[subsubsection]
\newcounter {subparagraph}[paragraph]

\def\thepart          {\Roman{part}}
\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\part{\par
   \addvspace{4ex}
   \@afterindentfalse
   \secdef\@part\@spart}

\def\@part[#1]#2{\ifnum \c@secnumdepth >\m@ne
        \refstepcounter{part}
        \addcontentsline{toc}{part}{\thepart
        \hspace{1em}#1}\else
      \addcontentsline{toc}{part}{#1}\fi
   {\parindent \z@ \raggedright
    \interlinepenalty \@M
    \ifnum \c@secnumdepth >\m@ne
      \Large \bf \partname~\thepart%   THEN Print '\partname' and
      \par\nobreak
    \fi
    \huge \bf
    #2%
    \markboth{}{}\par
   }\nobreak
   \vskip 3ex
   \@afterheading
  }

\def\@spart#1{{\parindent \z@ \raggedright
    \interlinepenalty \@M
    \huge \bf
    #1\par}
    \nobreak
    \vskip 3ex
    \@afterheading
  }

\def\@pnumwidth{1.55em}
\def\@tocrmarg {2.55em}
\def\@dotsep{4.5}
\setcounter{tocdepth}{3}

\def\tableofcontents{\section*{\contentsname
        \@mkboth{\uppercase{\contentsname}}{\uppercase{\contentsname}}}%
  \@starttoc{toc}}

\def\l@part#1#2{\addpenalty{\@secpenalty}%
   \addvspace{2.25em plus\p@}%
   \begingroup
   \@tempdima 3em
     \parindent \z@ \rightskip \@pnumwidth
     \parfillskip -\@pnumwidth
     {\large \bf
     \leavevmode
     #1\hfil \hbox to\@pnumwidth{\hss #2}}\par
     \nobreak
   \endgroup}

\def\l@section#1#2{\addpenalty{\@secpenalty}% good place for page break
   \addvspace{1.0em plus\p@}%
   \@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
   \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{\section*{\listfigurename
    \@mkboth{\uppercase{\listfigurename}}{\uppercase{\listfigurename}}}%
  \@starttoc{lof}}

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

\def\listoftables{\section*{\listtablename\@mkboth
   {\uppercase{\listtablename}}{\uppercase{\listtablename}}}%
  \@starttoc{lot}}
\let\l@table\l@figure

\def\thebibliography#1{\section*{\refname\@mkboth
  {\uppercase{\refname}}{\uppercase{\refname}}}
  \list
  {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth
    \advance\leftmargin\labelsep \advance\leftmargin 16pt \itemindent-16pt
    \usecounter{enumi} \parsep 0pt}
    \def\newblock{\hskip .11em plus .33em minus .07em}%
    \sloppy\clubpenalty4000\widowpenalty4000
    \sfcode`\.=1000\relax\footnotesize}

\def\endthebibliography{%
  \def\@noitemerr{\@warning{Empty `thebibliography' environment}}%
  \endlist}

\newif\if@restonecol

\def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi
\columnseprule \z@
\columnsep 35\p@\twocolumn[\section*{\indexname}]%
    \@mkboth{\uppercase{\indexname}}{\uppercase{\indexname}}%
    \thispagestyle{headings}\parindent\z@
    \parskip\z@ plus.3\p@\relax\let\item\@idxitem}

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

\def\subitem{\par\hangindent 40\p@ \hspace*{20\p@}}

\def\subsubitem{\par\hangindent 40\p@ \hspace*{30\p@}}

\def\endtheindex{\if@restonecol\onecolumn\else\clearpage\fi}

\def\indexspace{\par \vskip 10\p@ plus5\p@ minus3\p@\relax}

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

\long\def\@makefntext#1{\parindent 1em\noindent
            \hbox to1.8em{\hss$\m@th^{\@thefnmark}$}#1}

\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 10\p@
   \setbox\@tempboxa\hbox{#1: #2}%
   \ifdim \wd\@tempboxa >\hsize
       #1: #2\par
     \else
       \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
   \fi}

\newcounter{figure}
\def\thefigure{\@arabic\c@figure}

\def\fps@figure{tbp}
\def\ftype@figure{1}
\def\ext@figure{lof}
\def\fnum@figure{\figurename~\thefigure}
\def\figure{\@float{figure}}
\let\endfigure\end@float
\@namedef{figure*}{\@dblfloat{figure}}
\@namedef{endfigure*}{\end@dblfloat}

\newcounter{table}
\def\thetable{\@arabic\c@table}

\def\fps@table{tbp}
\def\ftype@table{2}
\def\ext@table{lot}
\def\fnum@table{\tablename~\thetable}
\def\table{\@float{table}}
\let\endtable\end@float
\@namedef{table*}{\@dblfloat{table}}
\@namedef{endtable*}{\end@dblfloat}

\def\maketitle{\par
 \begingroup
   \def\thefootnote{\fnsymbol{footnote}}%
   \def\@makefnmark{\hbox
       to\z@{$\m@th^{\@thefnmark}$\hss}}%
   \if@twocolumn
     \twocolumn[\@maketitle]%
     \else \newpage
     \global\@topnum\z@
     \@maketitle \fi\thispagestyle{headings}\@thanks
 \endgroup
 \setcounter{footnote}{0}%
 \let\maketitle\relax
 \let\@maketitle\relax
 \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}

\def\@maketitle{\newpage
 \null
 \vskip -1em
 \begin{center}%
  {\large\bf \@title \par}%
  \vskip 1.0em
  {\normalsize
   \lineskip .3em
   \begin{tabular}[t]{c}\@author
   \end{tabular}\par}%
   \normalsize
 \end{center}%
 \par
 \vskip 0.5em}

\def\abstract{\if@twocolumn
\section*{\abstractname}%
\else
\noindent%
{\bf \abstractname.\hspace{0.5ex}}%
\fi}

\def\endabstract{}

\def\acknowledgement{\if@twocolumn
\section*{Acknowledgement.}%
\else% \small
\noindent%
{\bf Acknowledgement.\hspace{0.5ex}}%
\fi}

\def\endacknowledgement{}

\mark{{}{}}

\if@twoside
 \def\ps@headings{\let\@mkboth\markboth
  \def\@oddfoot{}\def\@evenfoot{}%       No feet.
  \def\@evenhead{\footnotesize\rm\thepage\hfil\null}%        Left heading.
  \def\@oddhead{\null\hfil\footnotesize\rm\thepage}% Right heading.
%  \def\@evenhead{\vbox{
%                  \hbox to 131mm{\rm\thepage\ \hfil\ \sl\headauthor}
%                  \hbox{\rule[-4.5pt]{131mm}{0.4pt}}}}
%  \def\@oddhead{\vbox{
%                  \hbox to 131mm{\sl\shorttitle\ \hfil\ \rm\thepage}
%                  \hbox{\rule[-4.5pt]{131mm}{0.4pt}}}}
%  \def\sectionmark##1{\markboth{{\ifnum\c@secnumdepth>\z@
%  \title\ \fi ##1}}{
%		{\ifnum\c@secnumdepth>\z@ \author\ \fi ##1}}}}
  \def\sectionmark##1{\markboth {\uppercase{\ifnum \c@secnumdepth >\z@
    \thesection\hskip 1em\relax \fi ##1}}{}}%
%  \def\subsectionmark##1{\markright {\ifnum \c@secnumdepth >\@ne
%          \thesubsection\hskip 1em\relax \fi ##1}}}
  \def\subsectionmark##1{\markright {\ifnum \c@secnumdepth >\@ne
          \thesubsection\hskip 1em\relax \fi ##1}}}
\else
 \def\ps@headings{\let\@mkboth\markboth
  \def\@oddfoot{}\def\@evenfoot{}%     No feet.
  \def\@oddhead{{\sl \rightmark}\hfil \rm\thepage}% Heading.
  \def\sectionmark##1{\markright {\uppercase{\ifnum \c@secnumdepth >\z@
    \thesection\hskip 1em\relax \fi ##1}}}}
\fi

\def\ps@myheadings{\let\@mkboth\@gobbletwo
 \def\@oddhead{{\sl\rightmark}\hfil \rm\thepage}%
 \def\@oddfoot{}\def\@evenhead{\rm \thepage\hfil\sl\leftmark}%
 \def\@evenfoot{}\def\sectionmark##1{}\def\subsectionmark##1{}}

\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}

\ps@plain
\pagenumbering{arabic}
\if@twoside\else\raggedbottom\fi
\if@twocolumn
 \@@input twocolum.sty\relax
\else
 \onecolumn
\fi

\if@titlepage
  \@@input titlepag.sty\relax
\fi
%
%       Informations about authors.
%
\newdimen\lskp
\lskp=10mm
\newdimen\vskp
\vskp=4mm
\newdimen\hvskp
\hvskp=3mm
\newdimen\hhvskp
\hhvskp=1.5mm
\newdimen\presskp
\presskp=0mm
\def\abstitle#1{\def\abstit{#1}%
	\ifx\abstit\empty
	\errmessage{Please put title in \noexpand \abstitle command}
	\else
	\null
	\vskip\hvskp
	\begin{center}{\large\bf\abstit}\end{center}\fi}
\def\absauthor#1{\def\absaut{#1}%
	\ifx\absaut\empty
	\errmessage{Please put author's names in \noexpand
	\absauthor command}
	\else
	\vskip\hhvskp
	\begin{center}{\normalsize\rm\absaut}\end{center}\vskip\hhvskp\fi}
\def\authoraddress#1#2{\vskip\vskp\vbox{\hbox{\vbox{\def\authname{#1}%
	\def\authaddr{#2}\ifx\authname\empty
	\errmessage{Please put author's name in \noexpand
	\authoraddress command}
	\else
	\ifx\authaddr\empty
	\errmessage{Please put author's address in \noexpand
	\authoraddress command}
	\else
	\noindent\hangindent=\lskp
	\hangafter=1
	\normalsize\strut {\sc \authname}, {\rm \authaddr}\strut}}}\fi\fi}
\def\email#1{\def\emailtext{#1}\ifx\emailtext\empty\else
	\hbox{\kern\lskp\vbox{\noindent
	\normalsize{\rm e--mail:} {\tt \emailtext}}}\fi}
\def\homepage#1{\def\homepagetext{#1}\ifx\homepagetext\empty\else
	\hbox{\kern\lskp\vbox{\noindent
	\normalsize\strut {\tt http://\homepagetext}\strut}}\fi}
\def\fax#1{\def\faxnumber{#1}\ifx\faxnumber\empty\else
	\hbox{\kern\lskp\vbox{\noindent
	\normalsize\strut {\rm fax: #1}\strut}}\fi}
\def\presentation#1{%
	\null
	\vskip\presskp
	\noindent{\rm #1}}
	%\vskip\presskp}
\def\vrl{\vrule width 0.6pt}
\def\hrl{\hrule height 0.6pt}
\def\vvrl{\vrule width 0pt\hskip 0.6pt}
\def\hhrl{\hrule height 0pt\vskip 0.6pt}
\def\gener#1{\vbox to 80pt{\hrl\vfil\hbox{\kern 5pt\vbox{\hsize 165pt\noindent
	\footnotesize\strut #1\strut}\kern 5pt}\vfil}\vrl}
\def\tidate#1{\vrl\vbox to 80pt{\hrl\vfil\hbox to 65pt{\hfill%
	\footnotesize #1\hfill}\vfil}\vrl}
\def\generlast#1{\vbox to 80pt{\hrl\vfil\hbox{\kern 5pt\vbox{%
	\hsize 165pt\noindent
	\footnotesize\strut #1\strut}\kern 5pt}\vfil\hrl}\vrl}
\def\tidatelast#1{\vrl\vbox to 80pt{\hrl\vfil\hbox to 65pt{\hfill%
	\footnotesize #1\hfill}\vfil\hrl}\vrl}
\def\timetable#1#2{\nointerlineskip\hbox{\tidate{#1}\gener{#2}}}
\def\timetablelast#1#2{\nointerlineskip\hbox{\tidatelast{#1}\generlast{#2}}}
\def\timedouble#1#2#3{\nointerlineskip\hbox{\tidate{#1}\gener{#2}\gener{#3}}}
\def\timedoublelast#1#2#3{\nointerlineskip\hbox{\tidatelast{#1}\generlast{#2}%
\generlast{#3}}}
%
\def\chgener#1{\vbox to 30pt{\hrl\vfil\hbox{\kern 5pt\vbox{\hsize 165pt%
	\noindent\footnotesize\strut #1\strut}\kern 5pt}\vfil}\vrl}
\def\chdate#1{\vrl\vbox to 30pt{\hrl\vfil\hbox to 65pt{\hfill%
	\footnotesize #1\hfill}\vfil}\vrl}
\def\timechair#1#2{\nointerlineskip\hbox{\chdate{#1}\chgener{#2}}}
\def\timechairdouble#1#2#3{\nointerlineskip\hbox{\chdate{#1}\chgener{#2}%
\chgener{#3}}}
%
%       New environments
%
  \newtheorem {definition} {Definition} 
  \newtheorem {remark}     {Remark}   
  \newtheorem {example}    {Example}    
  \newtheorem {theorem}    {Theorem}     
  \newtheorem {lemma}      {Lemma}       
  \newtheorem {corollary}  {Corollary}    
  \newtheorem {proposition}{Proposition}
  \newtheorem {algorithm}  {Algorithm}  
%
%       Add a dot after ordinal numbers for theorem-like environments.
%
  \renewcommand {\thedefinition}  {\arabic{definition}.}
  \renewcommand {\theremark}      {\arabic{remark}.}
  \renewcommand {\theexample}     {\arabic{example}.}
  \renewcommand {\thetheorem}     {\arabic{theorem}.}
  \renewcommand {\thelemma}       {\arabic{lemma}.}
  \renewcommand {\thecorollary}   {\arabic{corollary}.}
  \renewcommand {\theproposition} {\arabic{proposition}.}
  \renewcommand {\thealgorithm}   {\arabic{algorithm}.}
%
  \renewcommand {\theequation}    {\arabic{equation}}
%
\newcommand {\proof} {\hbox{\bf Proof.\ }}
\newcommand {\qed} {\null \hfill \rule{2mm}{2mm}}
%
%       New mathops borrowed from SIAM
%
\def\const{\mathop{\rm const}\nolimits}
\def\diag{\mathop{\rm diag}\nolimits}
\def\grad{\mathop{\rm grad}\nolimits}
\def\Range{\mathop{\rm Range}\nolimits}
\def\rank{\mathop{\rm rank}\nolimits}
\def\supp{\mathop{\rm supp}\nolimits}
%
\def\divg{\mathop{\rm div}\nolimits}
\def\rot{\mathop{\rm rot}\nolimits}
\def\card{\mathop{\rm card}\nolimits}
\def\fl{\mathop{\rm f{}l}\nolimits}
\def\tr{\mathop{\rm tr}\nolimits}
\def\sign{\mathop{\rm sign}\nolimits}
%
\def\Real{\mathop{\rm Re}\nolimits}
\def\Imag{\mathop{\rm Im}\nolimits}
%
\def\int {\intop\limits}
%
%       Set types 
%
\def\N{{\bf N}}
\def\Z{{\bf Z}}
\def\Q{{\bf Q}}
\def\R{{\bf R}}
\def\C{{\bf C}}
%
%       Operators 
%
\def\gtlt{\;{\rlap{\raise0.25em\hbox{$>$}}\lower0.25em\hbox{$<$}}\;}
\def\ltgt{\;{\rlap{\raise0.25em\hbox{$<$}}\lower0.25em\hbox{$>$}}\;}
%
\def\bfdiv{\nonscript\mskip-\medmuskip\mkern5mu
  \mathbin{\bf div}\penalty900\mkern5mu\nonscript\mskip-\medmuskip}
\def\bfmod{\nonscript\mskip-\medmuskip\mkern5mu
  \mathbin{\bf mod}\penalty900\mkern5mu\nonscript\mskip-\medmuskip}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  DJ.TEX  -- Croatian letters dj and Dj
%     for Plain TeX, LaTeX version 2.09 (without NFSS)
%     and LaTeX 2e in Compatibility mode.
%     (Note: NFSS 1 not supported.)
%
%  Copyright (C) SingMath 1998.
%
%  Version 1.0,  30.10.1998.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  CM fonts
%     HR - znakovi (dj i Dj)    --  Ver 2.01 ,  04.10.1989.
%     HR - matematicki simboli  --  Ver 2.2  ,  09.03.1990.
%
%  OPREZ: izmedju \itdj, l treba \kern 0.05em !!!
%
% Lowercase dj.
%
\def\rmdj {d\llap{\raise 1.22ex\hbox
  {\vrule height 0.09ex width 0.315em}\kern 0.04em}}
\def\sldj {d\llap{\raise 1.22ex\hbox
  {\vrule height 0.09ex width 0.265em}}\rlap{\raise 1.22ex\hbox
  {\vrule height 0.09ex width 0.05em}}}
\def\itdj {d\llap{\raise 1.22ex\hbox
  {\vrule height 0.09ex width 0.2em}}\rlap{\raise 1.22ex\hbox
  {\vrule height 0.09ex width 0.06em}}}
\def\bfdj {d\llap{\raise 1.16ex\hbox
  {\vrule height 0.126ex width 0.308em}\kern 0.04em}}
\def\ttdj {\rlap{\kern 0.17em\raise 1.1ex\hbox
  {\vrule height 0.09ex width 0.295em}}d}
\def\scdj {\rlap{\kern 0.04em\raise 0.57ex\hbox
  {\vrule height 0.09ex width 0.20em}}d}
\def\sfdj {d\llap{\raise 1.22ex\hbox
  {\vrule height 0.10ex width 0.3em}\kern 0.02em}}
%
% Uppercase Dj.
%
\def\rmDj {\rlap{\kern 0.05em\raise 0.76ex\hbox
  {\vrule height 0.10ex width 0.28em}}D}
\def\slDj {\rlap{\kern 0.1em\raise 0.76ex\hbox
  {\vrule height 0.1ex width 0.28em}}D}
\def\itDj {\rlap{\kern 0.145em\raise 0.76ex\hbox
  {\vrule height 0.1ex width 0.274em}}D}
\def\bfDj {\rlap{\kern 0.044em\raise 0.72ex\hbox
  {\vrule height 0.126ex width 0.287em}}D}
\def\ttDj {\rlap{\kern 0.02em\raise 0.67ex\hbox
  {\vrule height 0.105ex width 0.20em}}D}
\def\scDj {\rlap{\kern 0.08em\raise 0.73ex\hbox
  {\vrule height 0.12ex width 0.24em}}D}
\def\sfDj {\rlap{\kern 0.02em\raise 0.727ex\hbox
  {\vrule height 0.126ex width 0.26em}}D}
%
% Test for NFSS.
%   if NFSS undefined then
%     we assume Plain TeX or LaTeX 2.09 (without NFSS)
%   else
%     assume LaTeX2e with NFSS 2 (this will complain about NFSS 1)
%
\ifx\selectfont\undefined
  \def\dj{\ifcase\fam \rmdj \or \or \or
          \or \itdj \or \sldj \or \bfdj \or \ttdj \or \sfdj \or \scdj
          \else \rmdj \fi}%
  \def\Dj{\ifcase\fam \rmDj \or \or \or
          \or \itDj \or \slDj \or \bfDj \or \ttDj \or \sfDj \or \scDj
          \else \rmDj \fi}%
\else
\NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX)
[1997/12/01]%             and LaTeX2e date must December 1997 or later.
%
  \def\dj{\ifcase\fam \rmdj \or \or \or
          \or \bfdj \or \sfdj \or \ttdj \or \itdj \or \scdj \or \sldj
          \else \rmdj \fi}%
  \def\Dj{\ifcase\fam \rmDj \or \or \or
          \or \bfDj \or \sfDj \or \ttDj \or \itDj \or \scDj \or \slDj
          \else \rmDj \fi}%
\fi
%
\endinput
