X-Git-Url: https://git.distorted.org.uk/~mdw/doc/ips/blobdiff_plain/76f457cbe78101034f0254a9ea940ca65cee1535..53aa10b5d9431ced4e98673cc872c6627cac1d5f:/ips.cls

diff --git a/ips.cls b/ips.cls
index 2ecc62a..f5f20d7 100644
--- a/ips.cls
+++ b/ips.cls
@@ -142,6 +142,11 @@
   \def\topic{\sm@auxwrite{topic}}
 \fi
 
+\newcounter{sequence}
+\def\thesequence{\arabic{sequence}}
+\def\seq{\stepcounter{sequence}\thesequence}
+\def\resetseq{\setcounter{sequence}{0}}
+
 \def\head#1{{\sffamily\bfseries\large #1}\par}
 
 %%%------ Page layout for notes ---------------------------------------------
