]> git.lyx.org Git - lyx.git/blob - lib/layouts/theorems-ams-bytype.module
bf66f514a10db10887d244ed54471403429e1e44
[lyx.git] / lib / layouts / theorems-ams-bytype.module
1 #\DeclareLyXModule{Theorems (AMS, Numbered by Type)}
2 #DescriptionBegin
3 #Defines theorem environments and the proof environment using the extended 
4 #AMS machinery. Both numbered and unnumbered types are provided. Contrary to the
5 #plain AMS Theorem module, the different theorem types provided here each have 
6 #a separate counter (e.g., theorem 1, theorem 2, lemma 1, proposition 1, theorem 3,
7 #lemma 2, ..., as opposed to theorem 1, theorem 2, lemma 3, proposition 4, ...).
8 #The numbering's scope is the whole document. For chapter- and section-wide numbering,
9 #use one of the 'within Sections'/'within Chapters' modules, respectively.
10 #DescriptionEnd
11 #Excludes: theorems-std | theorems-starred | theorems-ams | theorems-bytype
12
13 # Original Author : David L. Johnson <dlj0@lehigh.edu>
14 # Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15 # modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr>
16 # Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
17 # Modularized Jan 08 by Richard Heck <rgheck@comcast.net>
18 # Hacked June '09 by Paul Rubin <rubin@msu.edu> to use separate counters
19
20 Format 68
21
22 Requires        amsmath,amsthm
23
24 # We need separate counters for each theorem-like style.
25 Counter theorem
26 End
27 Counter corollary
28 End
29 Counter lemma
30 End
31 Counter proposition
32 End
33 Counter conjecture
34 End
35 Counter fact
36 End
37 Counter definition
38 End
39 Counter example
40 End
41 Counter solution
42 End
43 Counter problem
44 End
45 Counter exercise
46 End
47 Counter remark
48 End
49 Counter claim
50 End
51
52 Input theorems-order.inc
53 Input theorems-ams-bytype.inc
54 Input theorems-starred.inc
55 Input theorems-proof.inc