blob: 60c44ad593a6abff2dadda04992e6ea1a8587046 (
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
|
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{spbstu-report}[2023/05/12 Класс для отчетов]
%
% Support font sizes: 12pt, 14pt
%
\DeclareOption{12pt}{\PassOptionsToClass{\CurrentOption}{extarticle}}
\DeclareOption{14pt}{\PassOptionsToClass{\CurrentOption}{extarticle}}
\ProcessOptions\relax
\LoadClass[a4paper]{gost-7-32}
\RequirePackage{csquotes}
\RequirePackage{amsmath}
\RequirePackage{amssymb}
\RequirePackage{adjustbox}
\RequirePackage{graphicx}
\RequirePackage{wrapfig}
\RequirePackage{rotating}
\newcommand{\@reportof}{}\newcommand{\reportof}[1]{\renewcommand{\@reportof}{#1}}
\newcommand{\@university}{}\newcommand{\university}[1]{\renewcommand{\@university}{#1}}
\newcommand{\@institute}{}\newcommand{\institute}[1]{\renewcommand{\@institute}{#1}}
\newcommand{\@school}{}\newcommand{\school}[1]{\renewcommand{\@school}{#1}}
\newcommand{\@direction}{}\newcommand{\direction}[1]{\renewcommand{\@direction}{#1}}
\newcommand{\@subject}{}\newcommand{\subject}[1]{\renewcommand{\@subject}{#1}}
\newcommand{\@reviewer}{}\newcommand{\reviewer}[1]{\renewcommand{\@reviewer}{#1}}
\newcommand{\@reviewertitle}{}\newcommand{\reviewertitle}[1]{\renewcommand{\@reviewertitle}{#1}}
\newcommand{\signdate}{$\underset{\centering\text{\normalsize подпись, дата}}{\underline{\hspace{5cm}}}$}
\newcommand{\@city}{}\newcommand{\city}[1]{\renewcommand{\@city}{#1}}
\renewcommand{\maketitle}{
\begin{titlepage}
\begin{center}
\vspace{2cm}
\small{МИНИСТЕРСТВО НАУКИ И ВЫСШЕГО ОБРАЗОВАНИЯ РОССИЙСКОЙ ФЕДЕРАЦИИ}
\normalsize{\@university}
\vspace{0.5cm}
\normalsize{\@institute}
\normalsize{\@school}
\normalsize{Направление \@direction}
\vspace{2cm}
\LARGE{ОТЧЁТ}
\normalsize{\@reportof}
\large{\@subject}
\large{\textit{\@title}}
\end{center}
\vspace{3cm}
\small{
\begin{tabular}{lrrl}
\!\!\!Студент, & \hspace{2cm} & & \\
\!\!\!группы 5130201/20101 & \hspace{2cm} & \underline{\hspace{3cm}} & \@author \\\\
\!\!\!Преподаватель, & \hspace{2cm} & \\
\!\!\!\@reviewertitle & \hspace{2cm} & \underline{\hspace{3cm}} & \@reviewer \\\\
&&\hspace{5cm}
\end{tabular}
\begin{flushright}
\enquote{\underline{\hspace{1cm}}}\underline{\hspace{2.5cm}} \@date г.
\end{flushright}
}
\vspace*{\fill}
\begin{center}
\small{\@city, \@date}
\end{center}
\end{titlepage}
\setcounter{page}{2}
}
|