I am typesetting exercise/exam sheets with the “exsheets” package. It allows me to reset the question counter with every other counter step (e.g. with every section). Unfortunately this does not work for starred section commands (\section*{Topic}
), since no counter is stepped with it (see screenshot), but that is the behavior I need.
Is there a standard solution for that problem? If not, what would be the best/easiest/most elegant/whatever way to implement it?
exsheets
in particularsection*
;-)\pretocmd\section{\setcounter{question}{0}}
or something (withetoolbox
...)