Resetting theorem counters: \sections and (missing) \subsections
I create a new counter as follow :
Thus at each new section
thequestion is set to 1. If I do the following :
thequestion is not set to 1 when a new section begin (without subsection). Is it possible to link a counter to both section and subsection ?