1 # Original Author : David L. Johnson <dlj0@lehigh.edu>
2 # Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3 # modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr>
4 # Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
5 # Modularized Jan 08 by Richard Kimberly Heck <rikiheck@lyx.org>
6 # Hacked June '09 by Paul Rubin <rubin@msu.edu> to use separate counters
8 # The environments defined are :
22 # - Case (by inclusion)
26 Input theorems-counters-bytype.inc
28 OutlinerName thm "Definitions & Theorems"
40 LabelString "Additional Theorem Text"
41 Tooltip "Additional text appended to the theorem header"
55 LabelString "Theorem \thetheorem."
66 \newtheorem{thm}{\protect\theoremname}
69 \providecommand{\theoremname}{_(Theorem)}
72 \addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}
75 DocBookWrapperTag figure
76 DocBookWrapperAttr role='theorem'
78 DocBookGenerateTitle true
85 LabelString "Corollary \thecorollary."
88 \newtheorem{cor}{\protect\corollaryname}
90 LabelCounter corollary
92 \providecommand{\corollaryname}{_(Corollary)}
95 \addto\captions$$lang{\renewcommand{\corollaryname}{_(Corollary)}}
97 DocBookWrapperTag figure
98 DocBookWrapperAttr role='corollary'
100 DocBookGenerateTitle true
107 LabelString "Lemma \thelemma."
110 \newtheorem{lem}{\protect\lemmaname}
113 \providecommand{\lemmaname}{_(Lemma)}
116 \addto\captions$$lang{\renewcommand{\lemmaname}{_(Lemma)}}
119 DocBookWrapperTag figure
120 DocBookWrapperAttr role='lemma'
122 DocBookGenerateTitle true
129 LabelString "Proposition \theproposition."
132 \newtheorem{prop}{\protect\propositionname}
135 \providecommand{\propositionname}{_(Proposition)}
138 \addto\captions$$lang{\renewcommand{\propositionname}{_(Proposition)}}
140 LabelCounter proposition
141 DocBookWrapperTag figure
142 DocBookWrapperAttr role='proposition'
144 DocBookGenerateTitle true
151 LabelString "Conjecture \theconjecture."
154 \newtheorem{conjecture}{\protect\conjecturename}
157 \providecommand{\conjecturename}{_(Conjecture)}
160 \addto\captions$$lang{\renewcommand{\conjecturename}{_(Conjecture)}}
162 LabelCounter conjecture
163 DocBookWrapperTag figure
164 DocBookWrapperAttr role='conjecture'
166 DocBookGenerateTitle true
173 LabelString "Fact \thefact."
176 \newtheorem{fact}{\protect\factname}
179 \providecommand{\factname}{_(Fact)}
182 \addto\captions$$lang{\renewcommand{\factname}{_(Fact)}}
185 DocBookWrapperTag figure
186 DocBookWrapperAttr role='fact'
188 DocBookGenerateTitle true
195 LabelString "Definition \thedefinition."
204 \theoremstyle{definition}
205 \newtheorem{defn}{\protect\definitionname}
208 \providecommand{\definitionname}{_(Definition)}
211 \addto\captions$$lang{\renewcommand{\definitionname}{_(Definition)}}
213 LabelCounter definition
214 DocBookWrapperTag figure
215 DocBookWrapperAttr role='definition'
217 DocBookGenerateTitle true
224 LabelString "Example \theexample."
226 \theoremstyle{definition}
227 \newtheorem{example}{\protect\examplename}
231 \providecommand{\examplename}{_(Example)}
234 \addto\captions$$lang{\renewcommand{\examplename}{_(Example)}}
237 DocBookWrapperTag informalexample
246 LabelString "Problem \theproblem."
248 \theoremstyle{definition}
249 \newtheorem{problem}{\protect\problemname}
253 \providecommand{\problemname}{_(Problem)}
256 \addto\captions$$lang{\renewcommand{\problemname}{_(Problem)}}
259 DocBookWrapperTag figure
260 DocBookWrapperAttr role='problem'
262 DocBookGenerateTitle true
269 LabelString "Exercise \theexercise."
271 \theoremstyle{definition}
272 \newtheorem{xca}{\protect\exercisename}
276 \providecommand{\exercisename}{_(Exercise)}
279 \addto\captions$$lang{\renewcommand{\exercisename}{_(Exercise)}}
281 LabelCounter exercise
282 DocBookWrapperTag figure
283 DocBookWrapperAttr role='exercise'
285 DocBookGenerateTitle true
292 LabelString "Solution \thesolution."
294 \theoremstyle{definition}
295 \newtheorem{sol}{\protect\solutionname}
299 \providecommand{\solutionname}{_(Solution)}
302 \addto\captions$$lang{\renewcommand{\solutionname}{_(Solution)}}
304 LabelCounter solution
305 DocBookWrapperTag figure
306 DocBookWrapperAttr role='solution'
308 DocBookGenerateTitle true
315 LabelString "Remark \theremark."
325 \theoremstyle{remark}
326 \newtheorem{rem}{\protect\remarkname}
329 \providecommand{\remarkname}{_(Remark)}
332 \addto\captions$$lang{\renewcommand{\remarkname}{_(Remark)}}
335 DocBookWrapperTag figure
336 DocBookWrapperAttr role='remark'
338 DocBookGenerateTitle true
345 LabelString "Claim \theclaim."
347 \theoremstyle{remark}
348 \newtheorem{claim}{\protect\claimname}
352 \providecommand{\claimname}{_(Claim)}
355 \addto\captions$$lang{\renewcommand{\claimname}{_(Claim)}}
358 DocBookWrapperTag figure
359 DocBookWrapperAttr role='claim'
361 DocBookGenerateTitle true
364 Input theorems-case.inc