#\DeclareLyXModule{Theorems (Order By Section)} #DescriptionBegin #Numbers theorems and the like by section. #DescriptionEnd #Requires: theorems-std | theorems-ams # Author: Richard Heck Format 8 Counter Name theorem Within section End Style Theorem Preamble \newtheorem{thm}{Theorem}[section] EndPreamble End