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

%<bachelor>\ProvidesFile{bachelor.rtx}

%<*bachelor>
%    \end{macrocode}
% \subsubsection{Ñòèëü áàêàëàâðñêîé ðàáîòû}
%
% Íóìåðàöèÿ.
%    \begin{macrocode}
\newcommand\bachelor@the{\default@the}
\bachelor@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}}
\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{1.5cm}
\ifundeflength\secondskip{1.5cm}
\ifundeflength\thirdskip{1ex}
\ifundeflength\fourthskip{1ex}
\ifundeflength\fifthskip{2cm}
\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}

%    \end{macrocode}
% Ðàáîòà
% \DescribeMacro{\workname}\index{Ìàêðîñû!\verb*+\topicfont+}
%    \begin{macrocode}
\def\workname{\CYRR\cyra\cyrb\cyro\cyrt\cyra}

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

%    \end{macrocode}
% Äèññåðòàöèÿ äîïóùåíà ê çàùèòå
%    \begin{macrocode}
\vskip\firstskip
{\@approved}
\vskip\secondskip

%    \end{macrocode}
% Çàãîëîâîê, òåìà.
%    \begin{macrocode}
\begin{center}%
  {\titlefont\@title\par}%
  \vskip\thirdskip%
  {\topiclabelfont\topiclabel\ }%
  {\topicfont\@topic}
  \vskip\fourthskip\normalfont%
  \courselabel\ \@coursenum~--\ \@course%
\end{center}

%    \end{macrocode}
% Ñïåöèàëüíîñòü, àâòîð, ðóêîâîäèòåëü.
%    \begin{macrocode}
\vskip\fifthskip
\begin{tabbing}
  \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{tabbing}
%    \end{macrocode}
% \paragraph{Ãîðîä è ãîä}
%    \begin{macrocode}
\vfill
\begin{center}
  {\@city\cdsep\@date}
\end{center}
\normalfont\clearpage
}\fi
%</bachelor>
%    \end{macrocode}