Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions tex/latex/bmstu-iu8/styles/IU8-10-titlepage.sty
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@
\newcommand{\version}[1]{\gdef\@version{Вариант #1}} % Если указан вариант, то определяем команду
\providecommand{\@version}{~} % Если не указан вариант, то заменяем на пустоту

\newcommand{\counttitlepage}{\gdef\@counttitlepage{ \stepcounter{page} }}
\providecommand{\@counttitlepage}{}

\RequirePackage{fancyhdr}
\fancypagestyle{year}{
\fancyfoot[C]{\itshape Москва, \the\year~г.}
Expand Down Expand Up @@ -119,8 +122,10 @@
\end{center}
\begin{flushleft}
\fontsize{12pt}{14pt}\selectfont
ФАКУЛЬТЕТ \tabto{3cm} \@faculty \\
КАФЕДРА \tabto{3cm} \@department
\begin{tabularx}{\linewidth}{Xp{0.75\linewidth}}
ФАКУЛЬТЕТ \tabto{3cm} & \@faculty \\
КАФЕДРА \tabto{3cm} & \@department
\end{tabularx}
\end{flushleft}
}

Expand Down Expand Up @@ -293,4 +298,5 @@

\clearpage
\end{titlepage}
\@counttitlepage
}
18 changes: 14 additions & 4 deletions tex/latex/bmstu-iu8/styles/IU8-13-contents.sty
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,29 @@
\@starttoc{toc}
}


% Нулевой отступ в содержании (TestVKR)
\newcommand{\zerotocindent}{\gdef\@tocindentsec{0mm} \gdef\@tocindentsubsec{0mm} \gdef\@tocindentsubsubsec{0mm}}

% Дефолтные значения
\providecommand{\@tocindentsec}{5mm}
\providecommand{\@tocindentsubsec}{10mm}
\providecommand{\@tocindentsubsubsec}{15mm}


\renewcommand*\l@section{\@dottedtocline{0}{0mm}{2em}}
\renewcommand*\l@structure{\@dottedtocline{0}{0mm}{0em}}
% ГОСТ 7.32-2017. Пункт 5.4.1:
% Обозначения подразделов приводят после абзацного отступа,
% равного двум знакам, относительно обозначения разделов.
\renewcommand*\l@section{\@dottedtocline{1}{5mm}{3em}}
\renewcommand*\l@subsection{\@dottedtocline{1}{10mm}{3em}}
\renewcommand*\l@section{\@dottedtocline{1}{\@tocindentsec}{3em}}
\renewcommand*\l@subsection{\@dottedtocline{1}{\@tocindentsubsec}{3em}}
% ГОСТ 7.32-2017. Пункт 5.4.1:
% Обозначения пунктов приводят после абзацного отступа,
% равного четырем знакам, относительно обозначения разделов.
\renewcommand*\l@subsubsection{\@dottedtocline{2}{15mm}{4em}}
\renewcommand*\l@subsubsection{\@dottedtocline{2}{\@tocindentsubsubsec}{4em}}
% Остальное - индуктивно
\renewcommand*\l@paragraph{\@dottedtocline{3}{15mm}{5em}}
\renewcommand*\l@paragraph{\@dottedtocline{3}{\@tocindentsubsubsec}{5em}}


\setcounter{secnumdepth}{5} % Глубина заголовков - до пятого уровня
Expand Down