lyx_mirror/lib/layouts/theorems-chap.module
Pavel Sanda 41e03b290b Change gui names for a few modules.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg145171.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26990 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 15:50:20 +00:00

26 lines
484 B
Plaintext

#\DeclareLyXModule{Theorems (By Chapter)}
#DescriptionBegin
#Numbers theorems and the like by chapter. Use this module only with
#layouts that provide a chapter environment.
#DescriptionEnd
#Requires: theorems-std | theorems-ams
# Author: Richard Heck <rgheck@comcast.net>
Format 10
Counter theorem
Within chapter
End
Style Theorem
Preamble
\ifx\thechapter\undefined
\newtheorem{thm}{Theorem}
\else
\newtheorem{thm}{Theorem}[chapter]
\fi
EndPreamble
End