Is there a handy way to include an
etoc-like \localtableofcontents for theorems?
I have multiple environments defined with
thmtools in a
scrartcl document and would like to have a list of theorems of the current section at the beginning of each section. The question is similar to Currentsection TOC in scrartcl? and \tableofcontent[currentsection] in article or scrartcl? but for theorems. A call like
\locallistoftheorems would be nice.
Update: The question is also somehow similar to A list of theorems grouped into sections in the sense, that I could use that technique together with
\localtableofcontents since my document has no subsections. But I would appreciate a less "hacky" approach which would be applicable in a broader field.