From 3f85a1acea9cff9acb955a6ba14adda11a907b00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=D1=91dor=20T?= Date: Mon, 11 Aug 2025 23:12:20 +0300 Subject: [PATCH 1/3] Fix multiline faculties and departments in header --- tex/latex/bmstu-iu8/styles/IU8-10-titlepage.sty | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tex/latex/bmstu-iu8/styles/IU8-10-titlepage.sty b/tex/latex/bmstu-iu8/styles/IU8-10-titlepage.sty index 8249f46..4ec93c7 100644 --- a/tex/latex/bmstu-iu8/styles/IU8-10-titlepage.sty +++ b/tex/latex/bmstu-iu8/styles/IU8-10-titlepage.sty @@ -119,8 +119,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} } From e2bdc52f994e2ea3440f74cb562fcf8b4a212b6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=D1=91dor=20T?= Date: Fri, 7 Feb 2025 10:39:59 +0300 Subject: [PATCH 2/3] Added \zerotocindent option --- tex/latex/bmstu-iu8/styles/IU8-13-contents.sty | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/tex/latex/bmstu-iu8/styles/IU8-13-contents.sty b/tex/latex/bmstu-iu8/styles/IU8-13-contents.sty index 83e661f..ba4dedf 100644 --- a/tex/latex/bmstu-iu8/styles/IU8-13-contents.sty +++ b/tex/latex/bmstu-iu8/styles/IU8-13-contents.sty @@ -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} % Глубина заголовков - до пятого уровня From 93e361533cbe6abc3385cb672443e6e46e1b7d5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=D1=91dor=20T?= Date: Thu, 4 Sep 2025 18:40:54 +0300 Subject: [PATCH 3/3] Added an optional macro to count title page in page numbering --- tex/latex/bmstu-iu8/styles/IU8-10-titlepage.sty | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tex/latex/bmstu-iu8/styles/IU8-10-titlepage.sty b/tex/latex/bmstu-iu8/styles/IU8-10-titlepage.sty index 4ec93c7..2f63d49 100644 --- a/tex/latex/bmstu-iu8/styles/IU8-10-titlepage.sty +++ b/tex/latex/bmstu-iu8/styles/IU8-10-titlepage.sty @@ -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~г.} @@ -295,4 +298,5 @@ \clearpage \end{titlepage} + \@counttitlepage }