From 1fbe5a33c333d79bb9ba53ae4a52344f7de8d294 Mon Sep 17 00:00:00 2001
From: eug-vs <eugene@eug-vs.xyz>
Date: Mon, 21 Mar 2022 22:42:07 +0300
Subject: feat: use BSU style

---
 include/bsupracticetitle.sty | 68 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 68 insertions(+)
 create mode 100644 include/bsupracticetitle.sty

(limited to 'include/bsupracticetitle.sty')

diff --git a/include/bsupracticetitle.sty b/include/bsupracticetitle.sty
new file mode 100644
index 0000000..3d5e500
--- /dev/null
+++ b/include/bsupracticetitle.sty
@@ -0,0 +1,68 @@
+% Source: https://github.com/bsutex/bsustyle/blob/master/style/bsupracticetitle.sty
+
+\newcommand*{\mentor}[1]{\gdef\@mentor{#1}}
+\newcommand*{\@mentor}{}
+
+\newcommand*{\subfaculty}[1]{\gdef\@subfaculty{#1}}
+\newcommand*{\@subfaculty}{}
+
+\newcommand*{\supervisor}[1]{\gdef\@supervisor{#1}}
+\newcommand*{\@supervisor}{}
+
+
+\renewcommand{\maketitle}
+{
+\begin{titlepage}
+  \begin{center}
+  \textbf{
+    МИНИСТЕРСТВО ОБРАЗОВАНИЯ РЕСПУБЛИКИ БЕЛАРУСЬ\\
+    \vspace{1em}
+    БЕЛОРУССКИЙ ГОСУДАРСТВЕННЫЙ УНИВЕРСИТЕТ\\
+    \vspace{1em}
+    ФАКУЛЬТЕТ ПРИКЛАДНОЙ МАТЕМАТИКИ И ИНФОРМАТИКИ\\
+    \vspace{1em}
+    \@subfaculty
+  }
+  \end{center}
+
+  \vspace{10em}
+
+  \begin{center}
+    \large\textbf {\@author} \\
+    \vspace{1em}
+    \large\textbf{\@title} \\
+    \vspace{2em}
+    Отчет о прохождении преддипломной практики
+  \end{center}
+
+  \vspace{3em}
+
+  \begin{flushright}
+    \begin{minipage}[H]{0.35\textwidth}
+      \begin{flushleft}
+        \textbf{Руководитель практики} \\
+        \textit{\@supervisor}
+        \line(1,0){150}
+      \end{flushleft}
+    \end{minipage}
+  \end{flushright}
+
+  \begin{flushright}
+    \begin{minipage}[H]{0.35\textwidth}
+      \begin{flushleft}
+        \textbf{Научный руководитель} \\
+        \textit{\@mentor} \\
+        \line(1,0){150}
+      \end{flushleft}
+    \end{minipage}
+  \end{flushright}
+
+  \vspace{2em}
+
+  \vfill
+
+  \begin{center}
+    Минск, \the\year
+  \end{center}
+\end{titlepage}
+}
-- 
cgit v1.2.3

