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
7 # Chapter dependence added Oct '16 by Andrew Parsloe <aparsloe@clear.net.nz>
9 # The environments defined are :
23 # - Case (by inclusion)
28 Input theorems-counters-bytype.inc
70 OutlinerName thm "Definitions & Theorems"
82 LabelString "Additional Theorem Text"
83 Tooltip "Additional text appended to the theorem header"
97 LabelString "Theorem \thetheorem."
108 \ifx\thechapter\undefined
109 \newtheorem{thm}{\protect\theoremname}
111 \newtheorem{thm}{\protect\theoremname}[chapter]
115 \providecommand{\theoremname}{_(Theorem)}
118 \addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}
121 DocBookWrapperTag figure
122 DocBookWrapperAttr role='theorem'
124 DocBookGenerateTitle true
131 LabelString "Corollary \thecorollary."
134 \ifx\thechapter\undefined
135 \newtheorem{cor}{\protect\corollaryname}
137 \newtheorem{cor}{\protect\corollaryname}[chapter]
140 LabelCounter corollary
142 \providecommand{\corollaryname}{_(Corollary)}
145 \addto\captions$$lang{\renewcommand{\corollaryname}{_(Corollary)}}
147 DocBookWrapperTag figure
148 DocBookWrapperAttr role='corollary'
150 DocBookGenerateTitle true
157 LabelString "Lemma \thelemma."
160 \ifx\thechapter\undefined
161 \newtheorem{lem}{\protect\lemmaname}
163 \newtheorem{lem}{\protect\lemmaname}[chapter]
167 \providecommand{\lemmaname}{_(Lemma)}
170 \addto\captions$$lang{\renewcommand{\lemmaname}{_(Lemma)}}
173 DocBookWrapperTag figure
174 DocBookWrapperAttr role='lemma'
176 DocBookGenerateTitle true
183 LabelString "Proposition \theproposition."
186 \ifx\thechapter\undefined
187 \newtheorem{prop}{\protect\propositionname}
189 \newtheorem{prop}{\protect\propositionname}[chapter]
193 \providecommand{\propositionname}{_(Proposition)}
196 \addto\captions$$lang{\renewcommand{\propositionname}{_(Proposition)}}
198 LabelCounter proposition
199 DocBookWrapperTag figure
200 DocBookWrapperAttr role='proposition'
202 DocBookGenerateTitle true
209 LabelString "Conjecture \theconjecture."
212 \ifx\thechapter\undefined
213 \newtheorem{conjecture}{\protect\conjecturename}
215 \newtheorem{conjecture}{\protect\conjecturename}[chapter]
219 \providecommand{\conjecturename}{_(Conjecture)}
222 \addto\captions$$lang{\renewcommand{\conjecturename}{_(Conjecture)}}
224 LabelCounter conjecture
225 DocBookWrapperTag figure
226 DocBookWrapperAttr role='conjecture'
228 DocBookGenerateTitle true
235 LabelString "Fact \thefact."
238 \ifx\thechapter\undefined
239 \newtheorem{fact}{\protect\factname}
241 \newtheorem{fact}{\protect\factname}[chapter]
245 \providecommand{\factname}{_(Fact)}
248 \addto\captions$$lang{\renewcommand{\factname}{_(Fact)}}
251 DocBookWrapperTag figure
252 DocBookWrapperAttr role='fact'
254 DocBookGenerateTitle true
261 LabelString "Definition \thedefinition."
270 \theoremstyle{definition}
271 \ifx\thechapter\undefined
272 \newtheorem{defn}{\protect\definitionname}
274 \newtheorem{defn}{\protect\definitionname}[chapter]
278 \providecommand{\definitionname}{_(Definition)}
281 \addto\captions$$lang{\renewcommand{\definitionname}{_(Definition)}}
283 LabelCounter definition
284 DocBookWrapperTag figure
285 DocBookWrapperAttr role='definition'
287 DocBookGenerateTitle true
294 LabelString "Example \theexample."
296 \theoremstyle{definition}
297 \ifx\thechapter\undefined
298 \newtheorem{example}{\protect\examplename}
300 \newtheorem{example}{\protect\examplename}[chapter]
305 \providecommand{\examplename}{_(Example)}
308 \addto\captions$$lang{\renewcommand{\examplename}{_(Example)}}
311 DocBookWrapperTag informalexample
320 LabelString "Problem \theproblem."
322 \theoremstyle{definition}
323 \ifx\thechapter\undefined
324 \newtheorem{problem}{\protect\problemname}
326 \newtheorem{problem}{\protect\problemname}[chapter]
331 \providecommand{\problemname}{_(Problem)}
334 \addto\captions$$lang{\renewcommand{\problemname}{_(Problem)}}
337 DocBookWrapperTag figure
338 DocBookWrapperAttr role='problem'
340 DocBookGenerateTitle true
347 LabelString "Exercise \theexercise."
349 \theoremstyle{definition}
350 \ifx\thechapter\undefined
351 \newtheorem{xca}{\protect\exercisename}
353 \newtheorem{xca}{\protect\exercisename}[chapter]
358 \providecommand{\exercisename}{_(Exercise)}
361 \addto\captions$$lang{\renewcommand{\exercisename}{_(Exercise)}}
363 LabelCounter exercise
364 DocBookWrapperTag figure
365 DocBookWrapperAttr role='exercise'
367 DocBookGenerateTitle true
374 LabelString "Solution \thesolution."
376 \theoremstyle{definition}
377 \ifx\thechapter\undefined
378 \newtheorem{sol}{\protect\solutionname}
380 \newtheorem{sol}{\protect\solutionname}[chapter]
385 \providecommand{\solutionname}{_(Solution)}
388 \addto\captions$$lang{\renewcommand{\solutionname}{_(Solution)}}
390 LabelCounter solution
391 DocBookWrapperTag figure
392 DocBookWrapperAttr role='solution'
394 DocBookGenerateTitle true
401 LabelString "Remark \theremark."
411 \theoremstyle{remark}
412 \ifx\thechapter\undefined
413 \newtheorem{rem}{\protect\remarkname}
415 \newtheorem{rem}{\protect\remarkname}[chapter]
419 \providecommand{\remarkname}{_(Remark)}
422 \addto\captions$$lang{\renewcommand{\remarkname}{_(Remark)}}
425 DocBookWrapperTag figure
426 DocBookWrapperAttr role='remark'
428 DocBookGenerateTitle true
435 LabelString "Claim \theclaim."
437 \theoremstyle{remark}
438 \ifx\thechapter\undefined
439 \newtheorem{claim}{\protect\claimname}
441 \newtheorem{claim}{\protect\claimname}[chapter]
446 \providecommand{\claimname}{_(Claim)}
449 \addto\captions$$lang{\renewcommand{\claimname}{_(Claim)}}
452 DocBookWrapperTag figure
453 DocBookWrapperAttr role='claim'
455 DocBookGenerateTitle true
459 Input theorems-case.inc