1 #\DeclareLyXModule{AMS Theorems (Numbered by Type within Chapters)}
2 #\DeclareCategory{Maths}
4 #Defines theorem environments and the proof environment using the extended
5 #AMS machinery. Both numbered and unnumbered types are provided. Contrary to the
6 #plain AMS Theorem module, the different theorem types provided here each have
7 #a separate counter (e.g., theorem 1.1, theorem 1.2, lemma 1.1, proposition 1.1,
8 #theorem 1.3, lemma 1.2, ..., as opposed to theorem 1, theorem 2, lemma 3,
9 #proposition 4, ...). The numbering restarts for each chapter: theorem 1.1,
12 #Excludes: theorems-std | theorems-starred | theorems-ams | theorems-bytype
14 # Original Author : David L. Johnson <dlj0@lehigh.edu>
15 # Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16 # modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr>
17 # Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
18 # Modularized Jan 08 by Richard Heck <rgheck@comcast.net>
19 # Hacked June '09 by Paul Rubin <rubin@msu.edu> to use separate counters
20 # Chapter dependence added Oct '16 by Andrew Parsloe <aparsloe@clear.net.nz>
24 Requires amsmath,amsthm
26 # The environments defined (regular and starred) are :
41 # We need separate counters for each theorem-like style.
83 Input theorems-order.inc
84 Input theorems-ams-chap-bytype.inc
85 Input theorems-starred.inc
86 Input theorems-proof.inc