summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/disser/candidate.dtx
blob: 72da7f01b0e86211cd3e1ebebdcf9a9955c13fc0 (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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
%    \begin{macrocode}

%<candidate>\ProvidesFile{candidate.rtx}

%<*candidate>
%    \end{macrocode}
% \subsubsection{Ñòèëü êàíäèäàòñêîé äèññåðòàöèè}
%
% Íóìåðàöèÿ.
%    \begin{macrocode}
\newcommand\candidate@the{\default@the}
\candidate@the

%    \end{macrocode}
% Òèòóëüíûé ëèñò.
% \DescribeMacro{\maketitle}\index{Ìàêðîñû!\verb*+\maketitle+}
%    \begin{macrocode}
\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\salabel{\saname}
  \def\sasndname{\saname}
  \def\sasndlabel{\sasndname}
  \def\sconname{Scientific Consultant}
  \def\sconlabel{\sconname}
  \def\sconsndname{\sconname}
  \def\sconsndlabel{\sconsndname}
  \def\topicname{Topic}
  \def\asmanuscript{As Manuscript}
\fi

%    \end{macrocode}
% Âåðòèêàëüíûå èíòåðâàëû ìåæäó ýëåìåíòàìè òèòóëüíîãî ëèñòà.
% \DescribeMacro{\firstskip}\index{Ðàññòîÿíèÿ!\verb*+\firstskip+}
% \DescribeMacro{\secondskip}\index{Ðàññòîÿíèÿ!\verb*+\secondskip+}
% \DescribeMacro{\thirdskip}\index{Ðàññòîÿíèÿ!\verb*+\thirdskip+}
% \DescribeMacro{\fourthskip}\index{Ðàññòîÿíèÿ!\verb*+\fourthskip+}
% \DescribeMacro{\fifthskip}\index{Ðàññòîÿíèÿ!\verb*+\fifthskip+}
% \DescribeMacro{\sixthskip}\index{Ðàññòîÿíèÿ!\verb*+\sixthskip+}
% \DescribeMacro{\saskip}\index{Ðàññòîÿíèÿ!\verb*+\saskip+}
% \DescribeMacro{\specskip}\index{Ðàññòîÿíèÿ!\verb*+\specskip+}
%    \begin{macrocode}
\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}
\ifundeflength\specskip{-6pt}
\ifundeflength\saskip{0pt}

%    \end{macrocode}
% Øðèôòû ýëåìåíòîâ òèòóëüíîãî ëèñòà.
% \DescribeMacro{\titlefont}\index{Ìàêðîñû!\verb*+\titlefont+}
% \DescribeMacro{\topicfont}\index{Ìàêðîñû!\verb*+\topicfont+}
% \DescribeMacro{\authorfont}\index{Ìàêðîñû!\verb*+\authorfont+}
% \DescribeMacro{\specfont}\index{Ìàêðîñû!\verb*+\specfont+}
%    \begin{macrocode}
\def\titlefont{\normalsize}
\def\topicfont{\Large\bfseries}
\def\authorfont{\large}
\def\specfont{\normalsize}

\thispagestyle{empty}
\enlargethispage{1cm}
\vspace*{-2cm}
%    \end{macrocode}
% \paragraph{Íàçâàíèå îðãàíèçàöèè}
%    \begin{macrocode}
\begin{center}
  \instfont\@institution\par
\end{center}
\vskip\firstskip
\begin{flushright}
%    \end{macrocode}
% Ãðèô ñåêðåòíîñòè
%    \begin{macrocode}
  \ifDis@classified\classify\fi
%    \end{macrocode}
% Íà ïðàâàõ ðóêîïèñè
%    \begin{macrocode}
  \asmanuscript%\\ %avoid no line to end error
%    \end{macrocode}
% Ôàêñèìèëå
%    \begin{macrocode}
  \ifDis@facsimile\facsimile\fi
%    \end{macrocode}
% Íîìåð ÓÄÊ
%    \begin{macrocode}
  \ifDis@libcat\libcatname\ \@libcatnum\fi
\end{flushright}
\begin{center}
%    \end{macrocode}
% Àâòîð
%    \begin{macrocode}
  \vskip\secondskip
  {\authorfont\@author}
%    \end{macrocode}
% Íàçâàíèå äèññåðòàöèè
%    \begin{macrocode}
  \vskip\thirdskip
  {\topicfont\@topic\par}
%    \end{macrocode}
% Øèôð è íàèìåíîâàíèå ñïåöèàëüíîñòè
%    \begin{macrocode}
  \vskip\fourthskip
  {\specfont\@specnum~--\ \@spec}
  \ifx\@specsndnum\empty\else
    \vskip\specskip
	{\specfont\@specsndnum~--\ \@specsnd}
  \fi
%    \end{macrocode}
% Äèññåðòàöèÿ íà ñîèñêàíèå ó÷åíîé ñòåïåíè...
%    \begin{macrocode}
  \vskip\fifthskip
  {\titlefont\@title}
\end{center}
%    \end{macrocode}
% Íàó÷íûé ðóêîâîäèòåëü
%    \begin{macrocode}
\ifx\@sa\empty\else
  \vskip\sixthskip\disserfield{sa}
\fi
\ifx\@sasnd\empty\else
  \vskip\saskip\disserfield{sasnd}
\fi
%    \end{macrocode}
% Íàó÷íûé êîíñóëüòàíò
%    \begin{macrocode}
\ifx\@scon\empty\else
  \vskip\saskip
  \disserfield{scon}
\fi
\ifx\@sconsnd\empty\else
  \vskip\saskip
  \disserfield{sconsnd}
\fi
%    \end{macrocode}
% \paragraph{Ãîðîä è ãîä}
%    \begin{macrocode}
\vfill
\begin{center}
  {\@city\cdsep\@date}
\end{center}
\normalfont\clearpage
}\fi
%</candidate>
%    \end{macrocode}