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>
18 \newtheorem{thm}{\protect\theoremname}[section]
21 \providecommand{\theoremname}{_(Theorem)}
24 \addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}