1 #\DeclareLyXModule{Theorems (Numbered by Type within Sections)}
3 #Defines some theorem environments for use with non-AMS classes. Contrary to the
4 #plain Theorem module, the different theorem types provided here each have a separate
5 #counter (e.g., theorem 1, theorem 2, lemma 1, proposition 1, theorem 3, lemma 2, ...,
6 #as opposed to theorem 1, theorem 2, lemma 3, proposition 4, ...). The numbering is reset
7 #at each section start.
9 #Requires: theorems-bytype | theorems-ams-bytype
10 #Excludes: theorems-std | theorems-ams | theorems-starred | theorems-chap | theorems-chap-bytype
12 # Author: Paul Rubin <rubin@msu.edu> (hacked from Richard Heck's various modules)
16 # We need separate counters for each theorem-like style.
57 \newtheorem{thm}{Theorem}[section]
65 \newtheorem{cor}{Corollary}[section]
73 \newtheorem{lem}{Lemma}[section]
81 \newtheorem{prop}{Proposition}[section]
89 \newtheorem{conjecture}{Conjecture}[section]
97 \newtheorem{fact}{Fact}[section]
104 \theoremstyle{definition}
105 \newtheorem{defn}{Definition}[section]
112 \theoremstyle{definition}
113 \newtheorem{example}{Example}[section]
120 \theoremstyle{definition}
121 \newtheorem{problem}{Problem}[section]
128 \theoremstyle{definition}
129 \newtheorem{xca}{Exercise}[section]
136 \theoremstyle{remark}
137 \newtheorem{rem}{Remark}[section]
144 \theoremstyle{remark}
145 \newtheorem{claim}{Claim}[section]