Minor fixes

This commit is contained in:
Daniel Haus 2026-02-26 10:02:48 +03:00
parent adc7254140
commit 61b5132a40
6 changed files with 52 additions and 37 deletions

View file

@ -2,13 +2,22 @@
\renewcommand{\cfttoctitlefont}{\hfill\bfseries\fontsize{14pt}{16pt}\selectfont}
\renewcommand{\cftaftertoctitle}{\hfill}
\renewcommand{\contentsname}{\MakeUppercase{Содержание}}
% Принудительная установка шрифта для всего документа
\fontsize{14pt}{16.8pt}\selectfont
% Центрируем заголовок "Содержание"
\renewcommand{\cfttoctitlefont}{\hfill\bfseries}
\renewcommand{\cftaftertoctitle}{\hfill}
\renewcommand{\contentsname}{\MakeUppercase{Содержание}}
% Команда для восстановления шрифта после таблиц
\newcommand{\resetfont}{\fontsize{14pt}{16.8pt}\selectfont}
\newcommand{\resetfont}{\normalfont}
% Настройка заголовков разделов
\titleformat*{\section}{\normalfont\fontsize{14pt}{16.8pt}\bfseries}
\titleformat*{\subsection}{\normalfont\fontsize{14pt}{16.8pt}\bfseries}
\titleformat*{\subsubsection}{\normalfont\fontsize{14pt}{16.8pt}\bfseries}
% Настройка заголовков разделов (без указания размера)
\titleformat*{\section}{\normalfont\bfseries}
\titleformat*{\subsection}{\normalfont\bfseries}
\titleformat*{\subsubsection}{\normalfont\bfseries}
\AtBeginEnvironment{tabular}{\fontsize{8.57pt}{10.28pt}\selectfont}
\AtBeginEnvironment{longtable}{\fontsize{8.57pt}{10.28pt}\selectfont}
\renewcommand{\arraystretch}{0.93}