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}{\protect\theoremname}[section]
65 \newtheorem{cor}{\protect\corollaryname}[section]
73 \newtheorem{lem}{\protect\lemmaname}[section]
81 \newtheorem{prop}{\protect\propositionname}[section]
89 \newtheorem{conjecture}{\protect\conjecturename}[section]
97 \newtheorem{fact}{\protect\factname}[section]
104 \theoremstyle{definition}
105 \newtheorem{defn}{\protect\definitionname}[section]
112 \theoremstyle{definition}
113 \newtheorem{example}{\protect\examplename}[section]
120 \theoremstyle{definition}
121 \newtheorem{problem}{\protect\problemname}[section]
128 \theoremstyle{definition}
129 \newtheorem{xca}{\protect\exercisename}[section]
136 \theoremstyle{remark}
137 \newtheorem{rem}{\protect\remarkname}[section]
144 \theoremstyle{remark}
145 \newtheorem{claim}{\protect\claimname}[section]