%%
%% This is file `doctor.rtx',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% doctor.dtx  (with options: `doctor')
%% 
%% Copyright (c) 2004-2014 Stanislav Kruchinin.
%% All rights reserved.
%% 
%% This file is part of the disser package.
%% 

\ProvidesFile{doctor.rtx}

\newcommand\doctor@the{\default@the}
\doctor@the

\if@titlepage\renewcommand\maketitle[1][]{
\ifthenelse{\equal{#1}{en}}{\@titlepage@entrue}{\@titlepage@enfalse}
\if@titlepage@en
  \def\appos{Head of Department}
  \def\sconname{Scientific Consultant}
  \def\sconlabel{\sconname}
  \def\sconsndname{\sconname}
  \def\sconsndlabel{\sconname}
  \def\topicname{Topic}
  \def\asmanuscript{As Manuscript}
\fi

\ifx\firstskip\undefined
  \newlength\firstskip
  \ifDis@libcat
    \setlength\firstskip{1ex}
  \else
    \setlength\firstskip{4ex}
  \fi
\fi
\ifundeflength\secondskip{3cm}
\ifundeflength\thirdskip{1cm}
\ifundeflength\fourthskip{1cm}
\ifundeflength\fifthskip{1cm}
\ifundeflength\sixthskip{0cm}

\def\titlefont{\normalsize}
\def\topicfont{\Large\bfseries}
\def\authorfont{\large}
\def\specfont{\normalsize}

\thispagestyle{empty}
\enlargethispage{1cm}
\vspace*{-2cm}
\begin{center}
  \instfont\@institution\par
\end{center}
\vskip\firstskip
\begin{flushright}
  \ifDis@classified\classify\fi
  \asmanuscript\\
  \ifDis@facsimile\facsimile\fi
  \ifDis@libcat\libcatname\ \@libcatnum\fi
\end{flushright}
\begin{center}
  \vskip\secondskip
  {\authorfont\@author}
  \vskip\thirdskip
  {\topicfont\@topic\par}
  \vskip\fourthskip
  {\specfont\@specnum~--\ \@spec}\\[-6pt]
  \ifx\@specsndnum\empty\else
    {\specfont\@specsndnum~--\ \@specsnd}
  \fi
  \vskip\fifthskip
  {\titlefont\@title}
\end{center}
\ifx\@scon\empty\else
  \vskip\sixthskip
  \disserfield{scon}
\fi
\ifx\@sconsnd\empty\else
  \vskip\sixthskip
  \disserfield{sconsnd}
\fi
\vfill
\begin{center}
  {\@city\cdsep\@date}
\end{center}
\normalfont\clearpage
}\fi
\endinput
%%
%% End of file `doctor.rtx'.
