summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/disser/candidate.rtx
blob: b0b85c1f0bf124f5c308071ebb9a2b0e3a7f0522 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
%%
%% This is file `candidate.rtx',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% candidate.dtx  (with options: `candidate')
%% 
%% Copyright (c) 2004-2010 Stanislav Kruchinin.
%% All rights reserved.
%% 
%% This file is part of the disser package.
%% 

\ProvidesFile{candidate.rtx}

\newcommand\candidate@the{\default@the}
\candidate@the

\if@titlepage\renewcommand\maketitle[1][]{
\ifthenelse{\equal{#1}{en}}{\@titlepage@entrue}{\@titlepage@enfalse}
\if@titlepage@en
  \def\appos{Head of Department}
  \def\saname{Scientific Supervisor}
  \def\sasndname{\saname}
  \def\salabel{\saname}
  \def\sasndlabel{\saname}
  \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{2ex}
  \else
    \setlength\firstskip{4ex}
  \fi
\fi
\ifundeflength\secondskip{2cm}
\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\@sa\empty\else
  \vskip\sixthskip\disserfield{sa}
\fi
\ifx\@sasnd\empty\else
  \vskip\sixthskip\disserfield{sasnd}
\fi
\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 `candidate.rtx'.