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.
70 \newtheorem{thm}{\protect\theoremname}[section]
78 \newtheorem{cor}{\protect\corollaryname}[section]
86 \newtheorem{lem}{\protect\lemmaname}[section]
94 \newtheorem{prop}{\protect\propositionname}[section]
102 \newtheorem{conjecture}{\protect\conjecturename}[section]
110 \newtheorem{fact}{\protect\factname}[section]
117 \theoremstyle{definition}
118 \newtheorem{defn}{\protect\definitionname}[section]
125 \theoremstyle{definition}
126 \newtheorem{example}{\protect\examplename}[section]
133 \theoremstyle{definition}
134 \newtheorem{problem}{\protect\problemname}[section]
141 \theoremstyle{definition}
142 \newtheorem{xca}{\protect\exercisename}[section]
149 \theoremstyle{remark}
150 \newtheorem{rem}{\protect\remarkname}[section]
157 \theoremstyle{remark}
158 \newtheorem{claim}{\protect\claimname}[section]