%Content-Type: text/plain; charset=us-ascii;
% name="panm.cls"
%Content-Transfer-Encoding: 7bit
%Content-Disposition: inline;
% filename="panm.cls"

\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{panm17}
\LoadClass[12pt,a4paper,twoside]{article}
\RequirePackage{a4}


%    \oddsidemargin -10 pt      %   Left margin on odd-numbered pages.
%    \evensidemargin 10 pt      %   Left margin on even-numbered pages.
%\advance\oddsidemargin5mm
%\advance\evensidemargin5mm
    \marginparwidth 1 in       %   Width of marginal notes.
%    \oddsidemargin 0 in      %   Note that \oddsidemargin = \evensidemargin
%    \evensidemargin 0 in
\oddsidemargin 3.5mm
\evensidemargin\oddsidemargin
    \marginparwidth 0.75 in

\textwidth151mm

\renewcommand\section{\@startsection {section}{1}{\z@}%
                                   {3ex \@plus 1ex \@minus .2ex}%
                                   {.8ex \@plus.2ex}%
                                   {\normalfont\normalsize\bfseries}}%
\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
                                     {2ex\@plus .5ex \@minus .2ex}%
                                     {.5ex \@plus .2ex}%
                                     {\normalfont\normalsize\bfseries}}%
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
                                     {1.5ex\@plus .5ex \@minus .2ex}%
                                     {.5ex \@plus .2ex}%
                                     {\normalfont\normalsize\bfseries}}%
\def\@seccntformat#1{\csname the#1\endcsname.\ }%

  \renewenvironment{abstract}{%
	\vspace{-1.5em}
        \small
	\fontsize\@xpt{12}\selectfont %% zmensi pismo
        \begin{center}%
          {\bfseries \abstractname\vspace{-.5em}\vspace{\z@}}%
        \end{center}%
        \quotation
      }{\endquotation}

\def\@maketitle{%
  \newpage
  \begin{flushright}%
  {  \scriptsize
     {\it Programs and Algorithms of Numerical Matematics~17} \\
     J.~Chleboun, P.~P{\v r}ikryl, K.~Segeth, J.~{\v S}{\'\i}stek, T.~Vejchodsk{\' y} (Eds.) \\
     Institute of Mathematics AS CR, Prague 2015 \\
  }
  \end{flushright}%
  \vskip 10mm%
  \begin{center}%
    {\bfseries\expandafter\uppercase\expandafter{\@title} \par}%
    \vskip 1.5em%
    \@author
  \end{center}%
  \par
  \vskip 1.5em
}





% konec
