lyx_mirror/lib/layouts/theorems-sec.module
Jürgen Spitzmüller 448c98aad4 * Add new modules for more fine-grained control over theorem numbering.
Modules provided by Paul Rubin (#5880).
* Fix some minor module description issues.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31886 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-07 10:46:12 +00:00

24 lines
517 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
# Author: Richard Heck <rgheck@comcast.net>
# Tweaked by Paul Rubin <rubin@msu.edu> June '09 (added theoremstyle)
Format 11
Counter theorem
Within section
End
Style Theorem
Preamble
\theoremstyle{plain}
\newtheorem{thm}{Theorem}[section]
EndPreamble
End