summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bmstu-iu8/17-IU8-appendices.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/bmstu-iu8/17-IU8-appendices.sty')
-rw-r--r--Master/texmf-dist/tex/latex/bmstu-iu8/17-IU8-appendices.sty8
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/bmstu-iu8/17-IU8-appendices.sty b/Master/texmf-dist/tex/latex/bmstu-iu8/17-IU8-appendices.sty
index 26f692b1654..58556e49875 100644
--- a/Master/texmf-dist/tex/latex/bmstu-iu8/17-IU8-appendices.sty
+++ b/Master/texmf-dist/tex/latex/bmstu-iu8/17-IU8-appendices.sty
@@ -1,6 +1,6 @@
% Author: CatInCosmicSpace
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{17-IU8-appendices}[2021/03/21 v1.0 Приложения]
+\ProvidesPackage{17-IU8-appendices}[2021/03/21 v1.1 Приложения]
\newcommand{\appendixsection}[1]{
\stepcounter{apps}
@@ -17,7 +17,9 @@
\setcounter{figure}{0}
\setcounter{table}{0}
\setcounter{equation}{0}
+ \setcounter{lstlisting}{0}
\renewcommand\thefigure{\Asbuk{apps}.\arabic{figure}}
- \renewcommand\thetable{\Asbuk{apps}.\arabic{figure}}
- \renewcommand\theequation{\Asbuk{apps}.\arabic{figure}}
+ \renewcommand\thetable{\Asbuk{apps}.\arabic{table}}
+ \renewcommand\theequation{\Asbuk{apps}.\arabic{equation}}
+ \renewcommand\thelstlisting{\Asbuk{apps}.\arabic{lstlisting}}
}