summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bmstu-iu8/19-IU8-counters.sty
blob: 991f9f4d43f60b4951f98daec72816a2d1618dca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
% Author: CatInCosmicSpace
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{19-IU8-counters}[2021/03/21 v1.2 Счётчики]

\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}