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)}}
76 DocBookAttr role='theorem'
83 LabelString "Corollary \thecorollary."
86 \newtheorem{cor}{\protect\corollaryname}
88 LabelCounter corollary
90 \providecommand{\corollaryname}{_(Corollary)}
93 \addto\captions$$lang{\renewcommand{\corollaryname}{_(Corollary)}}
96 DocBookAttr role='corollary'
103 LabelString "Lemma \thelemma."
106 \newtheorem{lem}{\protect\lemmaname}
109 \providecommand{\lemmaname}{_(Lemma)}
112 \addto\captions$$lang{\renewcommand{\lemmaname}{_(Lemma)}}
116 DocBookAttr role='lemma'
123 LabelString "Proposition \theproposition."
126 \newtheorem{prop}{\protect\propositionname}
129 \providecommand{\propositionname}{_(Proposition)}
132 \addto\captions$$lang{\renewcommand{\propositionname}{_(Proposition)}}
134 LabelCounter proposition
136 DocBookAttr role='proposition'
143 LabelString "Conjecture \theconjecture."
146 \newtheorem{conjecture}{\protect\conjecturename}
149 \providecommand{\conjecturename}{_(Conjecture)}
152 \addto\captions$$lang{\renewcommand{\conjecturename}{_(Conjecture)}}
154 LabelCounter conjecture
156 DocBookAttr role='conjecture'
163 LabelString "Fact \thefact."
166 \newtheorem{fact}{\protect\factname}
169 \providecommand{\factname}{_(Fact)}
172 \addto\captions$$lang{\renewcommand{\factname}{_(Fact)}}
176 DocBookAttr role='fact'
183 LabelString "Definition \thedefinition."
192 \theoremstyle{definition}
193 \newtheorem{defn}{\protect\definitionname}
196 \providecommand{\definitionname}{_(Definition)}
199 \addto\captions$$lang{\renewcommand{\definitionname}{_(Definition)}}
201 LabelCounter definition
203 DocBookAttr role='definition'
210 LabelString "Example \theexample."
212 \theoremstyle{definition}
213 \newtheorem{example}{\protect\examplename}
217 \providecommand{\examplename}{_(Example)}
220 \addto\captions$$lang{\renewcommand{\examplename}{_(Example)}}
223 DocBookWrapperTag informalexample
232 LabelString "Problem \theproblem."
234 \theoremstyle{definition}
235 \newtheorem{problem}{\protect\problemname}
239 \providecommand{\problemname}{_(Problem)}
242 \addto\captions$$lang{\renewcommand{\problemname}{_(Problem)}}
246 DocBookAttr role='problem'
253 LabelString "Exercise \theexercise."
255 \theoremstyle{definition}
256 \newtheorem{xca}{\protect\exercisename}
260 \providecommand{\exercisename}{_(Exercise)}
263 \addto\captions$$lang{\renewcommand{\exercisename}{_(Exercise)}}
265 LabelCounter exercise
267 DocBookAttr role='exercise'
274 LabelString "Solution \thesolution."
276 \theoremstyle{definition}
277 \newtheorem{sol}{\protect\solutionname}
281 \providecommand{\solutionname}{_(Solution)}
284 \addto\captions$$lang{\renewcommand{\solutionname}{_(Solution)}}
286 LabelCounter solution
288 DocBookAttr role='solution'
295 LabelString "Remark \theremark."
305 \theoremstyle{remark}
306 \newtheorem{rem}{\protect\remarkname}
309 \providecommand{\remarkname}{_(Remark)}
312 \addto\captions$$lang{\renewcommand{\remarkname}{_(Remark)}}
323 LabelString "Claim \theclaim."
325 \theoremstyle{remark}
326 \newtheorem{claim}{\protect\claimname}
330 \providecommand{\claimname}{_(Claim)}
333 \addto\captions$$lang{\renewcommand{\claimname}{_(Claim)}}
337 DocBookAttr role='claim'
341 Input theorems-case.inc