From b8c929e1fbba95d3952b332c863500f3add549bb Mon Sep 17 00:00:00 2001 From: Petr Portnov Date: Thu, 26 Dec 2024 01:59:53 +0300 Subject: [PATCH] fix(appendices): lower TOC level This fixes #11 --- tex/latex/bmstu-iu8/styles/IU8-17-appendices.sty | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tex/latex/bmstu-iu8/styles/IU8-17-appendices.sty b/tex/latex/bmstu-iu8/styles/IU8-17-appendices.sty index 8803313..030d821 100644 --- a/tex/latex/bmstu-iu8/styles/IU8-17-appendices.sty +++ b/tex/latex/bmstu-iu8/styles/IU8-17-appendices.sty @@ -8,10 +8,11 @@ \begin{center} \bfseries #1 \end{center} - \addcontentsline{toc}{section}{ПРИЛОЖЕНИЕ~\Asbuk{apps}~{#1}} + \addcontentsline{toc}{structure}{ПРИЛОЖЕНИЕ~\Asbuk{apps}~{#1}} } \renewcommand{\appendix}{ + \addtocontents{toc}{\protect\setcounter{tocdepth}{0}} \renewcommand\section{\clearpage\@startsection{section}{1}{0pt}{1em}{1em}{\bfseries\centering ПРИЛОЖЕНИЕ~}} \setcounter{section}{0} \setcounter{figure}{0}