1 #\DeclareLyXModule{Theorems (By Section)}
3 #Numbers theorems and the like by section.
5 #Requires: theorems-std | theorems-ams
6 #Excludes: theorems-chap
8 # Author: Richard Heck <rgheck@comcast.net>
19 \newtheorem{thm}{\protect\theoremname}[section]
22 \providecommand{\theoremname}{_(Theorem)}
25 \addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}