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