summaryrefslogtreecommitdiff
path: root/info/examples/ltt/rescnt.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /info/examples/ltt/rescnt.sty
Initial commit
Diffstat (limited to 'info/examples/ltt/rescnt.sty')
-rw-r--r--info/examples/ltt/rescnt.sty7
1 files changed, 7 insertions, 0 deletions
diff --git a/info/examples/ltt/rescnt.sty b/info/examples/ltt/rescnt.sty
new file mode 100644
index 0000000000..a6a9a1ea60
--- /dev/null
+++ b/info/examples/ltt/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}