diff --git a/tex/latex/bmstu-iu8/styles/IU8-10-titlepage.sty b/tex/latex/bmstu-iu8/styles/IU8-10-titlepage.sty index 60f0e82..91c44b4 100644 --- a/tex/latex/bmstu-iu8/styles/IU8-10-titlepage.sty +++ b/tex/latex/bmstu-iu8/styles/IU8-10-titlepage.sty @@ -57,8 +57,9 @@ \def\@supervisorWithDegree{\@latex@warning@no@line{No \noexpand\supervisorWithDegree given}} % Поля для заполнения "обычных" отчётов -\def\discipline#1{\gdef\@discipline{#1}} -\def\@discipline{\@latex@warning@no@line{No \noexpand\discipline given}} +\def\discipline#1{\gdef\@discipline{по дисциплине <<#1>> \\}} +\providecommand{\@discipline}{~} + \newcommand{\noscorefield}{\gdef\enablescore{}} % Выключить поле оценки \providecommand{\enablescore}{ % Поле оценки включено по умолчанию \setlength{\tabcolsep}{0pt} @@ -248,7 +249,7 @@ \noindent\begin{center} \centering {\bfseries\fontsize{20pt}{25pt}\selectfont \@theme} \\ - {\fontsize{12pt}{25pt}\rmfamily\selectfont по дисциплине <<\@discipline>>} \\ + {\fontsize{12pt}{25pt}\rmfamily\selectfont \@discipline} {\fontsize{12pt}{25pt}\rmfamily\selectfont \@version} \\ \end{center} diff --git a/tex/latex/bmstu-iu8/styles/IU8-17-appendices.sty b/tex/latex/bmstu-iu8/styles/IU8-17-appendices.sty index d1157aa..13e5255 100644 --- a/tex/latex/bmstu-iu8/styles/IU8-17-appendices.sty +++ b/tex/latex/bmstu-iu8/styles/IU8-17-appendices.sty @@ -3,7 +3,7 @@ \ProvidesPackage{IU8-17-appendices}[2025/03/15 v1.7 Приложения] \newcommand{\appendixsection}[1]{ - \stepcounter{apps} + \refstepcounter{apps} \section*{\Asbuk{apps}} \begin{center} \bfseries #1 @@ -23,4 +23,5 @@ \renewcommand\thetable{\Asbuk{apps}.\arabic{table}} \renewcommand\theequation{\Asbuk{apps}.\arabic{equation}} \renewcommand\thelstlisting{\Asbuk{apps}.\arabic{lstlisting}} + \renewcommand{\theapps}{\Asbuk{apps}} }