  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \typeout{}
  \typeout{Document Style option `vestnik.sty'}
  \typeout{}
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

  \usepackage{ifthen,latexsym}

  \normalsize 
  \setlength{\hoffset}{0pt} 
  \setlength{\voffset}{0pt} 
  \setlength{\evensidemargin}{0.12cm} 
  \setlength{\oddsidemargin}{-0.11cm} 
  \setlength{\topmargin}{-0.5 cm} 
  \setlength{\headheight}{13pt} 
  \setlength{\headsep}{2pc} 
  \setlength{\textheight}{236 mm} 
  \setlength{\textwidth}{161mm} 
  \setlength{\footskip}{2pc} 
                                
\parindent=7mm % 
\parskip=0mm
\leftskip=0mm
\rightskip=0mm

%\renewcommand{\baselinestretch}{0.85} 
  %
   \abovedisplayskip=12pt plus 3pt minus 3pt
  \belowdisplayskip=12pt plus 3pt minus 3pt
  \abovedisplayshortskip=0pt plus 3pt
  \belowdisplayshortskip=6pt plus 3pt
  % }
%\pagestyle{myheadings}
  \renewcommand{\@oddfoot}
   {\vbox  { \phantom{eee} \hrule \vskip 4 pt \hbox to \textwidth{\footnotesize{ \textbf {20??, vol.~?, \No~?  } } \hfil\thepage}}}%

 \renewcommand{\@evenfoot}
 {\vbox
 {\phantom{eee} \hrule \vskip 4 pt \hbox to \textwidth{\footnotesize{\thepage\hfil \textbf {Bulletin of the SUSU. Series \flqq Mathematical Modelling, Programming \& Computer Software\frqq}}} }}

  \renewcommand{\@oddhead}%
  {\raisebox{0pt}[\headheight][0pt]%
  {\vbox{ \hbox to \textwidth{\hfil \small { {Section}} \hfil} \vskip 3 pt \hrule}}%
  }%

  \renewcommand{\@evenhead}%
  {\raisebox{0pt}[\headheight][0pt]%
  {  \vbox{  \hbox to \textwidth{ \hfil \small { \textbf {\leftmark}}\hfil } \vskip 3 pt \hrule}}%
  }%
   \setcounter{totalnumber}{4}
  \setcounter{topnumber}{4}
  \setcounter{bottomnumber}{4}
  \renewcommand{\textfraction}{0.01}
  \renewcommand{\topfraction}{0.99}
  \renewcommand{\bottomfraction}{0.99}
  % }
  %
  \newcommand{\sectspacm}{\hspace*{-\medskipamount}}
  \newcommand{\sectspacp}{\hspace*{\medskipamount}}
  \renewcommand{\thesection}{\arabic{section}.\sectspacm}
  \renewcommand{\section}{\@startsection%
    {section}%
    {1}%
    {0mm}%
    {-\baselineskip}%
    {0.5\baselineskip}%
    {\normalfont\large\bf}}
  %
  \renewcommand{\thesubsection}{\thesection\sectspacp\arabic{subsection}.%
  \sectspacm}
  \renewcommand{\subsection}{\@startsection%
    {subsection}%
    {2}%
    {0mm}%
    {-\baselineskip}%
    {0.5\baselineskip}%
    {\normalfont\normalsize\bf}}
  %
  \renewcommand{\thesubsubsection}{\thesubsection\sectspacp%
  \arabic{subsubsection}.\sectspacm}
  \renewcommand{\subsubsection}{\@startsection%
    {subsubsection}%
    {3}%
    {0mm}%
    {-\baselineskip}%
    {0.5\baselineskip}%
    {\normalfont\normalsize\bf}}
  %
  \def\fnote#1#2{\insert\footins\bgroup
    \interlinepenalty\interfootnotelinepenalty
    \baselineskip=11pt
    {\footnotesize #2}\vskip 5truept\egroup}
  \newcommand{\ack}[1]%
    {\fnote{}{#1}}
  %
  \newcommand{\address}[1]%
    {\medskip\bigskip\noindent \small{#1}}

  \newsavebox{\tempbox}
  \newlength{\mycaptionwidth}
  \setlength{\mycaptionwidth}{\linewidth}
  %
  \newcounter{theocounter}
  \newcounter{lemcounter}
  \newcounter{remcounter}
  \newcounter{defcounter}
  \newcounter{examcounter}
  \newcounter{propcounter}
  \newcounter{corcounter}
  %
  \newenvironment{theorem}
  {\refstepcounter{theocounter}\par\addvspace{3mm}\noindent%
  {\bf Theorem \thetheocounter.\ }\begin{it}}{\end{it}\par\addvspace{3mm}}
  %
  \newenvironment{lemma}
  {\refstepcounter{lemcounter}\par\addvspace{3mm}\noindent
  {\bf Lemma \thelemcounter.\ }\begin{it}}{\end{it}\par\addvspace{3mm}}
  %
  \newenvironment{remark}
  {\refstepcounter{remcounter}\par\addvspace{3mm}\noindent
  {\bf Remark \theremcounter.\ }}{\par\addvspace{3mm}}%
  {\par\addvspace{3mm}}%
  %
  \newenvironment{definition}
  {\refstepcounter{defcounter}\par\addvspace{3mm}\noindent
  {\bf Definition \thedefcounter.\ }\begin{it}}{\end{it}\par\addvspace{3mm}}
  %
  \newenvironment{example}
  {\refstepcounter{examcounter}\par\addvspace{3mm}\noindent
  {\bf Example \theexamcounter.\ }}{\par\addvspace{3mm}}
  %
  \newenvironment{proposition}
  {\refstepcounter{propcounter}\par\addvspace{3mm}\noindent
  {\bf Proposition \thepropcounter.\ }\begin{it}}{\end{it}\par\addvspace{3mm}}
  %
  %
  \newenvironment{sequence}
  {\refstepcounter{propcounter}\par\addvspace{3mm}\noindent
  {\bf Sequence \thepropcounter.\ }\begin{it}}{\end{it}\par\addvspace{3mm}}
  %
  \newenvironment{corollary}
  {\refstepcounter{corcounter}\par\addvspace{3mm}\noindent%
  {\bf Corollary \thecorcounter.\ }\begin{it}}{\end{it}
  \par\addvspace{3mm}}
  %
  \setcounter{tocdepth}{0}
  %
  \renewcommand{\contentsname}{{\bfseries\LARGE ����������} \vspace*{8ex}}%
  %
  \newcommand{\toceintrag}{%
  \addcontentsline{toc}{chapter}{%
  \protect\noindent\protect {\@title}\\[0.5ex]%
  \protect\noindent\protect \textit{\@author}%
  \unhbox \voidb@x \cleaders \hbox%
   {$\mathsurround \z@ \mkern 3.5mu.\mkern 3.5mu$}\hfill \kern \z@%
  }%
  \addtocontents{toc}{\protect\\[2ex]}%
  }%
  %
  \def\mybreak{\\}%
  %
  \renewcommand{\maketitle}{
  \setcounter{footnote}{0}%
  \setcounter{section}{0}%
  \setcounter{equation}{0}%
  \setcounter{theocounter}{0}%
  \setcounter{lemcounter}{0}%
  \setcounter{remcounter}{0}%
  \setcounter{defcounter}{0}%
  \setcounter{examcounter}{0}%
  \setcounter{propcounter}{0}%
  \setcounter{corcounter}{0}%
  {\noindent \large \raggedright\textbf{\@title} \hfill\par\vskip 3pt}
  \medskip%
  {\noindent{ \raggedright \textbf {\textit{\@author}}} \hfill \par \vskip 3pt}%
  \smallskip%
  \def\mybreak{ }%
  \toceintrag%
  \def\mybreak{\\}
  }%
  \newenvironment{biblio}{%
                  \renewcommand{\refname}{References}%
                  \begin{thebibliography}{99}}%
                  {\end{thebibliography}}


\renewcommand{\@biblabel}[1]{#1.} 

  %
  %
  \newcommand{\R}{\mathbb{R}}
  \newcommand{\N}{\mathbb{N}}
  \newcommand{\Z}{\mathbb{Z}}
  \newcommand{\CP}{\mathbb{C}}
   \newcommand\Paragraph{\textsection}
 
  \@ifundefined{keywordsname}%
  {\def\keywordsname{�������� �����}}{\relax}%
  %
  \newcommand{\keywords}[1]{\typeout{\keywordsname}%
           \@beginparpenalty\@lowpenalty
           {\footnotesize\it\parindent 0pt\relax{%
           \noindent\it Keywords:~}#1}}%
  %
  \newcommand{\keywordsenglish}[1]{\typeout{\keywordsname}%
           \@beginparpenalty\@lowpenalty
           {\footnotesize\it\parindent 0pt\relax{%
           \noindent\it Keywords:~}#1}}%

  %
  %%%%%%%%%%%%%%%%%%%%%
  \newenvironment{summary}[1]{{\sf SUMMARY\\{\mbox{~~~~~~~}}}#1}{}
  %
 \def\abstract{\vskip 16pt
\begin{list}{}{
        \fontseries{m}
        \fontsize{10pt}{10}
        \selectfont
        \topsep=0pt
        \partopsep=0pt
        \parskip=0pt
        \itemsep=0pt
                \justify
               \setlength{\rightmargin}{1cm}
               \setlength{\leftmargin}{1cm}}

\item[]}
\def\endabstract{\end{list}\normalsize}

  %
  \if%
    \renewenvironment{abstract}{%
      \null\vfil
      \@beginparpenalty\@lowpenalty
           {\par\vfil\null}%
  \else
    \renewenvironment{abstract}{%
      \if@twocolumn
        \section*{\abstractname}%
      \else
        \small
        \quotation
      \fi}
      {\if@twocolumn\else\endquotation\fi}
  \fi


    \renewcommand\newblock{\hskip .11em plus .33em minus .07em}
    \sloppy\clubpenalty4000\widowpenalty4000
    \sfcode`\.=1000\relax

\abovecaptionskip=6pt
\belowcaptionskip=6pt
\renewcommand{\@makecaption}[2]{%
\vspace{\abovecaptionskip}%
\sbox{\@tempboxa}{{#1. #2}}
\ifdim \wd\@tempboxa >\hsize
{\textbf{\small#1}. #2\par}
\else
\global\@minipagefalse
\hbox to \hsize {\textbf{\small\hfil #1}. #2 \hfil}%
\fi
\vspace{\belowcaptionskip}}
%*************************************************

  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
