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)
57 AlignPossible Block, Left
60 LabelString "Theorem @Section@.\arabic{theorem}."
71 \newtheorem{thm}{Theorem}[section]
80 LabelString "Theorem."
83 \newtheorem*{thm*}{Theorem}
92 LabelString "Corollary @Section@.\arabic{theorem}."
95 \newtheorem{cor}[thm]{Corollary}
103 LabelString "Corollary."
106 \newtheorem*{cor*}{Corollary}
115 LabelString "Lemma @Section@.\arabic{theorem}."
118 \newtheorem{lem}[thm]{Lemma}
129 \newtheorem*{lem*}{Lemma}
138 LabelString "Proposition @Section@.\arabic{theorem}."
141 \newtheorem{prop}[thm]{Proposition}
149 LabelString "Proposition."
152 \newtheorem*{prop*}{Proposition}
161 LabelString "Conjecture @Section@.\arabic{theorem}."
164 \newtheorem{conjecture}[thm]{Conjecture}
171 LatexName conjecture*
172 LabelString "Conjecture."
175 \newtheorem*{conjecture*}{Conjecture}
184 LabelString "Criterion @Section@.\arabic{theorem}."
187 \newtheorem{criterion}[thm]{Criterion}
194 LabelString "Criterion."
197 \newtheorem*{criterion*}{Criterion}
206 LabelString "Algorithm @Section@.\arabic{theorem}."
209 \newtheorem{algorithm}[thm]{Algorithm}
217 LabelString "Algorithm."
220 \newtheorem*{algorithm*}{Algorithm}
229 LabelString "Fact @Section@.\arabic{theorem}."
232 \newtheorem{fact}[thm]{Fact}
243 \newtheorem*{fact*}{Fact}
252 LabelString "Axiom @Section@.\arabic{theorem}."
255 \newtheorem{ax}[thm]{Axiom}
266 \newtheorem*{ax*}{Axiom}
275 LabelString "Definition @Section@.\arabic{theorem}."
284 \theoremstyle{definition}
285 \newtheorem{defn}[thm]{Definition}
294 LabelString "Definition."
296 \theoremstyle{definition}
297 \newtheorem*{defn*}{Definition}
305 LabelString "Example @Section@.\arabic{theorem}."
307 \theoremstyle{definition}
308 \newtheorem{example}[thm]{Example}
314 CopyStyle Definition*
316 LabelString "Example."
318 \theoremstyle{definition}
319 \newtheorem*{example*}{Example}
327 LabelString "Condition @Section@.\arabic{theorem}."
329 \theoremstyle{definition}
330 \newtheorem{condition}[thm]{Condition}
336 CopyStyle Definition*
338 LabelString "Condition."
340 \theoremstyle{definition}
341 \newtheorem*{condition*}{Condition}
349 LabelString "Problem @Section@.\arabic{theorem}."
351 \theoremstyle{definition}
352 \newtheorem{problem}[thm]{Problem}
358 CopyStyle Definition*
360 LabelString "Problem."
362 \theoremstyle{definition}
363 \newtheorem*{problem*}{Problem}
371 LabelString "Exercise @Section@.\arabic{theorem}."
373 \theoremstyle{definition}
374 \newtheorem{xca}[thm]{Exercise}
380 CopyStyle Definition*
382 LabelString "Exercise."
384 \theoremstyle{definition}
385 \newtheorem*{xca*}{Exercise}
394 LabelString "Remark @Section@.\arabic{theorem}."
404 \theoremstyle{remark}
405 \newtheorem{rem}[thm]{Remark}
414 LabelString "Remark."
416 \theoremstyle{remark}
417 \newtheorem*{rem*}{Remark}
425 LabelString "Claim @Section@.\arabic{theorem}."
427 \theoremstyle{remark}
428 \newtheorem{claim}[thm]{Claim}
438 \theoremstyle{remark}
439 \newtheorem*{claim*}{Claim}
447 LabelString "Note @Section@.\arabic{theorem}."
449 \theoremstyle{remark}
450 \newtheorem{note}[thm]{Note}
460 \theoremstyle{remark}
461 \newtheorem*{note*}{Note}
469 LabelString "Notation @Section@.\arabic{theorem}."
471 \theoremstyle{remark}
472 \newtheorem{notation}[thm]{Notation}
480 LabelString "Notation."
482 \theoremstyle{remark}
483 \newtheorem*{notation*}{Notation}
491 LabelString "Summary @Section@.\arabic{theorem}."
493 \theoremstyle{remark}
494 \newtheorem{summary}[thm]{Summary}
502 LabelString "Summary."
504 \theoremstyle{remark}
505 \newtheorem*{summary*}{Summary}
510 Style Acknowledgement
512 LatexName acknowledgement
513 LabelString "Acknowledgement @Section@.\arabic{theorem}."
515 \theoremstyle{remark}
516 \newtheorem{acknowledgement}[thm]{Acknowledgement}
521 Style Acknowledgement*
523 LatexName acknowledgement*
524 LabelString "Acknowledgement."
526 \theoremstyle{remark}
527 \newtheorem*{acknowledgement*}{Acknowledgement}
535 LabelString "Conclusion @Section@.\arabic{theorem}."
537 \theoremstyle{remark}
538 \newtheorem{conclusion}[thm]{Conclusion}
545 LatexName conclusion*
546 LabelString "Conclusion."
548 \theoremstyle{remark}
549 \newtheorem*{conclusion*}{Conclusion}
558 LabelString "Assumption @Section@.\arabic{theorem}."
561 \newtheorem{assumption}[thm]{Assumption}
568 LatexName assumption*
569 LabelString "Assumption."
572 \newtheorem*{assumption*}{Assumption}
577 # Define Case as an enumeration environment
583 LabelString "Case #:"
586 \newenvironment{caseenv}
587 {\begin{list}{\bfseries\upshape Case \arabic{casectr}:}{}\setcounter{casectr}{0}\usecounter{casectr}}