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