lyx_mirror/lib/layouts/theorems-chap.module
Uwe Stöhr 94f46c262b - theorems-chap.module: fix a typo
- po-files remerge again
- de.po: correct some translations

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32019 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 16:24:17 +00:00

29 lines
668 B
Plaintext

#\DeclareLyXModule{Theorems (Numbered by Chapter)}
#DescriptionBegin
#Numbers theorems and the like by chapter (i.e., the counter is reset at
#each chapter start). Use this module only with document classes that provide a chapter
#environment.
#DescriptionEnd
#Requires: theorems-std | theorems-ams
#Excludes: theorems-sec
# Author: Richard Heck <rgheck@comcast.net>
# Tweaked by Paul Rubin <rubin@msu.edu> June '09 (added theoremstyle)
Format 11
Counter theorem
Within chapter
End
Style Theorem
Preamble
\theoremstyle{plain}
\ifx\thechapter\undefined
\newtheorem{thm}{Theorem}
\else
\newtheorem{thm}{Theorem}[chapter]
\fi
EndPreamble
End