]> git.lyx.org Git - lyx.git/blob - lib/layouts/theorems-sec.module
f22e8a3de7e3c99b024eba4a62f10553ba83344a
[lyx.git] / lib / layouts / theorems-sec.module
1 #\DeclareLyXModule{Theorems (Numbered by Section)}
2 #DescriptionBegin
3 #Numbers theorems and the like by section (i.e., the counter is reset at
4 #each section start).
5 #DescriptionEnd
6 #Requires: theorems-std | theorems-ams
7 #Excludes: theorems-chap
8 #Category: theorems
9
10 # Author: Richard Heck <rgheck@comcast.net>
11
12 Format 68
13
14 Counter theorem
15         Within         section
16 End
17
18 Style Theorem
19         Preamble
20                 \theoremstyle{plain}
21                 \newtheorem{thm}{\protect\theoremname}[section]
22         EndPreamble
23 End