summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/disser
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-05-19 16:20:14 +0000
committerKarl Berry <karl@freefriends.org>2007-05-19 16:20:14 +0000
commit1e19960b463415b2fb8a096f7ce4f9b2a50410f5 (patch)
tree434820857adb1d7bb63edcb5c441d7ca8e7f33cc /Master/texmf-dist/tex/latex/disser
parent9c9ebf7d3184800d2abdff96d70099836b153548 (diff)
new russian-oriented package disser (3mar07)
git-svn-id: svn://tug.org/texlive/trunk@4317 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/disser')
-rw-r--r--Master/texmf-dist/tex/latex/disser/autoref.rtx43
-rw-r--r--Master/texmf-dist/tex/latex/disser/bachelor.rtx46
-rw-r--r--Master/texmf-dist/tex/latex/disser/candidate.rtx52
-rw-r--r--Master/texmf-dist/tex/latex/disser/disser.cls1228
-rw-r--r--Master/texmf-dist/tex/latex/disser/doctor.rtx44
-rw-r--r--Master/texmf-dist/tex/latex/disser/gost732.cls74
-rw-r--r--Master/texmf-dist/tex/latex/disser/master.rtx48
-rw-r--r--Master/texmf-dist/tex/latex/disser/titledefs.rtx119
8 files changed, 1654 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/disser/autoref.rtx b/Master/texmf-dist/tex/latex/disser/autoref.rtx
new file mode 100644
index 00000000000..dc7e5c68e17
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/disser/autoref.rtx
@@ -0,0 +1,43 @@
+%%
+%% This is file `autoref.rtx',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% autoref.dtx (with options: `autoref')
+%%
+%% Copyright (c) 2004-2007 Stanislav Kruchinin.
+%% All rights reserved.
+%%
+%% This file is part of the disser package.
+%%
+
+\def\firstskip{\vskip1cm}
+\def\secondskip{\vskip2cm}
+\def\thirdskip{\vskip1cm}
+\def\fourthskip{\vskip1cm}
+\def\fifthskip{\vskip1cm}
+
+\def\titlefont{\normalsize}
+\def\topicfont{\Large\bfseries}
+\def\authorfont{\large}
+\def\specfont{\normalsize}
+
+\normalfont
+\begin{flushright}
+ \firstskip
+ \asmanuscriptname\\
+\end{flushright}
+\begin{center}
+ \secondskip
+ {\authorfont\@author}
+ \thirdskip
+ {\topicfont\@topic\par}
+ \fourthskip
+ {\specfont\@specnum~--\;\@spec}
+ \fifthskip
+ {\titlefont\@title}
+\end{center}
+\endinput
+%%
+%% End of file `autoref.rtx'.
diff --git a/Master/texmf-dist/tex/latex/disser/bachelor.rtx b/Master/texmf-dist/tex/latex/disser/bachelor.rtx
new file mode 100644
index 00000000000..ff50b40e335
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/disser/bachelor.rtx
@@ -0,0 +1,46 @@
+%%
+%% This is file `bachelor.rtx',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% bachelor.dtx (with options: `bachelor')
+%%
+%% Copyright (c) 2004-2007 Stanislav Kruchinin.
+%% All rights reserved.
+%%
+%% This file is part of the disser package.
+%%
+
+
+\def\firstskip{\vskip1.5cm}
+\def\secondskip{\vskip1.5cm}
+\def\thirdskip{\vskip1.em}
+\def\fourthskip{\vskip1.em}
+\def\fifthskip{\vskip2cm}
+
+\def\titlefont{\Large\bfseries}
+\def\topiclabelfont{\large}
+\def\topicfont{\large\bfseries}
+
+\def\workname{\CYRR\cyra\cyrb\cyro\cyrt\cyra}
+
+\firstskip\@permitted\secondskip
+\begin{center}
+ {\titlefont\@title\par}
+ \thirdskip
+ {\topiclabelfont\topiclabel\;}
+ {\topicfont\@topic\par}
+ \fourthskip\normalfont
+ \courselabel\ \@coursenum~-- \@course
+\end{center}
+\fifthskip
+\begin{tabbing}
+ \studentlabel\ \groupname\ \@group\hspace{2cm}\=
+ \makebox[8.5cm][l]{\hrulefill\ \@author}
+\\[9pt]
+ \field{sa}
+\end{tabbing}
+\endinput
+%%
+%% End of file `bachelor.rtx'.
diff --git a/Master/texmf-dist/tex/latex/disser/candidate.rtx b/Master/texmf-dist/tex/latex/disser/candidate.rtx
new file mode 100644
index 00000000000..302b794a9f7
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/disser/candidate.rtx
@@ -0,0 +1,52 @@
+%%
+%% This is file `candidate.rtx',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% candidate.dtx (with options: `candidate')
+%%
+%% Copyright (c) 2004-2007 Stanislav Kruchinin.
+%% All rights reserved.
+%%
+%% This file is part of the disser package.
+%%
+
+\def\firstskip{\vskip1cm}
+\def\secondskip{\vskip2cm}
+\def\thirdskip{\vskip1cm}
+\def\fourthskip{\vskip1cm}
+\def\fifthskip{\vskip1cm}
+\def\sixthskip{}
+\def\@sahshift{10cm}
+
+\def\titlefont{\normalsize}
+\def\topicfont{\Large\bfseries}
+\def\authorfont{\large}
+\def\specfont{\normalsize}
+
+\normalfont
+\begin{flushright}
+ \firstskip
+ \asmanuscriptname\\
+ {\libcatname\;\@libcatnum}
+\end{flushright}
+\begin{center}
+ \secondskip
+ {\authorfont\@author}
+ \thirdskip
+ {\topicfont\@topic\par}
+ \fourthskip
+ {\specfont\@specnum~--\;\@spec}
+ \fifthskip
+ {\titlefont\@title}
+\end{center}
+\sixthskip
+\begin{tabbing}
+ \hspace{\@sahshift}\={\saname}\\
+ \>\@sastatus\\
+ \>\@sa
+\end{tabbing}
+\endinput
+%%
+%% End of file `candidate.rtx'.
diff --git a/Master/texmf-dist/tex/latex/disser/disser.cls b/Master/texmf-dist/tex/latex/disser/disser.cls
new file mode 100644
index 00000000000..abe2c3e130e
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/disser/disser.cls
@@ -0,0 +1,1228 @@
+%%
+%% This is file `disser.cls',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% disser.dtx (with options: `disser')
+%% counters.dtx (with options: `counters')
+%% part.dtx (with options: `part')
+%% chapter.dtx (with options: `chapter')
+%% sections.dtx (with options: `sections')
+%% lists.dtx (with options: `lists')
+%% floats.dtx (with options: `floats')
+%% footnote.dtx (with options: `footnote')
+%% env.dtx (with options: `env')
+%% page.dtx (with options: `page')
+%% titlepage.dtx (with options: `titlepage')
+%% toc.dtx (with options: `toc')
+%% custom.dtx (with options: `custom')
+%%
+%% Copyright (c) 2004-2007 Stanislav Kruchinin.
+%% All rights reserved.
+%%
+%% This file is part of the disser package.
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% disser -- LaTeX document class for dissertations.
+%%
+%% Copyright (c) 2004-2006 Stanislav Kruchinin
+%%
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2003/12/01 or later.
+%%
+%% This program is distributed in the hope that it will be useful,
+%% but WITHOUT ANY WARRANTY; without even the implied warranty of
+%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{disser}[2006/09/06 Document class for dissertations.]
+\ProvidesPackage{disser}
+
+
+\def\substyle@ext{.rtx}
+\newif\if@restonecol
+\newif\if@titlepage\@titlepagetrue
+\newif\if@bachelor\@bachelorfalse
+\newif\if@master\@masterfalse
+\newif\if@candidate\@candidatefalse
+\newif\if@doctor\@doctorfalse
+\newif\if@autoref\@autoreffalse
+\newif\if@openright
+\newif\ifhref\hreffalse
+\newif\ifpdf
+ \ifx\pdfoutput\undefined
+ \else
+ \ifx\pdfoutput\relax
+ \else
+ \ifcase\pdfoutput
+ \else
+ \pdftrue
+ \fi
+ \fi
+ \fi
+
+\newif\ifsubf\subffalse
+
+
+\DeclareOption{a4paper}{%
+ \setlength\paperheight{297mm}
+ \setlength\paperwidth {210mm}
+}
+\DeclareOption{a5paper}{%
+ \setlength\paperheight{210mm}
+ \setlength\paperwidth {148mm}
+}
+\DeclareOption{b5paper}{%
+ \setlength\paperheight{250mm}
+ \setlength\paperwidth {176mm}
+}
+\DeclareOption{landscape}{%
+ \setlength\@tempdima {\paperheight}%
+ \setlength\paperheight{\paperwidth}%
+ \setlength\paperwidth {\@tempdima}
+}
+
+\newcommand\@ptsize{}
+\DeclareOption{8pt} {\renewcommand\@ptsize{8}}
+\DeclareOption{9pt} {\renewcommand\@ptsize{9}}
+\DeclareOption{10pt}{\renewcommand\@ptsize{10}}
+\DeclareOption{11pt}{\renewcommand\@ptsize{11}}
+\DeclareOption{12pt}{\renewcommand\@ptsize{12}}
+\DeclareOption{14pt}{\renewcommand\@ptsize{14}}
+\DeclareOption{17pt}{\renewcommand\@ptsize{17}}
+\DeclareOption{20pt}{\renewcommand\@ptsize{20}}
+
+\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
+\DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue}
+
+\DeclareOption{draft}{\setlength\overfullrule{5pt}}
+\DeclareOption{final}{\setlength\overfullrule{0pt}}
+
+\DeclareOption{titlepage} {\@titlepagetrue}
+\DeclareOption{notitlepage}{\@titlepagefalse}
+
+\DeclareOption{openright}{\@openrighttrue}
+\DeclareOption{openany}{\@openrightfalse}
+
+\DeclareOption{onecolumn}{\@twocolumnfalse}
+\DeclareOption{twocolumn}{\@twocolumntrue}
+
+\DeclareOption{leqno}{\input{leqno.clo}}
+
+\DeclareOption{fleqn}{\input{fleqn.clo}}
+\DeclareOption{times}{
+ \AtEndOfPackage{%
+ \usepackage{pscyr}
+ \usepackage{txfonts}
+ \renewcommand{\rmdefault}{ftm}
+ }
+}
+\DeclareOption{openbib}{%
+ \AtEndOfPackage{%
+ \renewcommand\@openbib@code{%
+ \advance\leftmargin\bibindent
+ \itemindent -\bibindent
+ \listparindent \itemindent
+ \parsep \z@
+ }%
+ \renewcommand\newblock{\par}
+ }%
+}
+\DeclareOption{href}{\hreftrue}
+
+\DeclareOption{subf}{\subftrue}
+
+\DeclareOption{bachelor}{%
+ \@bachelortrue\@masterfalse\@candidatefalse\@doctorfalse\@autoreffalse
+}
+\DeclareOption{master}{%
+ \@bachelorfalse\@mastertrue\@candidatefalse\@doctorfalse\@autoreffalse
+}
+\DeclareOption{candidate}{%
+ \@bachelorfalse\@masterfalse\@candidatetrue\@doctorfalse\@autoreffalse
+}
+\DeclareOption{doctor}{%
+ \@bachelorfalse\@masterfalse\@candidatefalse\@doctortrue\@autoreffalse
+}
+\DeclareOption{autoref}{%
+ \@bachelorfalse\@masterfalse\@candidatefalse\@doctorfalse\@autoreftrue
+}
+\DeclareRobustCommand\MakeTextUppercase{%
+ \@uclcnotmath{\def\i{I}\def\j{J}}{##1##2}\uppercase}
+
+\protected@edef\MakeTextUppercase#1{\MakeTextUppercase{#1}}
+
+\DeclareRobustCommand\MakeTextLowercase{%
+ \@uclcnotmath{}{##2##1}\lowercase}
+
+\protected@edef\MakeTextLowercase#1{\MakeTextLowercase{#1}}
+
+\ExecuteOptions{a4paper,14pt,oneside,titlepage,onecolumn,final,openany}
+\ProcessOptions
+\def\EC@family#1#2#3#4#5{%
+ \DeclareFontShape{#1}{#2}{#3}{#4}%
+ {<5><6><7><8><9><10><10.95><12><14.4><17.28><20.74>%
+ <24.88><29.86><35.83><42.99><51.59>genb*#5}{}}
+\EC@family{T1}{cmr}{m}{n}{ecrm}
+\EC@family{T1}{cmr}{m}{sl}{ecsl}
+\EC@family{T1}{cmr}{m}{it}{ecti}
+\EC@family{T1}{cmr}{m}{sc}{eccc}
+\EC@family{T1}{cmr}{bx}{n}{ecbx}
+\EC@family{T1}{cmr}{b}{n}{ecrb}
+\EC@family{T1}{cmr}{bx}{it}{ecbi}
+\EC@family{T1}{cmr}{bx}{sl}{ecbl}
+\EC@family{T1}{cmr}{bx}{sc}{ecxc}
+\EC@family{T1}{cmr}{m}{ui}{ecui}
+\DeclareFontShape{OT1}{cmr}{m}{n}%
+ {<5><6><7><8><9><10><12>gen*cmr%
+ <10.95>cmr10%
+ <14.4>cmr12%
+ <17.28><20.74><24.88><29.86><35.83><42.99><51.59>cmr17}{}
+\DeclareFontShape{OT1}{cmr}{m}{sl}%
+ {<5><6><7>cmsl8%
+ <8><9>gen*cmsl%
+ <10><10.95>cmsl10%
+ <12><14.4><17.28><20.74><24.88><29.86><35.83><42.99><51.59>cmsl12%
+ }{}
+\DeclareFontShape{OT1}{cmr}{m}{it}%
+ {<5><6><7>cmti7%
+ <8>cmti8%
+ <9>cmti9%
+ <10><10.95>cmti10%
+ <12><14.4><17.28><20.74><24.88><29.86><35.83><42.99><51.59>cmti12%
+ }{}
+\DeclareFontShape{OT1}{cmr}{m}{sc}%
+ {<5><6><7><8><9><10><10.95><12>%
+ <14.4><17.28><20.74><24.88><29.86><35.83><42.99><51.59>cmcsc10%
+ }{}
+\DeclareFontShape{OT1}{cmr}{m}{ui}{
+ <5><6><7><8><9><10><10.95><12>%
+ <14.4><17.28><20.74><24.88><29.86><35.83><42.99><51.59>cmu10%
+}{}
+\DeclareFontShape{OT1}{cmr}{b}{n}{
+ <5><6><7><8><9><10><10.95><12>%
+ <14.4><17.28><20.74><24.88><29.86><35.83><42.99><51.59>cmb10%
+}{}
+\DeclareFontShape{OT1}{cmr}{bx}{n}{
+ <5><6><7><8><9>gen*cmbx%
+ <10><10.95>cmbx10%
+ <12><14.4><17.28><20.74><24.88><29.86><35.83><42.99><51.59>cmbx12%
+}{}
+\DeclareFontShape{OT1}{cmr}{bx}{sl}{<5><6><7><8><9>%
+ <10><10.95><12><14.4><17.28><20.74><24.88><29.86><35.83><42.99><51.59>cmbxsl10%
+}{}
+\DeclareFontShape{OT1}{cmr}{bx}{it}{<5><6><7><8><9>%
+ <10><10.95><12><14.4><17.28><20.74><24.88><29.86><35.83><42.99><51.59>cmbxti10%
+}{}
+\input{size\@ptsize.clo}
+\RequirePackage{exscale}
+
+\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}
+
+\setlength\lineskip{1\p@}
+\setlength\normallineskip{1\p@}
+\newcommand\singlespacing {\renewcommand\baselinestretch{1}}
+\newcommand\onehalfspacing{\renewcommand\baselinestretch{1.5}}
+\newcommand\doublespacing {\renewcommand\baselinestretch{2}}
+\onehalfspacing\normalsize
+\setlength\parskip{0\p@ \@plus \p@}
+\setcounter{topnumber}{2}
+\setcounter{bottomnumber}{1}
+\setcounter{totalnumber}{3}
+\setcounter{dbltopnumber}{2}
+\renewcommand\topfraction{.7}
+\renewcommand\bottomfraction{.3}
+\renewcommand\textfraction{.2}
+\renewcommand\floatpagefraction{.5}
+\renewcommand\dbltopfraction{.7}
+\renewcommand\dblfloatpagefraction{.5}
+\setcounter{tocdepth}{1}
+\setcounter{secnumdepth}{2}
+\def\@seccntformat#1{%
+ \csname prethe#1\endcsname%
+ \csname the#1\endcsname%
+ \csname postthe#1\endcsname%
+}
+\def\@tocseccntformat#1{%
+ \csname tocprethe#1\endcsname%
+ \csname tocthe#1\endcsname%
+ \csname tocpostthe#1\endcsname%
+}
+
+\@lowpenalty 51
+\@medpenalty 151
+\@highpenalty 301
+
+\newcounter{part}
+\newcounter{chapter}
+\newcounter{section}[chapter]
+\newcounter{subsection}[section]
+\newcounter{subsubsection}[subsection]
+\newcounter{paragraph}[subsubsection]
+\newcounter{subparagraph}[paragraph]
+\newcounter{figure}[chapter]
+\newcounter{table}[chapter]
+\renewcommand\thepart{\@Roman\c@part}
+\renewcommand\thechapter{\@arabic\c@chapter}
+\newcommand\theappendix{\@Asbuk\c@chapter}
+\renewcommand\thesection{%
+\ifnum\c@chapter > \z@
+ \thechapter.\@arabic\c@section%
+\else\@arabic\c@section\fi}
+\renewcommand\thesubsection{\thesection.\@arabic\c@subsection}
+\renewcommand\thesubsubsection{\thesubsection.\@arabic\c@subsubsection}
+\renewcommand\theparagraph{\@arabic\c@paragraph}
+\renewcommand\thesubparagraph{\theparagraph.\@arabic\c@subparagraph}
+
+\newcommand\tocthepart{\thepart}
+\newcommand\tocthechapter{\thechapter}
+\newcommand\toctheappendix{\theappendix}
+\newcommand\tocthesection{\thesection}
+\newcommand\tocthesubsection{\thesubsection}
+\newcommand\toctheparagraph{\theparagraph}
+\newcommand\tocthesubparagraph{\thesubparagraph}
+
+\newcommand\bachelor@the{%
+ \@addtoreset{footnote}{chapter}
+ \@addtoreset{equation}{chapter}
+
+ \renewcommand\theequation{%
+ \ifnum\c@chapter > \z@\thechapter.\fi%
+ \@arabic\c@equation}
+ \renewcommand\thetable{%
+ \ifnum \c@chapter>\z@\thechapter.\fi%
+ \@arabic\c@table}
+ \renewcommand\thefigure{%
+ \ifnum \c@chapter>\z@\thechapter.\fi%
+ \@arabic\c@figure}
+}
+\newcommand\master@the \bachelor@the
+\newcommand\candidate@the\bachelor@the
+\newcommand\doctor@the \candidate@the
+\newcommand\autoref@the \candidate@the
+
+\if@bachelor \bachelor@the \fi
+\if@master \master@the \fi
+\if@candidate \candidate@the \fi
+\if@doctor \doctor@the \fi
+\if@autoref \autoref@the \fi
+
+\providecommand\tocprethepart{\partname~}
+\providecommand\tocpostthepart{.\@postskip}
+\providecommand\tocpartfill{}
+\providecommand\tocpartfont{\bfseries}
+\providecommand\tocpartfillfont{\normalfont}
+\providecommand\tocpartnumfont{\normalfont}
+
+\providecommand\thepartalign{\centering}
+\providecommand\thepartfont{\huge}
+\providecommand\prethepart{\tocprethepart}
+\providecommand\postthepart{\par\vskip 20\p@}
+
+\providecommand\partalign{\centering}
+\providecommand\partfont{\huge\bfseries}
+\providecommand\prepart{}
+\providecommand\postpart{\par}
+
+\providecommand\partpagestyle{empty}
+\newcommand\part{
+ \if@openright
+ \cleardoublepage
+ \else
+ \clearpage
+ \fi
+ \thispagestyle{\partpagestyle}%
+ \if@twocolumn
+ \onecolumn
+ \@tempswatrue
+ \else
+ \@tempswafalse
+ \fi
+ \null\vfil\secdef\@part\@spart
+}
+\def\@part[#1]#2{%
+ \ifnum \c@secnumdepth >-2\relax
+ \refstepcounter{part}%
+ {\def\\{ }\addcontentsline{toc}{part}{\@tocseccntformat{part} #1}}
+ \else
+ {\def\\{ }\addcontentsline{toc}{part}{#1}}
+ \fi
+ \markboth{}{}%
+ {%
+ \interlinepenalty \@M
+ \normalfont
+ \ifnum \c@secnumdepth >-2\relax
+ {\thepartfont\partalign\@seccntformat{part}}
+ \fi%
+ {\partfont\partalign\prepart #2\postpart}%
+ }
+ \@endpart%
+}
+
+\def\@spart#1{%
+ \partalign{\interlinepenalty \@M%
+ \partfont\prepart #1\postpart}%
+ \@endpart
+}
+
+\def\@endpart{
+ \vfil\newpage
+ \if@twoside
+ \null
+ \thispagestyle{\partpagestyle}%
+ \newpage
+ \fi
+ \if@tempswa\twocolumn\fi
+}
+\newcommand*\l@part[2]
+{%
+ \ifnum \c@tocdepth >-2\relax
+ \addpenalty{-\@highpenalty}%
+ \addvspace{2.25em \@plus\p@}%
+ \begingroup
+ \setlength\@tempdima{3em}%
+ \parindent \z@ \rightskip \@pnumwidth
+ \parfillskip -\@pnumwidth
+ {\leavevmode \tocpartfont #1\nobreak
+ \tocpartfillfont\tocpartfill\hfill
+ \hb@xt@\@pnumwidth{\hss\tocpartnumfont #2}}
+ \par\nobreak
+ \global\@nobreaktrue
+ \everypar{\global\@nobreakfalse\everypar{}}%
+ \endgroup
+ \fi
+}
+
+
+\newcommand*\chaptermark[1]{}
+\providecommand\tocprethechapter{\protect\chaptername~}
+\providecommand\tocpostthechapter{.\@postskip}
+\providecommand\tocchapterfill{\tocfill{.}}
+
+\providecommand\tocchapterfont{\bfseries}
+\providecommand\tocchapterfillfont{\normalfont}
+\providecommand\tocchapternumfont{\normalfont}
+
+\providecommand\thechapteralign{\centering}
+\providecommand\thechapterfont{\Large}
+\providecommand\prethechapter{\protect\chaptername~}
+\providecommand\postthechapter{\par\nobreak\vskip 5\p@}
+
+\providecommand\chapteralign{\centering}
+\providecommand\chapterfont{\Large\bfseries}
+\providecommand\prechapter{}
+\providecommand\postchapter{\par\nobreak\vskip 20\p@}
+
+\providecommand\tocpretheappendix{\protect\appendixname~}
+\providecommand\tocposttheappendix{.\@postskip}
+\providecommand\tocappendixfill{\tocfill{.}}
+
+\providecommand\tocappendixfont{\bfseries}
+\providecommand\tocappendixfillfont{\normalfont}
+\providecommand\tocappendixnumfont{\normalfont}
+
+\providecommand\theappendixalign{\centering}
+\providecommand\theappendixfont{\Large}
+\providecommand\pretheappendix{\protect\appendixname~}
+\providecommand\posttheappendix{\par\nobreak\vskip 5\p@}
+
+\providecommand\appendixalign{\centering}
+\providecommand\appendixfont{\Large\bfseries}
+\providecommand\preappendix{}
+\providecommand\postappendix{\par\nobreak\vskip 20\p@}
+
+\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}%
+ {\def\\{ }\addcontentsline{toc}{chapter}{\@tocseccntformat{chapter} #1}}%
+ \else
+ {\def\\{ }\addcontentsline{toc}{chapter}{#1}}%
+ \fi
+ \chaptermark{#1}%
+ \addtocontents{lof}{\protect\addvspace{10\p@}}%
+ \addtocontents{lot}{\protect\addvspace{10\p@}}%
+ \if@twocolumn
+ \@topnewpage[\@makechapterhead{#2}]%
+ \else
+ \@makechapterhead{#2}%
+ \@afterheading
+ \fi
+}
+\def\@makechapterhead#1{%
+ {%
+ \parindent \z@ \raggedright \normalfont
+ \ifnum \c@secnumdepth >\m@ne
+ {\thechapterfont\thechapteralign\@seccntformat{chapter}}
+ \fi
+ \interlinepenalty\@M
+ \chapterfont\chapteralign\prechapter #1\postchapter
+ }
+}
+
+\def\@schapter#1{
+ \if@twocolumn
+ \@topnewpage[\@makeschapterhead{#1}]%
+ \else
+ \@makeschapterhead{#1}%
+ \@afterheading
+ \fi
+}
+
+\def\@makeschapterhead#1{%
+ {%
+ \parindent \z@ \raggedright
+ \normalfont\interlinepenalty\@M
+ \chapteralign{\chapterfont\prechapter #1\postchapter}
+ }
+}
+\newcommand*\l@chapter[2]{%
+ \ifnum \c@tocdepth >\m@ne
+ \addpenalty{-\@highpenalty}
+ \vskip 1.0em \@plus\p@
+ \setlength\@tempdima{1.5em}
+ \begingroup
+ \parindent \z@ \rightskip \@pnumwidth
+ \parfillskip -\@pnumwidth
+ \leavevmode
+ \tocchapterfont
+ \advance\leftskip\@tempdima
+ \hskip -\leftskip
+ #1\nobreak
+ \tocchapterfillfont\tocchapterfill\hfill
+ \nobreak\hb@xt@\@pnumwidth{\hss\tocchapternumfont #2}\par
+ \penalty\@highpenalty
+ \endgroup
+ \fi
+}
+
+\newcommand\appendix{
+ \setcounter{chapter}{0}
+ \setcounter{section}{0}
+
+ \let\oldtocprethechapter=\tocprethechapter
+ \let\oldtocpostthechapter=\tocpostthechapter
+ \let\oldtocchapterfill=\tocchapterfill
+
+ \let\oldtocchapterfont=\tocchapterfont
+ \let\oldtocchapterfillfont=\tocchapterfillfont
+ \let\oldtocchapternumfont=\tocchapternumfont
+
+ \let\oldthechapteralign=\thechapteralign
+ \let\oldthechapterfont=\thechapterfont
+ \let\oldprethechapter=\prethechapter
+ \let\oldpostthechapter=\postthechapter
+
+ \let\oldchapteralign=\chapteralign
+ \let\oldchapterfont=\chapterfont
+ \let\oldprechapter=\prechapter
+ \let\oldpostchapter=\postchapter
+ \let\oldthechapter=\thechapter
+
+ \renewcommand\tocprethechapter{\tocpretheappendix}
+ \renewcommand\tocpostthechapter{\tocposttheappendix}
+ \renewcommand\tocchapterfill{\tocappendixfill}
+
+ \renewcommand\tocchapterfont{\tocappendixfont}
+ \renewcommand\tocchapterfillfont{\tocappendixfillfont}
+ \renewcommand\tocchapternumfont{\tocappendixnumfont}
+
+ \renewcommand\thechapteralign{\theappendixalign}
+ \renewcommand\thechapterfont{\theappendixfont}
+ \renewcommand\prethechapter{\pretheappendix}
+ \renewcommand\postthechapter{\posttheappendix}
+
+ \renewcommand\chapteralign{\appendixalign}
+ \renewcommand\chapterfont{\appendixfont}
+ \renewcommand\prechapter{\preappendix}
+ \renewcommand\postchapter{\postappendix}
+
+ \gdef\thechapter{\theappendix}
+}
+
+\newcommand\noappendix{
+ \let\tocprethechapter=\oldtocprethechapter
+ \let\tocpostthechapter=\oldtocpostthechapter
+ \let\tocchapterfill=\oldtocchapterfill
+
+ \let\tocchapterfont=\oldtocchapterfont
+ \let\tocchapterfillfont=\oldtocchapterfillfont
+ \let\tocchapternumfont=\oldtocchapternumfont
+
+ \let\thechapteralign=\oldthechapteralign
+ \let\thechapterfont=\oldthechapterfont
+ \let\prethechapter=\oldprethechapter
+ \let\postthechapter=\oldpostthechapter
+
+ \let\chapteralign=\oldchapteralign
+ \let\chapterfont=\oldchapterfont
+ \let\prechapter=\oldprechapter
+ \let\postchapter=\oldpostchapter
+
+ \gdef\thechapter{\oldthechapter}
+}
+
+\newcommand\nchapter[1]{%
+ \chapter*{%
+ \phantomchapter\addcontentsline{toc}{chapter}{#1}%
+ #1%
+ \@mkboth{\MakeUppercase{#1}}{\MakeUppercase{#1}}
+ }
+}
+
+\providecommand\tocprethesection{}
+\providecommand\tocpostthesection{.\@postskip}
+\providecommand\tocsectionfill{\tocfill{.}}
+
+\providecommand\tocsectionfont{\normalfont}
+\providecommand\tocsectionfillfont{}
+\providecommand\tocsectionnumfont{}
+\providecommand\tocsectionindent{1.5em}
+\providecommand\tocsectionnameindent{2.3em}
+
+\providecommand\sectionfont{\normalfont\large\bfseries}
+
+\providecommand\prethesection{}
+\providecommand\postthesection{.~}
+
+\providecommand\sectionindent{\z@}
+\providecommand\presection{-3.5ex \@plus -1ex \@minus -.2ex}
+\providecommand\postsection{2.3ex \@plus.2ex}
+\providecommand\sectionalign{\raggedright}
+
+\providecommand\tocprethesubsection{}
+\providecommand\tocpostthesubsection{.\@postskip}
+\providecommand\tocsubsectionfill{\tocfill{.}}
+
+\providecommand\tocsubsectionfont{\normalfont}
+\providecommand\tocsubsectionfillfont{}
+\providecommand\tocsubsectionnumfont{}
+
+\providecommand\tocsubsectionindent{3.8em}
+\providecommand\tocsubsectionnameindent{3.2em}
+
+\providecommand\subsectionfont{\normalfont\normalsize\bfseries}
+
+\providecommand\prethesubsection{}
+\providecommand\postthesubsection{.~}
+
+\providecommand\subsectionindent{\z@}
+\providecommand\presubsection{-3.25ex\@plus -1ex \@minus -.2ex}
+\providecommand\postsubsection{1.5ex \@plus .2ex}
+\providecommand\subsectionalign{\raggedright}
+
+\providecommand\tocprethesubsubsection{}
+\providecommand\tocpostthesubsubsection{.\@postskip}
+\providecommand\tocsubsubsectionfill{\tocfill{.}}
+
+\providecommand\tocsubsubsectionfont{\normalfont}
+\providecommand\tocsubsubsectionfillfont{}
+\providecommand\tocsubsubsectionnumfont{}
+
+\providecommand\tocsubsubsectionindent{7.0em}
+\providecommand\tocsubsubsectionnameindent{4.1em}
+
+\providecommand\subsubsectionfont{\normalfont\normalsize\bfseries}
+
+\providecommand\prethesubsubsection{}
+\providecommand\postthesubsubsection{.~}
+
+\providecommand\subsubsectionindent{\z@}
+\providecommand\presubsubsection{-3.25ex\@plus -1ex \@minus -.2ex}
+\providecommand\postsubsubsection{1.5ex \@plus .2ex}
+\providecommand\subsubsectionalign{\raggedright}
+
+\providecommand\tocpretheparagraph{}
+\providecommand\tocposttheparagraph{.\@postskip}
+\providecommand\tocparagraphfill{\tocfill{.}}
+
+\providecommand\tocparagraphfont{\normalfont}
+\providecommand\tocparagraphfillfont{}
+\providecommand\tocparagraphnumfont{}
+
+\providecommand\tocparagraphindent{10em}
+\providecommand\tocparagraphnameindent{5em}
+
+\providecommand\paragraphfont{\normalfont\normalsize\bfseries}
+
+\providecommand\pretheparagraph{}
+\providecommand\posttheparagraph{.~}
+
+\providecommand\paragraphindent{\z@}
+\providecommand\preparagraph{3.25ex \@plus1ex \@minus.2ex}
+\providecommand\postparagraph{-1em}
+\providecommand\paragraphalign{\raggedright}
+
+\providecommand\tocprethesubparagraph{}
+\providecommand\tocpostthesubparagraph{.\@postskip}
+\providecommand\tocsubparagraphfill{\tocfill{.}}
+
+\providecommand\tocsubparagraphfont{\normalfont}
+\providecommand\tocsubparagraphfillfont{}
+\providecommand\tocsubparagraphnumfont{}
+
+\providecommand\tocsubparagraphindent{12em}
+\providecommand\tocsubparagraphnameindent{6em}
+
+\providecommand\subparagraphfont{\normalfont\normalsize\bfseries}
+
+\providecommand\prethesubparagraph{}
+\providecommand\postthesubparagraph{.~}
+
+\providecommand\subparagraphindent{\parindent}
+\providecommand\presubparagraph{3.25ex \@plus1ex \@minus .2ex}
+\providecommand\postsubparagraph{-1em}
+\providecommand\subparagraphalign{\raggedright}
+
+\def\@sect#1#2#3#4#5#6[#7]#8{%
+ \ifnum #2>\c@secnumdepth
+ \let\@svsec\@empty
+ \else
+ \refstepcounter{#1}%
+ \protected@edef\@svsec{\@seccntformat{#1}\relax}%
+ \fi
+ \@tempskipa #5\relax
+ \ifdim \@tempskipa>\z@
+ \begingroup
+ #6{%
+ \@hangfrom{\hskip #3\relax\@svsec}%
+ \interlinepenalty \@M #8\@@par}%
+ \endgroup
+ \csname #1mark\endcsname{#7}%
+ \addcontentsline{toc}{#1}{%
+ \ifnum #2>\c@secnumdepth \else
+ \protect\numberline{\@tocseccntformat{#1}}%
+ \fi
+ #7}%
+ \else
+ \def\@svsechd{%
+ #6{\hskip #3\relax
+ \@svsec #8}%
+ \csname #1mark\endcsname{#7}%
+ \addcontentsline{toc}{#1}{%
+ \ifnum #2>\c@secnumdepth \else
+ \protect\numberline{\@tocseccntformat{#1}}%
+ \fi
+ #7}}%
+ \fi
+ \@xsect{#5}
+}
+
+\def\@tocline#1#2#3#4#5#6{%
+ \ifnum #2>\c@tocdepth \else
+ \vskip \z@ \@plus.2\p@
+ {\leftskip #3\relax \rightskip \@tocrmarg \parfillskip -\rightskip
+ \parindent #3\relax\@afterindenttrue
+ \interlinepenalty\@M
+ \leavevmode
+ \@tempdima #4\relax
+ \csname toc#1font\endcsname
+ \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip
+ {#5}\nobreak
+ \csname toc#1fillfont\endcsname \csname toc#1fill\endcsname\hfill
+ \nobreak\hb@xt@\@pnumwidth{\hfil\csname toc#1numfont\endcsname #6}%
+ \par%
+ }%
+ \fi
+}
+
+\newcommand*\l@section {\@tocline{section} {1}
+ {\tocsectionindent}{\tocsectionnameindent}}
+\newcommand*\l@subsection {\@tocline{subsection} {2}
+ {\tocsubsectionindent}{\tocsubsectionnameindent}}
+\newcommand*\l@subsubsection{\@tocline{subsubsection}{3}
+ {\tocsubsubsectionindent}{\tocsubsubsectionnameindent}}
+\newcommand*\l@paragraph {\@tocline{paragraph} {4}
+ {\tocparagraphindent}{\tocparagraphnameindent}}
+\newcommand*\l@subparagraph {\@tocline{subparagraph} {5}
+ {\tocsubparagraphindent}{\tocsubparagraphnameindent}}
+
+\newcommand\section{%
+ \@startsection{section}{1}{\sectionindent}%
+ {\presection}{\postsection}{\sectionfont\sectionalign}}
+\newcommand\subsection{%
+ \@startsection{subsection}{2}{\subsectionindent}%
+ {\presubsection}{\postsubsection}{\subsectionfont\subsectionalign}}
+\newcommand\subsubsection{%
+ \@startsection{subsubsection}{3}{\subsubsectionindent}%
+ {\presubsubsection}{\postsubsubsection}{\subsubsectionfont\subsubsectionalign}}
+\newcommand\paragraph{%
+ \@startsection{paragraph}{4}{\paragraphindent}%
+ {\preparagraph}{\postparagraph}{\paragraphfont\paragraphalign}}
+\newcommand\subparagraph{%
+ \@startsection{subparagraph}{5}{\parindent}%
+ {\presubparagraph}{\postsubparagraph}{\subparagraphfont\subparagraphalign}}
+
+\if@twocolumn
+ \setlength\leftmargini {2em}
+\else
+ \setlength\leftmargini {2.5em}
+\fi
+\leftmargin \leftmargini
+\setlength\leftmarginii {2.2em}
+\setlength\leftmarginiii {1.87em}
+\setlength\leftmarginiv {1.7em}
+\if@twocolumn
+ \setlength\leftmarginv {.5em}
+ \setlength\leftmarginvi {.5em}
+\else
+ \setlength\leftmarginv {1em}
+ \setlength\leftmarginvi {1em}
+\fi
+\setlength\labelsep{.5em}
+\setlength\labelwidth{\leftmargini}
+\addtolength\labelwidth{-\labelsep}
+\@beginparpenalty -\@lowpenalty
+\@endparpenalty -\@lowpenalty
+\@itempenalty -\@lowpenalty
+
+\renewcommand\theenumi {\@arabic\c@enumi}
+\renewcommand\theenumii {\@asbuk\c@enumii}
+\renewcommand\theenumiii{\@roman\c@enumiii}
+\renewcommand\theenumiv {\@Asbuk\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}
+
+\newlength\abovecaptionskip
+\setlength\abovecaptionskip{10\p@}
+\newlength\belowcaptionskip
+\setlength\belowcaptionskip{0\p@}
+\newcommand\captionlabeldelim{.}
+\newcommand\captionfont{\small}
+\newcommand\captionlabelfont{\small\bfseries\selectfont}
+\long\def\@makecaption#1#2{%
+ \vskip\abovecaptionskip
+ \sbox\@tempboxa{{\captionlabelfont #1\captionlabeldelim} {\captionfont #2}}%
+ \ifdim \wd\@tempboxa >\hsize
+ {{\captionlabelfont #1\captionlabeldelim} {\captionfont #2}}\par
+ \else
+ \global \@minipagefalse
+ \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
+ \fi
+ \vskip\belowcaptionskip
+}
+
+\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}
+
+\renewcommand\thetable{\ifnum \c@chapter>\z@\thechapter.\fi\@arabic\c@table}
+
+\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@}
+\newenvironment{table}{\@float{table}}{\end@float}
+\newenvironment{table*}{\@dblfloat{table}}{\end@dblfloat}
+
+\def\fps@table{tbp}
+\def\ftype@table{2}
+\def\ext@table{lot}
+\def\fnum@table{\tablename~\thetable}
+
+\renewcommand\footnoterule{%
+ \kern-3\p@\hrule\@width.4\columnwidth\kern2.6\p@
+}
+\newcommand\@makefntext[1]{%
+ \parindent 1em%
+ \noindent
+ \hb@xt@1.8em{\hss\@makefnmark}#1
+}
+
+\newenvironment{description}
+ {\list{}{\labelwidth\z@ \itemindent-\leftmargin
+ \let\makelabel\descriptionlabel}}
+ {\endlist}
+\newcommand*\descriptionlabel[1]{\hspace\labelsep\normalfont\bfseries #1}
+\if@titlepage
+ \newenvironment{abstract}{
+ \thispagestyle{empty}
+ \@beginparpenalty\@lowpenalty
+ \begin{center}%
+ \bfseries\small\abstractname
+ \@endparpenalty\@M
+ \end{center}\small
+ }{\par\vfil\null}
+\else
+ \newenvironment{abstract}{
+ \if@twocolumn
+ \section*{\abstractname}
+ \else
+ \small
+ \begin{center}
+ {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
+ \end{center}
+ \quotation
+ \fi
+ }{\if@twocolumn\else\endquotation\fi}
+\fi
+\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}
+\newenvironment{titlepage}{
+ \if@twocolumn
+ \@restonecoltrue\onecolumn
+ \else
+ \@restonecolfalse\newpage
+ \fi
+ \thispagestyle{empty}
+ \setcounter{page}\@ne
+}
+{
+ \if@restonecol\twocolumn\else\newpage\fi
+ \if@twoside\else\setcounter{page}\@ne\fi
+}
+\newenvironment{figure}{\@float{figure}}{\end@float}
+\newenvironment{figure*}{\@dblfloat{figure}}{\end@dblfloat}
+
+\setlength\columnsep{10\p@}
+\setlength\columnseprule{0\p@}
+\pagestyle{plain}
+\pagenumbering{arabic}
+\if@twoside\else\raggedbottom\fi
+\if@twocolumn\twocolumn\sloppy\flushbottom
+\else\onecolumn\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{\textsc{%
+ \ifnum \c@secnumdepth >\m@ne
+ \@tocseccntformat{chapter} \ %
+ \fi
+ ##1}}{}%
+ }%
+ \def\sectionmark##1{%
+ \markright{\MakeUppercase{%
+ \ifnum \c@secnumdepth >\z@
+ \@tocseccntformat{section}%
+ \fi
+ ##1}%
+ }%
+ }%
+ }%
+\else % \if@twoside
+ \def\ps@headings{%
+ \let\@oddfoot\@empty
+ \def\@oddhead{
+ {\slshape\rightmark}%
+ \hfil\thepage
+ }%
+ \let\@mkboth\markboth
+ \def\chaptermark##1{%
+ \markright {\textsc{%
+ \ifnum\c@secnumdepth >\m@ne
+ \@tocseccntformat{chapter} \ %
+ \fi
+ ##1}}{}}
+ \def\sectionmark##1{%
+ \markright{
+ \MakeUppercase{
+ \ifnum \c@secnumdepth >\z@
+ \@tocseccntformat{section} \ %
+ \fi
+ ##1%
+ }
+ }
+ }
+ }
+\fi % \if@twoside
+
+\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
+}
+
+\newcommand\today{}
+
+\if@titlepage
+ \newcommand\titlefont{\Large\bfseries}
+ \newcommand\topiclabelfont{\large}
+ \newcommand\topicfont{\large\bfseries}
+ \newcommand\instfont{\normalfont}
+
+ \input{titledefs\substyle@ext}
+ \newcommand\maketitle{
+ \begin{titlepage}
+ \setcounter{page}{-1}
+ \thispagestyle{empty}
+ \vspace*{-1cm}
+ \centering\instfont\@institution\par
+ \makeatletter
+ \if@bachelor \input{bachelor\substyle@ext}\fi
+ \if@master \input{master\substyle@ext}\fi
+ \if@candidate\input{candidate\substyle@ext}\fi
+ \if@doctor \input{doctor\substyle@ext}\fi
+ \if@autoref \input{autoref\substyle@ext}\fi
+ \enlargethispage{2cm}
+ \vfill
+ \begin{center}
+ {\@city\\\@date}
+ \end{center}
+ {\null\endtitlepage}
+ \end{titlepage}
+ \normalsize
+ } % \newcommand\maketitle
+ \setcounter{footnote}{0}
+ \clearpage
+ \thispagestyle{empty}
+ \footskip=1cm
+\else %\if@titlepage
+ \newcommand\maketitle{%
+ \par
+ \begingroup
+ \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
+ \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
+ \long\def\@makefntext##1{%
+ \parindent 1em\noindent
+ \hb@xt@1.8em{\hss\@textsuperscript{\normalfont\@thefnmark}}##1%
+ }%
+ \if@twocolumn
+ \ifnum \col@number=\@ne
+ \@maketitle
+ \else
+ \twocolumn[\@maketitle]%
+ \fi
+ \else
+ \newpage
+ \global\@topnum\z@
+ \@maketitle
+ \fi
+ \thispagestyle{plain}
+ \endgroup
+ \setcounter{footnote}{0}%
+
+ \global\let\thanks\relax
+ \global\let\maketitle\relax
+ \global\let\@maketitle\relax
+ \global\let\@author\@empty
+ \global\let\@date\@empty
+ \global\let\@title\@empty
+ \global\let\title\relax
+ \global\let\author\relax
+ \global\let\date\relax
+ \global\let\and\relax
+ }
+ \def\@maketitle{%
+ \newpage
+ \null
+ \vskip 2em%
+ \begin{center}%
+ \let\footnote\thanks
+ {\titlefont\@title\par}%
+ \vskip 1.5em%
+ {\large\lineskip .5em%
+ \begin{tabular}[t]{c}%
+ \@author
+ \end{tabular}\par}%
+ \vskip 1em%
+ {\large \@date}%
+ \end{center}%
+ \par\vskip 1.5em%
+ }
+\fi % \if@titlepage
+
+\def\@postskip{\hskip1em}
+\newcommand\@pnumwidth{1.55em}
+\newcommand\@tocrmarg{2.55em}
+\newcommand\@dotsep{4.5}
+\def\tocfill#1{
+ \leaders\hbox{$\m@th \mkern \@dotsep mu\hbox{#1}\mkern \@dotsep mu$}
+}
+\newcommand\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
+\newdimen\bibindent
+\setlength\bibindent{1.5em}
+\newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
+\let\@openbib@code\@empty
+
+\newcommand\tableofcontents{%
+ \renewcommand\contentsname\newcontentsname
+ \if@twocolumn
+ \@restonecoltrue\onecolumn
+ \else
+ \@restonecolfalse
+ \fi
+ \thispagestyle{empty}
+ \chapter*{\contentsname%
+ \@mkboth{\MakeUppercase\contentsname}{\MakeUppercase\contentsname}
+ }%
+ \@starttoc{toc}%
+ \if@restonecol\twocolumn\fi
+ \clearpage
+}
+\newcommand\listoffigures{%
+ \if@twocolumn\@restonecoltrue\onecolumn
+ \else\@restonecolfalse\fi
+ \nchapter{
+ \listfigurename
+ \@mkboth{\MakeUppercase\listfigurename}{\MakeUppercase\listfigurename}%
+ }%
+ \@starttoc{lof}%
+ \if@restonecol\twocolumn\fi
+}
+\newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
+\newcommand\listoftables{%
+ \if@twocolumn
+ \@restonecoltrue\onecolumn
+ \else
+ \@restonecolfalse
+ \fi
+ \nchapter{
+ \listtablename
+ \@mkboth{\MakeUppercase\listtablename}{\MakeUppercase\listtablename}
+ }%
+ \@starttoc{lot}%
+ \if@restonecol\twocolumn\fi
+}
+\let\l@table\l@figure
+
+\newenvironment{thebibliography}[1]{}{}
+
+\newenvironment{theindex}{
+ \if@twocolumn\@restonecolfalse
+ \else\@restonecoltrue\fi
+ \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@}}
+
+\let\@afterindentfalse\@afterindenttrue
+\@afterindenttrue
+\usepackage[intlimits]{amsmath}
+\usepackage{amssymb,amsfonts}
+\DeclareSymbolFont{EulerExtension}{U}{euex}{m}{n}
+\DeclareMathSymbol\intop\mathop{EulerExtension}{"52}
+\DeclareMathSymbol\ointop\mathop{EulerExtension}{"48}
+\usepackage[square, comma, sort&compress]{natbib}
+\def\phantomchapter{%
+ \ifhref
+ \Hy@GlobalStepCount\Hy@linkcounter
+ \xdef\@currentHref{chapter*.\the\Hy@linkcounter}%
+ \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}%
+ \fi
+}
+\renewcommand\bibsection{\nchapter{\bibname}}
+\renewenvironment{thebibliography}[1]{%
+ \bibsection
+ \parindent \z@
+ \bibpreamble\bibfont
+ \list{\@biblabel{\arabic{NAT@ctr}}}%
+ {\@bibsetup{#1}\setcounter{NAT@ctr}{0}}%
+ \ifNAT@openbib
+ \renewcommand\newblock{\par}
+ \else
+ \renewcommand\newblock{\hskip .11em \@plus.33em \@minus.07em}%
+ \fi
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \sfcode`\.=1000\relax
+ \let\citeN\cite
+ \let\shortcite\cite
+ \let\citeasnoun\cite
+}{%
+ \def\@noitemerr{\PackageWarning{natbib}{Empty `thebibliography' environment}}
+ \endlist\vskip-\lastskip%
+}
+\ifpdf
+ \ifhref
+ \usepackage[pdftex,unicode,hyperfigures=true]{hyperref}
+ \hypersetup{
+ colorlinks = false,
+ bookmarksopen = true,
+ bookmarksnumbered = true,
+ bookmarksopenlevel = 2,
+ pdfstartview = {FitH},
+ pdfborder = {0 0 0}
+ }
+ \pdfcompresslevel = 9
+ \fi
+ \usepackage[pdftex]{graphicx}
+ \usepackage{cmap}
+\else
+ \ifhref\usepackage[hypertex,colorlinks=false,hyperfigures=true]{hyperref}\fi
+ \usepackage{graphicx}
+\fi
+\ifhref\usepackage{hypernat}\fi
+\usepackage[rflt]{floatflt}
+\ifsubf
+ \usepackage[normalsize]{subfigure}
+ \renewcommand*\@thesubfigure{\small\textit{\asbuk{subfigure}})}
+ \renewcommand*\@@thesubfigure{\textit{\asbuk{subfigure}})}
+ \renewcommand*\thesubfigure{,~\textit{\asbuk{subfigure}}}
+ \renewcommand*\@thesubfigure{\small\textit{\asbuk{subfigure}})}
+\fi
+
+\lccode `\-=`\-
+\defaulthyphenchar=127
+\endinput
+%%
+%% End of file `disser.cls'.
diff --git a/Master/texmf-dist/tex/latex/disser/doctor.rtx b/Master/texmf-dist/tex/latex/disser/doctor.rtx
new file mode 100644
index 00000000000..f827045cc63
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/disser/doctor.rtx
@@ -0,0 +1,44 @@
+%%
+%% This is file `doctor.rtx',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% doctor.dtx (with options: `doctor')
+%%
+%% Copyright (c) 2004-2007 Stanislav Kruchinin.
+%% All rights reserved.
+%%
+%% This file is part of the disser package.
+%%
+
+\def\firstskip{\vskip1.5cm}
+\def\secondskip{\vskip3cm}
+\def\thirdskip{\vskip1cm}
+\def\fourthskip{\vskip1cm}
+\def\fifthskip{\vskip1cm}
+
+\def\titlefont{\normalsize}
+\def\topicfont{\Large\bfseries}
+\def\authorfont{\large}
+\def\specfont{\normalsize}
+
+\normalfont
+\begin{flushright}
+ \firstskip
+ \asmanuscriptname\\
+ {\libcatname\;\@libcatnum}
+\end{flushright}
+\begin{center}
+ \secondskip
+ {\authorfont\@author}
+ \thirdskip
+ {\topicfont\@topic\par}
+ \fourthskip
+ {\specfont\@specnum~--\;\@spec}
+ \fifthskip
+ {\titlefont\@title}
+\end{center}
+\endinput
+%%
+%% End of file `doctor.rtx'.
diff --git a/Master/texmf-dist/tex/latex/disser/gost732.cls b/Master/texmf-dist/tex/latex/disser/gost732.cls
new file mode 100644
index 00000000000..ee23df423bb
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/disser/gost732.cls
@@ -0,0 +1,74 @@
+%%
+%% This is file `gost732.cls',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% gost732.dtx (with options: `gost732')
+%%
+%% Copyright (c) 2004-2007 Stanislav Kruchinin.
+%% All rights reserved.
+%%
+%% This file is part of the disser package.
+%%
+
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesClass{gost732}[2007/02/16 GOST 7.32-2001 implementation]
+
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{disser}}
+\ProcessOptions\relax
+\LoadClass[a4paper,14pt]{disser}
+
+\renewcommand\tocprethechapter{}
+\renewcommand\tocpostthechapter{\@postskip}
+\renewcommand\chapteralign{\raggedright}
+\renewcommand\thechapterfont{\Large\bfseries}
+\renewcommand\prethechapter{\newpage}
+\renewcommand\postthechapter{~}
+\renewcommand\postchapter{\vskip 16\p@}
+
+\renewcommand\postthesection{~}
+\renewcommand\tocpostthesection{~}
+
+\renewcommand\postthesubsection{~}
+\renewcommand\tocpostthesubsection{\@postskip}
+
+\renewcommand\postthesubsubsection{~}
+\renewcommand\tocpostthesubsubsection{\@postskip}
+
+\renewcommand\posttheparagraph{~}
+\renewcommand\tocposttheparagraph{\@postskip}
+
+\renewcommand\postthesubparagraph{~}
+\renewcommand\tocpostthesubparagraph{\@postskip}
+
+\newcommand\newbibname{\cyr\CYRS\cyrp\cyri\cyrs\cyro\cyrk\ %
+\cyri\cyrs\cyrp\cyro\cyrl\cyrsftsn\cyrz\cyro\cyrv\cyra\cyrn\cyrn\cyrery\cyrh\ %
+\cyri\cyrs\cyrt\cyro\cyrch\cyrn\cyri\cyrk\cyro\cyrv}
+
+\renewcommand\bibsection{%
+ \renewcommand\bibname\newbibname
+ \nchapter{\bibname}
+}
+\renewcommand\theenumi {\@asbuk\c@enumi}
+\renewcommand\theenumii {\@arabic\c@enumii}
+\renewcommand\theenumiii{\@roman\c@enumiii}
+\renewcommand\theenumiv {\@Asbuk\c@enumiv}
+
+\renewcommand\labelenumi {\theenumi)}
+\renewcommand\labelenumii {\theenumii)}
+\renewcommand\labelenumiii{\theenumiii)}
+\renewcommand\labelenumiv {\theenumiv)}
+
+\renewcommand\p@enumii {\theenumi}
+\renewcommand\p@enumiii {\theenumi.\theenumii}
+\renewcommand\p@enumiv {\p@enumiii.\theenumiii}
+
+\renewcommand\labelitemi {\normalfont\bfseries \textendash}
+\renewcommand\labelitemii {\textbullet}
+\renewcommand\labelitemiii{\textasteriskcentered}
+\renewcommand\labelitemiv {\textperiodcentered}
+
+\endinput
+%%
+%% End of file `gost732.cls'.
diff --git a/Master/texmf-dist/tex/latex/disser/master.rtx b/Master/texmf-dist/tex/latex/disser/master.rtx
new file mode 100644
index 00000000000..3c6d1940742
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/disser/master.rtx
@@ -0,0 +1,48 @@
+%%
+%% This is file `master.rtx',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% master.dtx (with options: `master')
+%%
+%% Copyright (c) 2004-2007 Stanislav Kruchinin.
+%% All rights reserved.
+%%
+%% This file is part of the disser package.
+%%
+
+\def\firstskip{\vspace*{1em}}
+\def\secondskip{\vspace*{1em}}
+\def\thirdskip{\vskip1.em}
+\def\fourthskip{\vspace*{-1cm}}
+\def\fifthskip{\vskip0em}
+
+\firstskip\@permitted\secondskip
+\begin{center}
+ {\titlefont\@title}
+ \par\thirdskip
+ {\topiclabelfont\topiclabel}
+ {\topicfont\@topic}
+ \par
+\end{center}
+\fourthskip
+\begin{tabbing}
+ \phantom{\masterproglabel}\=\\
+ \courselabel\>\ \@coursenum\ --\ \@course\\
+ \masterproglabel\>\ \@masterprognum\ --\ \@masterprog
+\end{tabbing}
+\fifthskip
+\begin{tabbing}
+ \studentlabel\;\groupname\;\@group\hspace{2cm}\=
+ \makebox[8.5cm][l]{\hrulefill\;\@author}
+\\[9pt]
+ \field{sa}
+\\[9pt]
+ \field{rev}
+\\[9pt]
+ \ifdefined\@con\field{con}\fi
+\end{tabbing}
+\endinput
+%%
+%% End of file `master.rtx'.
diff --git a/Master/texmf-dist/tex/latex/disser/titledefs.rtx b/Master/texmf-dist/tex/latex/disser/titledefs.rtx
new file mode 100644
index 00000000000..a299171e582
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/disser/titledefs.rtx
@@ -0,0 +1,119 @@
+%%
+%% This is file `titledefs.rtx',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% titledefs.dtx (with options: `titledefs')
+%%
+%% Copyright (c) 2004-2007 Stanislav Kruchinin.
+%% All rights reserved.
+%%
+%% This file is part of the disser package.
+%%
+\def\abstractname{\cyr\CYRA\cyrn\cyrn\cyro\cyrt\cyra\cyrc\cyri\cyrya}
+\def\titlepagename{\cyr\CYRT\cyri\cyrt\cyru\cyrl\cyrsftsn\cyrn\cyrery\cyrishrt\ %
+\cyrl\cyri\cyrs\cyrt}
+\def\keywordsname{\cyr\CYRK\cyrk\cyryu\cyrch\cyre\cyrv\cyrery\cyre\ %
+\cyrs\cyrl\cyro\cyrv\cyra}
+\def\keywordssep{:}
+\def\keywordslabel{\keywordsname\keywordssep}
+\def\yearname{\cyr\cyrg.}
+\def\workname{\cyr\CYRD\cyri\cyrs\cyrs\cyre\cyrr\cyrt\cyra\cyrc\cyri\cyrya}
+\def\disserpermit{\workname\ \cyrd\cyro\cyrp\cyru\cyrshch\cyre\cyrn\cyra\ %
+\cyrk\ \cyrz\cyra\cyrshch\cyri\cyrt\cyre}
+\def\hodname{\cyr\cyrz\cyra\cyrv.\ \cyrk\cyra\cyrf\cyre\cyrd\cyrr\cyro\cyrishrt}
+\def\groupname{\cyr\cyrg\cyrr.}
+\def\topicname{\cyr\CYRT\cyre\cyrm\cyra}
+\def\topicsep{:\ }
+\def\topiclabel{\topicname\topicsep}
+\def\coursename{\cyr\CYRN\cyra\cyrp\cyrr\cyra\cyrv\cyrl\cyre\cyrn\cyri\cyre}
+\def\coursesep{:}
+\def\courselabel{\coursename\coursesep}
+\def\specname{\cyr\CYRS\cyrp\cyre\cyrc\cyri\cyra\cyrl\cyrsftsn\cyrn\cyro\cyrs\cyrt\cyrsftsn}
+\def\specsep{:}
+\def\speclabel{\specname\specsep}
+\def\masterprogname{\cyr\CYRM\cyra\cyrg\cyri\cyrs\cyrt\cyre\cyrr\cyrs\cyrk\cyra\cyrya\ %
+\cyrp\cyrr\cyro\cyrg\cyrr\cyra\cyrm\cyrm\cyra}
+\def\masterprogsep{:}
+\def\masterproglabel{\masterprogname\masterprogsep}
+\def\studentname{\cyr\CYRV\cyrery\cyrp\cyro\cyrl\cyrn\cyri\cyrl\ %
+\cyrs\cyrt\cyru\cyrd\cyre\cyrn\cyrt}
+\def\studentlabel{\studentname}
+\def\saname{\cyr\CYRR\cyru\cyrk\cyro\cyrv\cyro\cyrd\cyri\cyrt\cyre\cyrl\cyrsftsn}
+\def\salabel{\saname}
+\def\revname{\cyr\CYRR\cyre\cyrc\cyre\cyrn\cyrz\cyre\cyrn\cyrt}
+\def\revlabel{\revname}
+\def\conname{\cyr\CYRK\cyro\cyrn\cyrs\cyru\cyrl\cyrsftsn\cyrt\cyra\cyrn\cyrt}
+\def\conlabel{\conname\ \cyrp\cyro\ \@conspec}
+\def\asmanuscriptname{\cyr\CYRN\cyra\ \cyrp\cyrr\cyra\cyrv\cyra\cyrh\ %
+\cyrr\cyru\cyrk\cyro\cyrp\cyri\cyrs\cyri}
+\def\libcatname{\cyr\CYRU\CYRD\CYRK}
+\def\consultname{\cyr\CYRK\cyro\cyrn\cyrs\cyru\cyrl\cyrsftsn\cyrt\cyra\cyrn\cyrt\cyrery:}
+\def\institution#1{\gdef\@institution{#1}}\institution{}
+\def\spec#1{\gdef\@spec{#1}}\spec{}
+\def\specnum#1{\gdef\@specnum{#1}}\specnum{}
+\def\course#1{\gdef\@course{#1}}\course{}
+\def\coursenum#1{\gdef\@coursenum{#1}}\coursenum{}
+\def\keywords#1{\gdef\@keywords{#1}}\keywords{}
+\def\title#1{\gdef\@title{#1}}\title{}
+\def\topic#1{\gdef\@topic{#1}}\topic{}
+\def\author#1{\gdef\@author{#1}}\author{}
+\def\city#1{\gdef\@city{#1}}\city{}
+\def\faculty#1{\gdef\@faculty{#1}}\faculty{}
+\def\department#1{\gdef\@department{#1}}\department{}
+\def\hod#1{\gdef\@hod{#1}}\hod{}
+\def\sa#1{\gdef\@sa{#1}}\sa{}
+\def\sastatus#1{\gdef\@sastatus{#1}}\sastatus{}
+\def\rev#1{\gdef\@rev{#1}}\rev{}
+\def\revstatus#1{\gdef\@revstatus{#1}}\revstatus{}
+\def\conspec#1{\gdef\@conspec{#1}}
+\def\con#1{\gdef\@con{#1}}
+\def\constatus#1{\gdef\@constatus{#1}}
+\def\libcatnum#1{\gdef\@libcatnum{#1}}\libcatnum{}
+\def\group#1{\gdef\@group{#1}}\group{}
+\def\masterprognum#1{\gdef\@masterprognum{#1}}\masterprognum{}
+\def\masterprog#1{\gdef\@masterprog{#1}}\masterprog{}
+
+\date{\number\year}
+\def\field#1{%
+ \csname #1label\endcsname,\ %
+ \csname @#1status\endcsname\>
+ \makebox[8.5cm][l]{\hrulefill\ \csname @#1\endcsname}
+}
+\def\@permitted{
+ \begin{tabbing}
+ \hspace{8cm}\={\disserpermit}
+\\
+ \>\hodname
+\\[9pt]
+ \>\makebox[8.5cm][r]{\hrulefill\ \@hod}
+\\[9pt]
+ \>\makebox[1.5cm][r]{<<\hrulefill>>}
+ \makebox[7cm][r]{\hrulefill\ \@date\,\yearname}
+ \end{tabbing}
+}
+
+\def\yearname{\cyr\cyrg.}
+\newcommand\datefield[1][\number\year]{<<\rule[0pt]{1cm}{.5pt}\,>>%
+\rule[0pt]{3cm}{0.5pt}\ #1~\yearname}
+
+\def\newcontentsname{\cyr\CYRS\cyro\cyrd\cyre\cyrr\cyrzh\cyra\cyrn\cyri\cyre}
+
+\def\introname{{\cyr\CYRV\cyrv\cyre\cyrd\cyre\cyrn\cyri\cyre}}
+\newcommand\intro{\nchapter{\introname}}
+\def\conclusionname{%
+{\cyr\CYRZ\cyra\cyrk\cyrl\cyryu\cyrch\cyre\cyrn\cyri\cyre}
+}
+\newcommand\conclusion{\nchapter{\conclusionname}}
+\def\defsname{%
+{\cyr\CYRI\cyrs\cyrp\cyro\cyrl\cyrsftsn\cyrz\cyru\cyre\cyrm\cyrery\cyre\ %
+\cyro\cyrb\cyro\cyrz\cyrn\cyra\cyrch\cyre\cyrn\cyri\cyrya}
+}
+\newcommand\defs{\nchapter{\defsname}}
+\def\reviewname{\cyr\CYRO\cyrb\cyrz\cyro\cyrr\ %
+\cyrl\cyri\cyrt\cyre\cyrr\cyra\cyrt\cyru\cyrr\cyrery}
+\newcommand\review{\nchapter{\reviewname}}
+\endinput
+%%
+%% End of file `titledefs.rtx'.