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.
58 \newtheorem{thm}{\protect\theoremname}[section]
66 \newtheorem{cor}{\protect\corollaryname}[section]
74 \newtheorem{lem}{\protect\lemmaname}[section]
82 \newtheorem{prop}{\protect\propositionname}[section]
90 \newtheorem{conjecture}{\protect\conjecturename}[section]
98 \newtheorem{fact}{\protect\factname}[section]
105 \theoremstyle{definition}
106 \newtheorem{defn}{\protect\definitionname}[section]
113 \theoremstyle{definition}
114 \newtheorem{example}{\protect\examplename}[section]
121 \theoremstyle{definition}
122 \newtheorem{problem}{\protect\problemname}[section]
129 \theoremstyle{definition}
130 \newtheorem{xca}{\protect\exercisename}[section]
137 \theoremstyle{remark}
138 \newtheorem{rem}{\protect\remarkname}[section]
145 \theoremstyle{remark}
146 \newtheorem{claim}{\protect\claimname}[section]