mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-15 01:41:43 +00:00
a2f4949d38
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27042 a592a061-630c-0410-9148-cb99ea01b6c8
26 lines
505 B
Plaintext
26 lines
505 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
|
|
#Excludes: theorems-sec
|
|
|
|
# Author: Richard Heck <rgheck@comcast.net>
|
|
|
|
Format 11
|
|
|
|
Counter theorem
|
|
Within chapter
|
|
End
|
|
|
|
Style Theorem
|
|
Preamble
|
|
\ifx\thechapter\undefined
|
|
\newtheorem{thm}{Theorem}
|
|
\else
|
|
\newtheorem{thm}{Theorem}[chapter]
|
|
\fi
|
|
EndPreamble
|
|
End
|