summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bmstu-iu8/IU8-19-counters.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/bmstu-iu8/IU8-19-counters.sty')
-rw-r--r--Master/texmf-dist/tex/latex/bmstu-iu8/IU8-19-counters.sty22
1 files changed, 22 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/bmstu-iu8/IU8-19-counters.sty b/Master/texmf-dist/tex/latex/bmstu-iu8/IU8-19-counters.sty
new file mode 100644
index 00000000000..07c7ef9e475
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/bmstu-iu8/IU8-19-counters.sty
@@ -0,0 +1,22 @@
+% Author: CatInCosmicSpace
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesPackage{IU8-19-counters}[2024/10/28 v1.5 Счётчики]
+
+\RequirePackage{calc}
+\RequirePackage{xassoccnt}
+\RequirePackage{totcount}
+
+\NewTotalDocumentCounter{totalfigures}
+\DeclareAssociatedCounters{figure}{totalfigures}
+\NewTotalDocumentCounter{totaltables}
+\DeclareAssociatedCounters{table}{totaltables}
+
+\RequirePackage{totcount}
+\newtotcounter{citenum}
+\AtEveryBibitem{\stepcounter{citenum}}
+\NewTotalDocumentCounter{totalcites}
+\DeclareAssociatedCounters{citenum}{totalcites}
+
+\newcounter{apps}
+\NewTotalDocumentCounter{totalappendices}
+\DeclareAssociatedCounters{apps}{totalappendices}