Skip to content

Commit

Permalink
fix(appendices): lower TOC level
Browse files Browse the repository at this point in the history
  • Loading branch information
JarvisCraft committed Dec 25, 2024
1 parent 47417cc commit b8c929e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tex/latex/bmstu-iu8/styles/IU8-17-appendices.sty
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit b8c929e

Please sign in to comment.