\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{rnthesis}
              [2004/04/12 v0.2
 Robert Novotny 'Thesis' class]
\newcommand\@ptsize{}
\newif\if@restonecol
\newif\if@titlepage
\@titlepagetrue
\newif\if@openright
\if@compatibility\else
\DeclareOption{a4paper}
   {\setlength\paperheight {297mm}%
    \setlength\paperwidth  {210mm}}
\fi
\if@compatibility
  \renewcommand\@ptsize{0}
\else
\DeclareOption{12pt}{\renewcommand\@ptsize{2}}
\fi
\if@compatibility\else
\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
\fi
\DeclareOption{twoside}{\@twosidetrue  \@mparswitchtrue}
\DeclareOption{draft}{\setlength\overfullrule{5pt}}
\if@compatibility\else
\DeclareOption{final}{\setlength\overfullrule{0pt}}
\fi
\if@compatibility\else
%
\newif\if@conteqnno
\@conteqnnofalse
\DeclareOption{conteqnno}{\@conteqnnotrue}
%
\fi
\if@compatibility
\else
\DeclareOption{openright}{\@openrighttrue}
\DeclareOption{openany}{\@openrightfalse}
\fi
\if@compatibility\else
\DeclareOption{onecolumn}{\@twocolumnfalse}
\fi
\DeclareOption{leqno}{\input{leqno.clo}}
\DeclareOption{fleqn}{\input{fleqn.clo}}
\DeclareOption{openbib}{%
  \AtEndOfPackage{%
   \renewcommand\@openbib@code{%
      \advance\leftmargin\bibindent
      \itemindent -\bibindent
      \listparindent \itemindent
      \parsep \z@
      }%
   \renewcommand\newblock{\par}}%
}
%
\newif\if@thesismargins
\@thesismarginsfalse
\DeclareOption{thesismargins}{\@thesismarginstrue}
%
\newif\if@thesislinespacing
\@thesislinespacingfalse
\DeclareOption{thesislinespacing}{\@thesislinespacingtrue}
%
\newif\if@thesischapterstyle
\@thesischapterstylefalse
\DeclareOption{thesischapterstyle}{\@thesischapterstyletrue}
%
\ExecuteOptions{a4paper,12pt,oneside,onecolumn,final,openany}
\ProcessOptions
\input{size1\@ptsize.clo}
\setlength\lineskip{1\p@}
\setlength\normallineskip{1\p@}
\renewcommand\baselinestretch{}
\setlength\parskip{0\p@ \@plus \p@}
\@lowpenalty   51
\@medpenalty  151
\@highpenalty 301
\setcounter{topnumber}{2}
\renewcommand\topfraction{.7}
\setcounter{bottomnumber}{1}
\renewcommand\bottomfraction{.3}
\setcounter{totalnumber}{3}
\renewcommand\textfraction{.2}
\renewcommand\floatpagefraction{.5}
\setcounter{dbltopnumber}{2}
\renewcommand\dbltopfraction{.7}
\renewcommand\dblfloatpagefraction{.5}
\if@thesismargins
  \setlength{\hoffset}{-1in}
  \setlength{\voffset}{-1in}
  \setlength{\evensidemargin}{3.4cm} %.1mm pre \marginparsep
  \setlength{\oddsidemargin}{3.4cm} %.1mm pre \marginparsep
  \setlength{\textwidth}{15cm}%21cm - 2.5cm - 3.4cm
  \setlength{\topmargin}{1cm}
  \setlength{\textheight}{24cm}
\fi
\if@thesislinespacing
  \def\baselinestretch{1.4}
\fi

\if@twoside
  \def\ps@headings{%
      \let\@oddfoot\@empty\let\@evenfoot\@empty
      \def\@evenhead{\thepage\hfil\slshape\leftmark}%
      \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
      \let\@mkboth\markboth
    \def\chaptermark##1{%
      \markboth {\MakeUppercase{%
        \ifnum \c@secnumdepth >\m@ne
            \@chapapp\ \thechapter. \ %
        \fi
        ##1}}{}}%
    \def\sectionmark##1{%
      \markright {\MakeUppercase{%
        \ifnum \c@secnumdepth >\z@
          \thesection. \ %
        \fi
        ##1}}}}
\else
  \def\ps@headings{%
    \let\@oddfoot\@empty
    \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
    \let\@mkboth\markboth
    \def\chaptermark##1{%
      \markright {\MakeUppercase{%
        \ifnum \c@secnumdepth >\m@ne
            \@chapapp\ \thechapter. \ %
        \fi
        ##1}}}}
\fi

%--- define new \ifpdf for pdfTeX
\newif\ifpdf
\ifx\pdfoutput\undefined
  \pdffalse % nie sme v pdfLaTeXu
\else
  \pdfoutput=1 % sme v PDFLaTeX
  \pdftrue
\fi

\ifpdf
  \RequirePackage[pdftex]{graphicx}
  \DeclareGraphicsRule{*}{eps}{*}{}
\else
  \RequirePackage[xdvi]{graphicx}
\fi

\def\@ustav{�stav informatiky}
\newcommand{\ustav}[1]{\def\@ustav{#1}}

%podakovanie
\def\@podakovanie{\@latex@error{Neboli zadane udaje pre \noexpand\podakovanie}\@ehc} 
\newcommand{\podakovanie}[1]{\def\@podakovanie{#1}}

%vyhlasenie
\long\def\@vyhlasenie{
Vyhlasujem, �e som t�to diplomov� pr�cu
vypracoval samostatne, na z�klade vedomost�
z�skan�ch �t�diom a s pomocou uvedenej literat�ry.
} 
\newcommand{\vyhlasenie}[1]{\def\@vyhlasenie{#1}}

%-------------\custom maketitle
\newcommand\m@ketitle{%
\begin{titlepage}
  \newpage
  \null
  \vspace*{0mm}
  \begin{center}
  {\large \sffamily 
  Pr�rodovedeck� fakulta Univerzity Pavla Jozefa �af�rika v Ko�iciach
  }
  \par
  \vspace*{8cm}
  %{\Large \sffamily #1}

  \vspace*{1cm}
  {\Huge \sffamily \bfseries DIPLOMOV� PR�CA\\[0.2cm]}
  \vfill
  \end{center}
  \vfill

  {\sffamily \bfseries 2004 \hfill Franti�ek SUDZINA}
  \vspace*{1cm}
\end{titlepage} 
\newpage
\begin{titlepage}
  \null
  \vspace*{0mm}
  \begin{center}
  {\large \sffamily 
  Pr�rodovedeck� fakulta Univerzity Pavla Jozefa �af�rika v Ko�iciach\\
  �stav matematick�ch vied  
  }
  \par
  \vspace*{8cm}
  %{\Large \sffamily #1}

  \vspace*{1cm}
  {\Huge \sffamily \bfseries DEA s nepresn�mi d�tami\\[0.4cm]}
  
  {\large \sffamily \bfseries DIPLOMOV� PR�CA\\[0.2cm]}
  \vfill
  \end{center}
  \vfill

  {\sffamily \bfseries Ko�ice 2004 \hfill Franti�ek SUDZINA}
  \vspace*{1cm}
\end{titlepage}
%
\begin{titlepage}
  \newpage
  \thispagestyle{empty}
  \null
  %\vspace*{-20mm}

  \begin{center}
  {\large \sffamily
  Pr�rodovedeck� fakulta Univerzity Pavla Jozefa �af�rika v~Ko�iciach\\
  �stav matematick�ch vied
  }
  \par
  \vspace*{1.3cm}
  
  {\Large \sffamily \bfseries Zadanie diplomovej pr�ce}
  \end{center}

  \vspace*{1.3cm}
  
  \begin{tabbing}
  MMMMMMMMMMMMMMMMMM \= \kill
  \textbf{Meno a~priezvisko diplomanta:} \> Franti�ek Sudzina\\
  \textbf{Odbor:} \> Matematika
  \end{tabbing}

  \vspace*{.5cm}
  
  \noindent\textbf{N�zov:} DEA s nepresn�mi d�tami \\[.2cm]
    
  \noindent\textbf{Cie�:} 
  Zozn�mi� sa s met�dami vyhodnocovania efekt�vnosti ekonomick�ch jednotiek 
  v pr�pade nepresn�ch �dajov. Presk�ma� vz�ah medzi jednotliv�mi met�dami 
  a pok�si� sa odvodi� ich vlastnosti. \\[.2cm]
  
  \noindent\textbf{Odpor��an� literat�ra:}\\
  \osoba{Cooper, W. W.} - \osoba{Park, K. S.} - \osoba{Yu, G.}: IDEA
  and AR-IDEA: Models for dealing with imprecise data in DEA.
  Management Science, ro�. 45, 1999, �. 45, s. 597-607.\\
  \osoba{Despotis, D. K.} - \osoba{Smirlis, Y. G.}: Data envelopment
  analysis with imprecise data. European Journal Of Operational
  Research, ro�. 26, 2002, �. 140, s. 24-37.
  \par
  \bigskip  
  \begin{tabbing}
  MMMMMMMMMMMMMMMMMMMMMM \= \kill
  \textbf{Ved�ca diplomovej pr�ce:} \> doc. RNDr. Katar�na Cechl�rov�, CSc.\\
  \textbf{Konzultant diplomovej pr�ce:} \>\\
  \textbf{Oponent diplomovej pr�ce:} \> \\
  \textbf{D�tum zadania diplomovej pr�ce:} \> 22. 11. 2002 \\
  \textbf{D�tum odovzdania diplomovej pr�ce:} \> 23. 4. 2004
    \\
  \textbf{D�tum potvrdenia:} \> 15. 1. 2003
  \end{tabbing}

  \vspace*{1cm}
  
  \hfill
  \begin{tabular}{c}
  prof. RNDr. Stanislav Jendro�, DrSc. \\
  riadite� �stavu
  \end{tabular}
\end{titlepage}  
% a dalsia strana ide pre vyhlasenie
\newpage\thispagestyle{empty}
\par
\null
\vfill
\begin{center}
\begin{minipage}{15cm}
\centerline{{\large\bfseries Vyhl�senie}}\par\bigskip
\@vyhlasenie
\par
\bigskip
\null\hfill
\hbox{%
  \vbox{%
    \hbox to5cm {\leaders\hrule\hfil}\par
    \hbox to5cm{\hfil\@author\hfil}
  }%
}  
\end{minipage}
\end{center}
% dalsia strana ide pre podakovanie
\newpage\thispagestyle{empty}
\par
\null
\vfill
\par
\begin{center}
\begin{minipage}{15cm}
\centerline{{\large\bfseries Po�akovanie}}\par\bigskip
\@podakovanie
\par
\end{minipage}
\end{center}
\vskip2cm
}
%---------end custom maketitle
\def\ps@myheadings{%
    \let\@oddfoot\@empty\let\@evenfoot\@empty
    \def\@evenhead{\thepage\hfil\slshape\leftmark}%
    \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
    \let\@mkboth\@gobbletwo
    \let\chaptermark\@gobble
    \let\sectionmark\@gobble
    }
  \if@titlepage
  \let\maketitle=\m@ketitle
\else
  \let\maketitle=\m@ketitle
\fi
\newcommand*\chaptermark[1]{}
\setcounter{secnumdepth}{2}
\newcounter {part}
\newcounter {chapter}
\newcounter {section}[chapter]
\newcounter {subsection}[section]
\newcounter {subsubsection}[subsection]
\newcounter {paragraph}[subsubsection]
\newcounter {subparagraph}[paragraph]
\renewcommand \thepart {\@Roman\c@part}
\renewcommand \thechapter {\@arabic\c@chapter}
\renewcommand \thesection {\thechapter.\@arabic\c@section}
\renewcommand\thesubsection   {\thesection.\@arabic\c@subsection}
\renewcommand\thesubsubsection{\thesubsection .\@arabic\c@subsubsection}
\renewcommand\theparagraph    {\thesubsubsection.\@arabic\c@paragraph}
\renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph}
\newcommand\@chapapp{\chaptername}
\newcommand\part{%
  \if@openright
    \cleardoublepage
  \else
    \clearpage
  \fi
  \thispagestyle{plain}%
  \@tempswafalse
  \null\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
     \interlinepenalty \@M
     \normalfont
     \ifnum \c@secnumdepth >-2\relax
       \huge\bfseries \partname~\thepart
       \par
       \vskip 20\p@
     \fi
     \Huge \bfseries #2\par}%
    \@endpart}
\def\@spart#1{%
    {\centering
     \interlinepenalty \@M
     \normalfont
     \Huge \bfseries #1\par}%
    \@endpart}
\def\@endpart{\vfil\newpage
              \if@twoside
               \if@openright
                \null
                \thispagestyle{empty}%
                \newpage
               \fi
              \fi
              \if@tempswa
                \twocolumn
              \fi}
\newcommand\chapter{\if@openright\cleardoublepage\else\clearpage\fi
                    \thispagestyle{plain}%
                    \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{10\p@}}%
                    \addtocontents{lot}{\protect\addvspace{10\p@}}%
                    \@makechapterhead{#2}%
                    \@afterheading
                    }
%----------------------redefine \chapter and \chapter*
\if@thesischapterstyle
\newlength{\textwidthni}
%\@makechapterhead used on numbered chapters (see classes.dtx)
\def\@makechapterhead#1{%
  \hbox to \textwidth{%
  \leaders\hrule height8pt depth-7pt \hfil \ \ \Huge{\textbf{\thechapter}}
  \leaders\hrule height8pt depth-7pt \hskip1cm
  }
  \par
  \vskip3\bigskipamount minus 24pt %
  {%
    \textwidthni = \textwidth
    \advance\textwidthni by -\parindent
    \parbox{\textwidthni}{%
      \baselineskip=1.7\baselineskip
      \rightskip = 0pt plus 1fill
      \exhyphenpenalty=10000
      \hyphenpenalty=10000
      {\huge \bfseries #1}
    }%
  }%
  \par
  \vskip6\bigskipamount  
}
\def\@schapter#1{
                   \@makeschapterhead{#1}%
                   \@afterheading
                }
%\@makeschapterhead used on unnumbered chapters
\def\@makeschapterhead#1{%
  \hbox to \textwidth{%
  \leaders\hrule height8pt depth-7pt \hfil
  }
  \par
  \bigskip
  \bigskip  
  {%        
    \textwidthni = \textwidth
    \advance\textwidthni by -\parindent
    \parbox{\textwidthni}{%
      \baselineskip=1.7\baselineskip
      \rightskip = 0pt plus 1fill
      \exhyphenpenalty=10000
      \hyphenpenalty=10000
      {\huge \bfseries #1}
    }%
  }%
  \par
  \vskip6\bigskipamount  
}
\else%thesischapterstyle is off, use declaration from book.cls
\def\@makechapterhead#1{%
  \vspace*{50\p@}%
  {\parindent \z@ \raggedright \normalfont
    \ifnum \c@secnumdepth >\m@ne
      %\if@mainmatter %ignore mainmatter
        \huge\bfseries \@chapapp\space \thechapter
        \par\nobreak
        \vskip 20\p@
      %\fi
    \fi
    \interlinepenalty\@M
    \Huge \bfseries #1\par\nobreak
    \vskip 40\p@
  }}
\def\@schapter#1{\if@twocolumn
                   \@topnewpage[\@makeschapterhead{#1}]%
                 \else
                   \@makeschapterhead{#1}%
                   \@afterheading
                 \fi}
\def\@makeschapterhead#1{%
  \vspace*{50\p@}%
  {\parindent \z@ \raggedright
    \normalfont
    \interlinepenalty\@M
    \Huge \bfseries  #1\par\nobreak
    \vskip 40\p@
  }}
\fi
\newcommand\section{\@startsection {section}{1}{\z@}%
                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
                                   {2.3ex \@plus.2ex}%
                                   {\normalfont\Large\bfseries}}
\newcommand\subsection{\@startsection{subsection}{2}{\z@}%
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
                                     {1.5ex \@plus .2ex}%
                                     {\normalfont\large\bfseries}}
\newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
                                     {1.5ex \@plus .2ex}%
                                     {\normalfont\normalsize\bfseries}}
\newcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
                                    {3.25ex \@plus1ex \@minus.2ex}%
                                    {-1em}%
                                    {\normalfont\normalsize\bfseries}}
\newcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
                                       {3.25ex \@plus1ex \@minus .2ex}%
                                       {-1em}%
                                      {\normalfont\normalsize\bfseries}}
\setlength\leftmargini  {2.5em}
\leftmargin  \leftmargini
\setlength\leftmarginii  {2.2em}
\setlength\leftmarginiii {1.87em}
\setlength\leftmarginiv  {1.7em}
\setlength\leftmarginv  {1em}
\setlength\leftmarginvi {1em}
\setlength  \labelsep  {.5em}
\setlength  \labelwidth{\leftmargini}
\addtolength\labelwidth{-\labelsep}
\@beginparpenalty -\@lowpenalty
\@endparpenalty   -\@lowpenalty
\@itempenalty     -\@lowpenalty
\renewcommand\theenumi{\@arabic\c@enumi}
\renewcommand\theenumii{\@alph\c@enumii}
\renewcommand\theenumiii{\@roman\c@enumiii}
\renewcommand\theenumiv{\@Alph\c@enumiv}
\newcommand\labelenumi{\theenumi.}
\newcommand\labelenumii{(\theenumii)}
\newcommand\labelenumiii{\theenumiii.}
\newcommand\labelenumiv{\theenumiv.}
\renewcommand\p@enumii{\theenumi}
\renewcommand\p@enumiii{\theenumi(\theenumii)}
\renewcommand\p@enumiv{\p@enumiii\theenumiii}
\newcommand\labelitemi{\textbullet}
\newcommand\labelitemii{\normalfont\bfseries \textendash}
\newcommand\labelitemiii{\textasteriskcentered}
\newcommand\labelitemiv{\textperiodcentered}
\newenvironment{description}
               {\list{}{\labelwidth\z@ \itemindent-\leftmargin
                        \let\makelabel\descriptionlabel}}
               {\endlist}
\newcommand*\descriptionlabel[1]{\hspace\labelsep
                                \normalfont\bfseries #1}
\if@titlepage
  \newenvironment{abstract}{%
      \titlepage
      \null\vfil
      \@beginparpenalty\@lowpenalty
      \begin{center}%
        \bfseries \abstractname
        \@endparpenalty\@M
      \end{center}}%
     {\par\vfil\null\endtitlepage}
\else
  \newenvironment{abstract}{%
        \small
        \begin{center}%
          {\bfseries \abstractname\vspace{-.5em}\vspace{\z@}}%
        \end{center}%
        \quotation
      }
      {\endquotation}
\fi
\newenvironment{verse}
               {\let\\\@centercr
                \list{}{\itemsep      \z@
                        \itemindent   -1.5em%
                        \listparindent\itemindent
                        \rightmargin  \leftmargin
                        \advance\leftmargin 1.5em}%
                \item\relax}
               {\endlist}
\newenvironment{quotation}
               {\list{}{\listparindent 1.5em%
                        \itemindent    \listparindent
                        \rightmargin   \leftmargin
                        \parsep        \z@ \@plus\p@}%
                \item\relax}
               {\endlist}
\newenvironment{quote}
               {\list{}{\rightmargin\leftmargin}%
                \item\relax}
               {\endlist}
\if@compatibility
\newenvironment{titlepage}
    {%
      \@restonecolfalse\newpage
      \thispagestyle{empty}%
      \setcounter{page}\z@
    }%
    {\if@restonecol\twocolumn \else \newpage \fi
    }
\else
\newenvironment{titlepage}
    {%
      \@restonecolfalse\newpage
      \thispagestyle{empty}%
      \setcounter{page}\@ne
    }%
    {\if@restonecol\twocolumn \else \newpage \fi
     \if@twoside\else
        \setcounter{page}\@ne
     \fi
    }
\fi
\newcommand\appendix{\par
  \setcounter{chapter}{0}%
  \setcounter{section}{0}%
  \gdef\@chapapp{\appendixname}%
  \gdef\thechapter{\@Alph\c@chapter}}
\setlength\arraycolsep{5\p@}
\setlength\tabcolsep{6\p@}
\setlength\arrayrulewidth{.4\p@}
\setlength\doublerulesep{2\p@}
\setlength\tabbingsep{\labelsep}
\skip\@mpfootins = \skip\footins
\setlength\fboxsep{3\p@}
\setlength\fboxrule{.4\p@}
%reset equation counter if necessary
\if@conteqnno%
  \renewcommand\theequation
    {\@arabic\c@equation}
\else%
  \renewcommand\theequation
    {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@equation}
  \@addtoreset{equation}{chapter}
\fi  
\newcounter{figure}[chapter]
\renewcommand \thefigure
     {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@figure}
\def\fps@figure{tbp}
\def\ftype@figure{1}
\def\ext@figure{lof}
\def\fnum@figure{\figurename~\thefigure}
\newenvironment{figure}
               {\@float{figure}}
               {\end@float}
\newenvironment{figure*}
               {\@dblfloat{figure}}
               {\end@dblfloat}
\newcounter{table}[chapter]
\renewcommand \thetable
     {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@table}
\def\fps@table{tbp}
\def\ftype@table{2}
\def\ext@table{lot}
\def\fnum@table{\tablename~\thetable}
\newenvironment{table}
               {\@float{table}}
               {\end@float}
\newenvironment{table*}
               {\@dblfloat{table}}
               {\end@dblfloat}
\newlength\abovecaptionskip
\newlength\belowcaptionskip
\setlength\abovecaptionskip{10\p@}
\setlength\belowcaptionskip{0\p@}
\long\def\@makecaption#1#2{%
  \vskip\abovecaptionskip
  \sbox\@tempboxa{#1: #2}%
  \ifdim \wd\@tempboxa >\hsize
    #1: #2\par
  \else
    \global \@minipagefalse
    \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
  \fi
  \vskip\belowcaptionskip}
\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
\DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal}
\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal}
\newcommand\@pnumwidth{1.55em}
\newcommand\@tocrmarg{2.55em}
\newcommand\@dotsep{4.5}
\setcounter{tocdepth}{2}
\newcommand\tableofcontents{%
    \@restonecolfalse
    \chapter*{\contentsname
        \@mkboth{%
           \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
    \@starttoc{toc}%
    \if@restonecol\twocolumn\fi
    }
\newcommand*\l@part[2]{%
  \ifnum \c@tocdepth >-2\relax
    \addpenalty{-\@highpenalty}%
    \addvspace{2.25em \@plus\p@}%
    \begingroup
      \parindent \z@
      \rightskip \@pnumwidth
      \parfillskip -\@pnumwidth
      {\leavevmode
       \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
       \nobreak
         \global\@nobreaktrue
         \everypar{\global\@nobreakfalse\everypar{}}%
    \endgroup
  \fi}
\newcommand*\l@chapter[2]{%
  \ifnum \c@tocdepth >\m@ne
    \addpenalty{-\@highpenalty}%
    \vskip 1.0em \@plus\p@
    \setlength\@tempdima{1.5em}%
    \begingroup
      \newdimen\p@rindent \p@rindent=\parindent %save original \parindent
      \parindent \z@ 
      \rightskip \@pnumwidth
      \parfillskip -\@pnumwidth
      \leavevmode \bfseries
      \advance\leftskip\@tempdima      
      \hskip -\leftskip
      \hskip\p@rindent %emulate positive \parindent
      #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
      \penalty\@highpenalty
    \endgroup
  \fi}
\newcommand*\l@section{\@dottedtocline{1}{1.5em}{2.3em}}
\newcommand*\l@subsection{\@dottedtocline{2}{3.8em}{3.2em}}
\newcommand*\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}}
\newcommand*\l@paragraph{\@dottedtocline{4}{10em}{5em}}
\newcommand*\l@subparagraph{\@dottedtocline{5}{12em}{6em}}
\newcommand\listoffigures{%
    \@restonecolfalse
    \chapter*{\listfigurename
      \@mkboth{\MakeUppercase\listfigurename}%
              {\MakeUppercase\listfigurename}}%
    \@starttoc{lof}%
    \if@restonecol\twocolumn\fi
    }
\newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
\newcommand\listoftables{%
    \@restonecolfalse
    \chapter*{\listtablename
      \@mkboth{%
          \MakeUppercase\listtablename}{\MakeUppercase\listtablename}}%
    \@starttoc{lot}%
    \if@restonecol\twocolumn\fi
    }
%%%
%prikaz pre vygenerovanie znacky (tu: cislo v tvare [1], cisla
%sa beru z countera enumiv)
\renewcommand*{\@biblabel}[1]{[#1]} 
%prikaz pre vygenerovanie odkazu na citaciu (tu: cislo v tvare F�re, 1998)
\renewcommand*{\@cite}[1]{#1} 
%toto sa vykona, ak je v \bibitem zadany volitelny argument (v podstate
%"nevypisuj obsah volitelneho argumentu, namiesto neho ponechaj standardne
%cislovanie"
\def\@lbibitem[#1]#2{\item\if@filesw
      {\let\protect\noexpand
       \immediate
       \write\@auxout{\string\bibcite{#2}{#1}}}\fi\ignorespaces} 

%toto sa vykona, ak v \bibitem nie je zadany volitelny argument 
%(tu sa nic nezmenilo)
\def\@bibitem#1{\item\if@filesw \immediate\write\@auxout
       {\string\bibcite{#1}{\the\value{\@listctr}}}\fi\ignorespaces}        
%%%
\let\l@table\l@figure
\newdimen\bibindent
\setlength\bibindent{1.5em}
\newenvironment{thebibliography}[1]
     {\chapter*{\bibname
        \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}}%
      \list{\@biblabel{\@arabic\c@enumiv}}%
           {\settowidth\labelwidth{\@biblabel{#1}}%
            \leftmargin\labelwidth
            \advance\leftmargin\labelsep
            \@openbib@code
            \usecounter{enumiv}%
            \let\p@enumiv\@empty
            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
      \sloppy
      \clubpenalty4000
      \@clubpenalty \clubpenalty
      \widowpenalty4000%
      \sfcode`\.\@m}
     {\def\@noitemerr
       {\@latex@warning{Empty `thebibliography' environment}}%
      \endlist}
\newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
\let\@openbib@code\@empty
\newenvironment{theindex}
               {\@restonecoltrue
                \columnseprule \z@
                \columnsep 35\p@
                \twocolumn[\@makeschapterhead{\indexname}]%
                \@mkboth{\MakeUppercase\indexname}%
                        {\MakeUppercase\indexname}%
                \thispagestyle{plain}\parindent\z@
                \parskip\z@ \@plus .3\p@\relax
                \let\item\@idxitem}
               {\if@restonecol\onecolumn\else\clearpage\fi}
\newcommand\@idxitem{\par\hangindent 40\p@}
\newcommand\subitem{\@idxitem \hspace*{20\p@}}
\newcommand\subsubitem{\@idxitem \hspace*{30\p@}}
\newcommand\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
\renewcommand\footnoterule{%
  \kern-3\p@
  \hrule\@width.4\columnwidth
  \kern2.6\p@}
\@addtoreset{footnote}{chapter}
\newcommand\@makefntext[1]{%
    \parindent 1em%
    \noindent
    \hb@xt@1.8em{\hss\@makefnmark}#1}
\newcommand\contentsname{Contents}
\newcommand\listfigurename{List of Figures}
\newcommand\listtablename{List of Tables}
\newcommand\bibname{Bibliography}
\newcommand\indexname{Index}
\newcommand\figurename{Figure}
\newcommand\tablename{Table}
\newcommand\partname{Part}
\newcommand\chaptername{Chapter}
\newcommand\appendixname{Appendix}
\newcommand\abstractname{Abstract}
\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}
\setlength\columnsep{10\p@}
\setlength\columnseprule{0\p@}
\pagestyle{plain}
\pagenumbering{arabic}
\if@twoside
\else
  \raggedbottom
\fi
\onecolumn
\endinput
%%
%% End of file `report.cls'.
