1 # 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 # This version has Theorems and other results numbered in one sequence, and all
5 # numbered environments (figures as well) containing the section number.
6 # (Themorem (1.1), Corollary (1.2) Theorem (1.3), etc.
7 # These are only the theorems styles environnements
8 # Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
10 # The environnements defined (regular and starred) are :
33 # - Case (regular only -- defined as an enumeration)
43 # Define thm up front, in case it is invoked by a lemma/conjecture/...
44 # before the first (if any) instance of Theorem.
47 \newtheorem{thm}{Theorem}[section]
54 #DependsOn TheoremStyle
64 AlignPossible Block, Left
67 LabelString "Theorem @Section@.\arabic{theorem}."
83 LabelString "Theorem."
86 \newtheorem*{thm*}{Theorem}
94 LabelString "Corollary @Section@.\arabic{theorem}."
97 \newtheorem{cor}[thm]{Corollary}
105 LabelString "Corollary."
108 \newtheorem*{cor*}{Corollary}
116 LabelString "Lemma @Section@.\arabic{theorem}."
119 \newtheorem{lem}[thm]{Lemma}
130 \newtheorem*{lem*}{Lemma}
138 LabelString "Proposition @Section@.\arabic{theorem}."
141 \newtheorem{prop}[thm]{Proposition}
149 LabelString "Proposition."
152 \newtheorem*{prop*}{Proposition}
160 LabelString "Conjecture @Section@.\arabic{theorem}."
163 \newtheorem{conjecture}[thm]{Conjecture}
170 LatexName conjecture*
171 LabelString "Conjecture."
174 \newtheorem*{conjecture*}{Conjecture}
182 LabelString "Criterion @Section@.\arabic{theorem}."
185 \newtheorem{criterion}[thm]{Criterion}
192 LabelString "Criterion."
195 \newtheorem*{criterion*}{Criterion}
203 LabelString "Algorithm @Section@.\arabic{theorem}."
206 \newtheorem{algorithm}[thm]{Algorithm}
214 LabelString "Algorithm."
217 \newtheorem*{algorithm*}{Algorithm}
225 LabelString "Fact @Section@.\arabic{theorem}."
228 \newtheorem{fact}[thm]{Fact}
239 \newtheorem*{fact*}{Fact}
247 LabelString "Axiom @Section@.\arabic{theorem}."
250 \newtheorem{ax}[thm]{Axiom}
261 \newtheorem*{ax*}{Axiom}
269 LabelString "Definition @Section@.\arabic{theorem}."
278 \theoremstyle{definition}
279 \newtheorem{defn}[thm]{Definition}
288 LabelString "Definition."
290 \theoremstyle{definition}
291 \newtheorem*{defn*}{Definition}
299 LabelString "Example @Section@.\arabic{theorem}."
301 \theoremstyle{definition}
302 \newtheorem{example}[thm]{Example}
308 CopyStyle Definition*
310 LabelString "Example."
312 \theoremstyle{definition}
313 \newtheorem*{example*}{Example}
321 LabelString "Condition @Section@.\arabic{theorem}."
323 \theoremstyle{definition}
324 \newtheorem{condition}[thm]{Condition}
330 CopyStyle Definition*
332 LabelString "Condition."
334 \theoremstyle{definition}
335 \newtheorem*{condition*}{Condition}
343 LabelString "Problem @Section@.\arabic{theorem}."
345 \theoremstyle{definition}
346 \newtheorem{problem}[thm]{Problem}
352 CopyStyle Definition*
354 LabelString "Problem."
356 \theoremstyle{definition}
357 \newtheorem*{problem*}{Problem}
365 LabelString "Exercise @Section@.\arabic{theorem}."
367 \theoremstyle{definition}
368 \newtheorem{xca}[thm]{Exercise}
374 CopyStyle Definition*
376 LabelString "Exercise."
378 \theoremstyle{definition}
379 \newtheorem*{xca*}{Exercise}
387 LabelString "Remark @Section@.\arabic{theorem}."
397 \theoremstyle{remark}
398 \newtheorem{rem}[thm]{Remark}
407 LabelString "Remark."
409 \theoremstyle{remark}
410 \newtheorem*{rem*}{Remark}
418 LabelString "Claim @Section@.\arabic{theorem}."
420 \theoremstyle{remark}
421 \newtheorem{claim}[thm]{Claim}
431 \theoremstyle{remark}
432 \newtheorem*{claim*}{Claim}
440 LabelString "Note @Section@.\arabic{theorem}."
442 \theoremstyle{remark}
443 \newtheorem{note}[thm]{Note}
453 \theoremstyle{remark}
454 \newtheorem*{note*}{Note}
462 LabelString "Notation @Section@.\arabic{theorem}."
464 \theoremstyle{remark}
465 \newtheorem{notation}[thm]{Notation}
473 LabelString "Notation."
475 \theoremstyle{remark}
476 \newtheorem*{notation*}{Notation}
484 LabelString "Summary @Section@.\arabic{theorem}."
486 \theoremstyle{remark}
487 \newtheorem{summary}[thm]{Summary}
495 LabelString "Summary."
497 \theoremstyle{remark}
498 \newtheorem*{summary*}{Summary}
503 Style Acknowledgement
505 LatexName acknowledgement
506 LabelString "Acknowledgement @Section@.\arabic{theorem}."
508 \theoremstyle{remark}
509 \newtheorem{acknowledgement}[thm]{Acknowledgement}
514 Style Acknowledgement*
516 LatexName acknowledgement*
517 LabelString "Acknowledgement."
519 \theoremstyle{remark}
520 \newtheorem*{acknowledgement*}{Acknowledgement}
528 LabelString "Conclusion @Section@.\arabic{theorem}."
530 \theoremstyle{remark}
531 \newtheorem{conclusion}[thm]{Conclusion}
538 LatexName conclusion*
539 LabelString "Conclusion."
541 \theoremstyle{remark}
542 \newtheorem*{conclusion*}{Conclusion}
550 LabelString "Assumption @Section@.\arabic{theorem}."
553 \newtheorem{assumption}[thm]{Assumption}
560 LatexName assumption*
561 LabelString "Assumption."
564 \newtheorem*{assumption*}{Assumption}
569 # Define Case as an enumeration environment
575 LabelString "Case #:"
578 \newenvironment{caseenv}
579 {\begin{list}{\bfseries\upshape Case \arabic{casectr}:}{}\setcounter{casectr}{0}\usecounter{casectr}}