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
|
\LoadClass[14pt,a4paper,oneside]{extarticle}
\RequirePackage[utf8]{inputenc}
\RequirePackage[T2A]{fontenc}
\RequirePackage[english,russian]{babel}
\usepackage[
a4paper, mag=1000,
left=2.5cm, right=1.5cm,
top=2.7cm, bottom=2cm,
]{geometry}
\RequirePackage[hidelinks,colorlinks=false]{hyperref}
\RequirePackage{url}
\RequirePackage{indentfirst}
\RequirePackage{fancyhdr}
\pagestyle{fancy}
\fancyfoot{}
\fancyhead{}
\fancyhead[L]{\rightmark}
\fancyhead[C]{}
\fancyhead[R]{\thepage}
\renewcommand{\headrulewidth}{0.7pt}
\RequirePackage{setspace}
\singlespacing
% --- TITLE PAGE --- %
\renewcommand{\maketitle}
{
\afterpage{
\newgeometry{
left=2cm, right=1.5cm,
top=2cm, bottom=2cm
}
% Suppresses displaying the page number on the title page and the subsequent page counts as page 1
\begin{titlepage}
% Defines a new command for horizontal lines, change thickness here
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
\center
% --- Headings --- %
\textsc{\Large Саратовский Государственный Университет}\\[0.2cm]
\textsc{\normalsize Факультет Компьютерных Наук и Информационных Технологий}\\[0.5cm]
% --- Title --- %
\HRule\\[0.6cm]
{\LARGE \bfseries\textsc \@title}\\[0.3cm]
\HRule\\[1.5cm]
% --- Author(s) --- %
{\large\textit{Законспектировано:}}\\
\textsc{\@author}
% --- Date --- %
% Position the date 3/4 down the remaining page
\vfill\vfill\vfill\vfill\vfill\vfill
{\large\@date}
% Push the date up 1/4 of the remaining page
\vfill
\end{titlepage}
\clearpage
\restoregeometry
}
}
|