summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/rescnt.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-tipps-und-tricks/rescnt.sty')
-rw-r--r--Master/texmf-dist/doc/latex/latex-tipps-und-tricks/rescnt.sty7
1 files changed, 7 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/rescnt.sty b/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/rescnt.sty
new file mode 100644
index 00000000000..6f8e070974f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/rescnt.sty
@@ -0,0 +1,7 @@
+% RESCNT.STY
+\renewcommand{\@addtoreset}[3][0]
+ {\expandafter\@cons\csname cl@#3\endcsname%
+ {[#1]{#2}}}
+
+\renewcommand{\@stpelt}[2][0]
+ {\global\csname c@#2\endcsname #1}