\headsep 15pt
\textheight 21cm
\textwidth  14.5cm
\oddsidemargin=0cm
\evensidemargin=0cm

\pagestyle{myheadings}
\markboth{DAY on DIFFRACTION'98}{DAY on DIFFRACTION'98}

\renewcommand{\thefootnote}{\fnsymbol{footnote}}
\renewcommand{\dag}{}

\renewcommand{\contentsname}{\centerline{\rule[0pt]{0cm}{1cm}\textbf
{\sc CONTENTS}\footnotemark[2]}}

\renewcommand\section{\@startsection {section}{4}{\z@}%
                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
                                   {2.3ex \@plus.2ex}%
                                   {\normalfont\scshape}}
\renewcommand\subsection{\@startsection{subsection}{5}{\z@}%
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
                                     {1.5ex \@plus .2ex}%
                                     {\normalfont\itshape}}


\newcommand{\nazv}{}
\newcommand{\email}{}
\newcommand{\avtor}{}
\newcommand{\soavtor}{}
\newcounter{argW}
\newcounter{argN}
\newlength{\titlelength}

\renewcommand{\refname}{\rm\normalsize\textsc{References}}

\renewcommand{\title}[1]{%
\setlength{\titlelength}{0.9\textwidth}\setcounter{argW}{\titlelength}
\settowidth{\titlelength}{\large\bf #1}\setcounter{argN}{\titlelength}
\divide \value{argN} \value{argW}\addtocounter{argN}{1}
\setcounter{argW}{\titlelength}\divide \value{argW} \value{argN}
%
\centerline{\parbox{1.1\value{argW}}{%
\begin{center}{\large\bf #1}\end{center}}}%
             \renewcommand{\nazv}{#1}}

\renewcommand{\author}[3]{\renewcommand{\avtor}{#1}\settowidth{\titlelength}{#3}
\noindent
\underline{#1}\\[1.3ex]
\parbox{0.9\textwidth}{#2\ifdim\titlelength>0.5cm\\e-mail: \sc #3\fi}}

\newcommand{\coauthor}[3]{\renewcommand{\soavtor}{~ #1}\settowidth{\titlelength}{#3}
\protect\newline\noindent
{\rule[3.5ex]{0pt}{1pt}and \underline{#1}\\[1.3ex]}
\parbox{0.9\textwidth}{#2\ifdim\titlelength>0.5cm\\e-mail: \sc #3\fi}}

\newcommand{\cont}{\vspace*{1.7ex}
\addcontentsline{toc}{subsection}{\protect\rule{0cm}{4ex}\avtor\soavtor\protect\newline\nazv}
\renewcommand{\soavtor}{}  }

\renewcommand{\abstractname}{\vspace*{-0.5cm}}


