summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/disser/master.dtx
blob: 80e167c79bf46ecf79e94ef834afe62276e7f6bc (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
%    \begin{macrocode}

%<master>\ProvidesFile{master.rtx}

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

%    \end{macrocode}
% Òèòóëüíûé ëèñò.
% \DescribeMacro{\maketitle}\index{Ìàêðîñû!\verb*+\maketitle+}
%    \begin{macrocode}
\if@titlepage\renewcommand\maketitle[1][]{
%    \end{macrocode}
% Ïåðåîïðåäåëåíèÿ íåêîòîðûõ ïîëåé òèòóëüíîãî ëèñòà äëÿ àíãëîÿçû÷íîé âåðñèè.
%    \begin{macrocode}
\ifthenelse{\equal{#1}{en}}{\@titlepage@entrue}{\@titlepage@enfalse}
\if@titlepage@en
  \def\appos{Head of Department}
  \def\approved{``Approved for defence''}
  \def\revname{Reviewer}
  \def\revsndname{\revname}
  \def\revlabel{\revname}
  \def\revsndlabel{\revsndname}
  \def\saname{Scientific Supervisor}
  \def\sasndname{\saname}
  \def\salabel{\saname}
  \def\sasndlabel{\saname}
  \def\topicname{Topic}
  \def\coursename{Speciality}
  \def\studentname{Student}
  \def\studentlabel{\studentname\hspace{6cm}}
  \def\masterprogname{Master's Program}
\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+}
%    \begin{macrocode}
\ifundeflength\firstskip{1ex}
\ifundeflength\secondskip{1ex}
\ifundeflength\thirdskip{1ex}
\ifundeflength\fourthskip{-1cm}
\ifundeflength\fifthskip{0ex}
\ifundeflength\sixthskip{1.5ex}

%    \end{macrocode}
% Ãîðèçîíòàëüíûé îòñòóï ïåðåä ÷åðòîé â òåêñòîâûì ïîëå äëÿ èìåíè, ó÷åíîé
% ñòåïåíè è çâàíèÿ íàó÷íîãî ðóêîâîäèòåëÿ è êîíñóëüòàíòà.
% \DescribeMacro{\fieldhshift}\index{Ðàññòîÿíèÿ!\verb*+\fieldhshift+}
%    \begin{macrocode}
\setlength\fieldhshift{8.5cm}

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

\thispagestyle{empty}
\enlargethispage{1cm}
\vspace*{-2cm}
%    \end{macrocode}
% \paragraph{Íàçâàíèå îðãàíèçàöèè}
%    \begin{macrocode}
\begin{center}
\instfont\@institution\par
\end{center}

%    \end{macrocode}
% Äèññåðòàöèÿ äîïóùåíà ê çàùèòå
%    \begin{macrocode}
\vskip\firstskip
\@approved
\vskip\secondskip
\begin{center}
%    \end{macrocode}
% Çàãîëîâîê.
%    \begin{macrocode}
  {\titlefont\@title}
  \vskip\thirdskip
%    \end{macrocode}
% Òåìà
%    \begin{macrocode}
  {\topiclabelfont\topiclabel}
  {\topicfont\@topic}
\end{center}
\vskip\fourthskip
\begin{tabbing}
  \phantom{\masterproglabel}\=\\
%    \end{macrocode}
% Íàïðàâëåíèå
%    \begin{macrocode}
  \courselabel\>\ \@coursenum\ --\ \@course\\
%    \end{macrocode}
% Ìàãèñòåðñêàÿ ïðîãðàììà: íîìåð -- íàçâàíèå.
%    \begin{macrocode}
  \masterproglabel\>\ \@masterprognum\ --\ \@masterprog
\end{tabbing}
\vskip\fifthskip
\begin{tabbing}
%    \end{macrocode}
%
% Âûïîëíèë ñòóäåíò ãð. íîìåð...
%    \begin{macrocode}
  \studentlabel\=\makebox[\fieldhshift][l]{\hrulefill\ \@author}\\[\sixthskip]
%    \end{macrocode}
% Íàó÷íûé ðóêîâîäèòåëü.
%    \begin{macrocode}
  \ifx\@sa\empty\else\diplomafield{sa}\\[\sixthskip]\fi
  \ifx\@sasnd\empty\else\diplomafield{sasnd}\\[\sixthskip]\fi
%    \end{macrocode}
%
% Ðåöåíçåíò
%    \begin{macrocode}
  \ifx\@rev\empty\else\diplomafield{rev}\\[\sixthskip]\fi
  \ifx\@revsnd\empty\else\diplomafield{revsnd}\\[\sixthskip]\fi
%    \end{macrocode}
%
% Êîíñóëüòàíò
%    \begin{macrocode}
  \ifx\@con\empty\else\diplomafield{con}\\[9pt]\fi
  \ifx\@consnd\empty\else\diplomafield{consnd}\fi
\end{tabbing}
%    \end{macrocode}
% \paragraph{Ãîðîä è ãîä}
%    \begin{macrocode}
\vfill
\begin{center}
  {\@city\cdsep\@date}
\end{center}
\normalfont\clearpage
}\fi
%</master>
%    \end{macrocode}