-
Notifications
You must be signed in to change notification settings - Fork 0
/
bachelor.rtx
101 lines (89 loc) · 2.53 KB
/
bachelor.rtx
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
%%
%% This is file `bachelor.rtx',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% bachelor.dtx (with options: `bachelor')
%%
%% Copyright (c) 2004-2010 Stanislav Kruchinin.
%% All rights reserved.
%%
%% This file is part of the disser package.
%%
%% Modified by Vladimir Smirnov, 2011
%% Changes: some modifications to conform MEPHI's requiments
\ProvidesFile{bachelor.rtx}
\newcommand\bachelor@the{\default@the}
\bachelor@the
\if@titlepage\renewcommand\maketitle[1][]{
\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}
\fi
\ifundeflength\firstskip{1.5cm}
\ifundeflength\secondskip{1.5cm}
\ifundeflength\thirdskip{1ex}
\ifundeflength\fourthskip{1ex}
\ifundeflength\fifthskip{2cm}
\ifundeflength\sixthskip{1.5ex}
\setlength\fieldhshift{8.5cm}
\def\titlefont{\Large\bfseries}
\def\topiclabelfont{\large}
\def\topicfont{\large\bfseries}
\def\workname{\CYRR\cyra\cyrb\cyro\cyrt\cyra}
\thispagestyle{empty}
\enlargethispage{2cm}
\vspace*{-2cm}
\begin{center}%
{\instfont\@institution}
\end{center}
\vskip\firstskip
{\@approved}
\vskip\secondskip
\begin{center}%
{\titlefont\@title\par}%
\vskip\thirdskip%
{\topiclabelfont\topiclabel\ }%
{\topicfont\@topic}
\vskip\fourthskip\normalfont%
% MEPHI's workaround #1: We don't specify course name
% \courselabel\ \@coursenum~--\ \@course%
\end{center}
% MEPHI's workaround #2
\providecommand\diplomafield[1]{%
\csname #1label\endcsname,\\%
\csname @#1status\endcsname\>
\makebox[\fieldhshift][l]{\hrulefill\ \csname @#1\endcsname}
}
\vskip\fifthskip
\begin{tabbing}
\studentname\ \cyrg\cyrr.\ \@group\hspace{0.12cm}\=\makebox[11.2cm][l]{\hrulefill\ \@author}\\[\sixthskip]
\salabel\hspace{1.7cm}\=\makebox[11.2cm][l]{\hrulefill\ \@sa}\\[\sixthskip]
% MEPHI's workaround #3
\revlabel\hspace{4.7cm}\=\makebox[11.2cm][l]{\hrulefill\ \@rev}\\[\sixthskip]
% \ifx\@sa\empty\else\sal\diplomafield{sa}\\[\sixthskip]\fi
\ifx\@sasnd\empty\else\diplomafield{sasnd}\\[\sixthskip]\fi
\end{tabbing}
\vfill
\begin{center}
{\@city\cdsep\@date}
\end{center}
\normalfont\clearpage
}\fi
\endinput
%%
%% End of file `bachelor.rtx'.