1 #\DeclareLyXModule{Standard Theorems (Numbered by Type within Sections)}
2 #\DeclareCategory{Maths}
4 #Defines some theorem environments for use with non-AMS classes. Contrary to the
5 #plain Theorem module, the different theorem types provided here each have a separate
6 #counter (e.g., theorem 1, theorem 2, lemma 1, proposition 1, theorem 3, lemma 2, ...,
7 #as opposed to theorem 1, theorem 2, lemma 3, proposition 4, ...). The numbering is reset
8 #at each section start.
10 #Requires: theorems-bytype | theorems-ams-bytype
11 #Excludes: theorems-std | theorems-ams | theorems-starred | theorems-chap | theorems-chap-bytype
13 # Author: Paul Rubin <rubin@msu.edu> (hacked from Richard Heck's various modules)
17 # We need separate counters for each theorem-like style.
76 \newtheorem{thm}{\protect\theoremname}[section]
84 \newtheorem{cor}{\protect\corollaryname}[section]
92 \newtheorem{lem}{\protect\lemmaname}[section]
100 \newtheorem{prop}{\protect\propositionname}[section]
108 \newtheorem{conjecture}{\protect\conjecturename}[section]
116 \newtheorem{fact}{\protect\factname}[section]
123 \theoremstyle{definition}
124 \newtheorem{defn}{\protect\definitionname}[section]
131 \theoremstyle{definition}
132 \newtheorem{example}{\protect\examplename}[section]
139 \theoremstyle{definition}
140 \newtheorem{problem}{\protect\problemname}[section]
147 \theoremstyle{definition}
148 \newtheorem{xca}{\protect\exercisename}[section]
155 \theoremstyle{remark}
156 \newtheorem{rem}{\protect\remarkname}[section]
163 \theoremstyle{remark}
164 \newtheorem{claim}{\protect\claimname}[section]