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 Kimberly Heck's various modules)
17 Input theorems-counters-bytype.inc
59 \newtheorem{thm}{\protect\theoremname}[section]
67 \newtheorem{cor}{\protect\corollaryname}[section]
75 \newtheorem{lem}{\protect\lemmaname}[section]
83 \newtheorem{prop}{\protect\propositionname}[section]
91 \newtheorem{conjecture}{\protect\conjecturename}[section]
99 \newtheorem{fact}{\protect\factname}[section]
106 \theoremstyle{definition}
107 \newtheorem{defn}{\protect\definitionname}[section]
114 \theoremstyle{definition}
115 \newtheorem{example}{\protect\examplename}[section]
122 \theoremstyle{definition}
123 \newtheorem{problem}{\protect\problemname}[section]
130 \theoremstyle{definition}
131 \newtheorem{xca}{\protect\exercisename}[section]
138 \theoremstyle{remark}
139 \newtheorem{rem}{\protect\remarkname}[section]
146 \theoremstyle{remark}
147 \newtheorem{claim}{\protect\claimname}[section]