2
votes
2answers
328 views

Creating my own sectioning command for exercises

I'm editing a book. What I want is a sectioning command like \section, \subsection, and friends, to typeset a exercises section at the end of each section of the book. This exercises are in some list ...
15
votes
5answers
776 views

How to put a star (or other symbol) in sections that are “special” (difficult, optional, etc)?

I'm currently writing a book, and I'd like some of the sections to be clearly marked as "difficult" or "optional". Not only sections, but also exercises (I'm using the exercise package) and theorems ...