% Центрируем заголовок "Содержание" \renewcommand{\cfttoctitlefont}{\hfill\bfseries\fontsize{14pt}{16pt}\selectfont} \renewcommand{\cftaftertoctitle}{\hfill} \renewcommand{\contentsname}{\MakeUppercase{Содержание}} % Центрируем заголовок "Содержание" \renewcommand{\cfttoctitlefont}{\hfill\bfseries} \renewcommand{\cftaftertoctitle}{\hfill} \renewcommand{\contentsname}{\MakeUppercase{Содержание}} % Команда для восстановления шрифта после таблиц \newcommand{\resetfont}{\normalfont} % Настройка заголовков разделов (без указания размера) \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}