#\DeclareLyXModule{AMS Theorems (Numbered by Type within Chapters)} #\DeclareCategory{Maths} #DescriptionBegin #Defines theorem environments and the proof environment using the extended #AMS machinery. Both numbered and unnumbered types are provided. Contrary to the #plain AMS Theorem module, the different theorem types provided here each have #a separate counter (e.g., theorem 1.1, theorem 1.2, lemma 1.1, proposition 1.1, #theorem 1.3, lemma 1.2, ..., as opposed to theorem 1, theorem 2, lemma 3, #proposition 4, ...). The numbering restarts for each chapter: theorem 1.1, #theorem 2.1, ... #DescriptionEnd #Excludes: theorems-std | theorems-starred | theorems-ams | theorems-bytype # Original Author : David L. Johnson # Probably broken by Jean-Marc Lasgouttes # modified and modularized by Emmanuel GUREGHIAN # Tinkered with Sep. '07 by Paul Rubin # Modularized Jan 08 by Richard Heck # Hacked June '09 by Paul Rubin to use separate counters # Chapter dependence added Oct '16 by Andrew Parsloe Format 82 Requires amsmath,amsthm # The environments defined (regular and starred) are : # - theorem # - corollary # - lemma # - proposition # - conjecture # - fact # - definition # - example # - solution # - problem # - exercise # - remark # - claim # We need separate counters for each theorem-like style. Counter theorem GuiName Theorem End Counter corollary GuiName Corollary End Counter lemma GuiName Lemma End Counter proposition GuiName Proposition End Counter conjecture GuiName Conjecture End Counter fact GuiName Fact End Counter definition GuiName Definition End Counter example GuiName Example End Counter solution GuiName Solution End Counter problem GuiName Problem End Counter exercise GuiName Exercise End Counter remark GuiName Remark End Counter claim GuiName Claim End Input theorems-order.inc Input theorems-ams-chap-bytype.inc Input theorems-starred.inc Input theorems-proof.inc