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