diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/bmstu-iu8/19-IU8-counters.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/bmstu-iu8/19-IU8-counters.sty | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/bmstu-iu8/19-IU8-counters.sty b/Master/texmf-dist/tex/latex/bmstu-iu8/19-IU8-counters.sty new file mode 100644 index 00000000000..35253a1b2d4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/bmstu-iu8/19-IU8-counters.sty @@ -0,0 +1,22 @@ +% Author: CatInCosmicSpace +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{19-IU8-counters}[2021/03/21 v1.0 Счётчики] + +\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} |