mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 06:57:01 +00:00
24 lines
480 B
Plaintext
24 lines
480 B
Plaintext
#\DeclareLyXModule{Theorems (Numbered by Section)}
|
|
#DescriptionBegin
|
|
#Numbers theorems and the like by section (i.e., the counter is reset at
|
|
#each section start).
|
|
#DescriptionEnd
|
|
#Requires: theorems-std | theorems-ams
|
|
#Excludes: theorems-chap
|
|
#Category: theorems
|
|
|
|
# Author: Richard Heck <rgheck@comcast.net>
|
|
|
|
Format 40
|
|
|
|
Counter theorem
|
|
Within section
|
|
End
|
|
|
|
Style Theorem
|
|
Preamble
|
|
\theoremstyle{plain}
|
|
\newtheorem{thm}{\protect\theoremname}[section]
|
|
EndPreamble
|
|
End
|