]> git.lyx.org Git - features.git/blob - lib/layouts/theorems-std.module
This is one of a series of patches that will merge the layout modules development...
[features.git] / lib / layouts / theorems-std.module
1 #\DeclareLyXModule{Defines some theorem environments for use with non-AMS classes. The theorems are numbered consecutively throughout the document.}{Theorems}
2
3 # Author: Richard Heck <rgheck@comcast.net>
4 # Adapted from amsmaths.inc
5
6 # The environnements defined are :
7 # - Theorem
8 # - Corollary
9 # - Lemma
10 # - Proposition
11 # - Conjecture
12 # - Definition
13 # - Example
14 # - Exercise
15 # - Remark
16 # - Note
17 # - Claim
18 # - Case
19 # - Conclusion
20 # - Fact
21
22 Format 5
23
24 Counter
25         Name                 theorem
26 End
27
28
29 Style Theorem
30         Margin                First_Dynamic
31         LatexType             Environment
32         LatexName             thm
33         NextNoIndent          1
34         LabelSep              xx
35         ParIndent             MMM
36         ParSkip               0.4
37         ItemSep               0.2
38         TopSep                0.7
39         BottomSep             0.7
40         ParSep                0.3
41         Align                 Block
42         AlignPossible         Block, Left
43         LabelType             Counter
44         LabelCounter          theorem
45         LabelString           "Theorem \arabic{theorem}."
46         Font
47           Shape               Italic
48           Size                Normal
49         EndFont
50         LabelFont
51           Shape               Up
52           Series              Bold
53         EndFont
54         Preamble
55                 \newtheorem{thm}{Theorem}
56         EndPreamble
57 End
58
59 Style Corollary
60         CopyStyle             Theorem
61         LatexName             cor
62         LabelString           "Corollary \thetheorem."
63         Preamble
64           \newtheorem{cor}[thm]{Corollary}
65         EndPreamble
66 End
67
68 Style Lemma
69         CopyStyle             Theorem
70         LatexName             lem
71         LabelString           "Lemma \thetheorem."
72         Preamble
73           \newtheorem{lem}[thm]{Lemma}
74         EndPreamble
75 End
76
77 Style Proposition
78         CopyStyle             Theorem
79         LatexName             prop
80         LabelString           "Proposition \thetheorem."
81         Preamble
82           \newtheorem{prop}[thm]{Proposition}
83         EndPreamble
84 End
85
86 Style Conjecture
87         CopyStyle             Theorem
88         LatexName             conjecture
89         LabelString           "Conjecture \thetheorem."
90         Preamble
91           \newtheorem{conjecture}[thm]{Conjecture}
92         EndPreamble
93 End
94
95 Style Fact
96         CopyStyle             Theorem
97         LatexName             fact
98         LabelString           "Fact \thetheorem."
99         Preamble
100           \newtheorem{fact}[thm]{Fact}
101         EndPreamble
102 End
103
104 Style Definition
105         CopyStyle             Theorem
106         LatexName             defn
107         LabelString           "Definition \thetheorem."
108         Font
109           Shape               Up
110         EndFont
111         LabelFont
112           Shape               Up
113           Series              Bold
114         EndFont
115         Preamble
116           \newtheorem{defn}[thm]{Definition}
117         EndPreamble
118 End
119
120
121 Style Example
122         CopyStyle             Definition
123         LatexName             example
124         LabelString           "Example \thetheorem."
125         Preamble
126           \newtheorem{example}[thm]{Example}
127         EndPreamble
128 End
129
130
131 Style Exercise
132         CopyStyle             Definition
133         LatexName             xca
134         LabelString           "Exercise \thetheorem."
135         Preamble
136           \newtheorem{xca}{Exercise}
137         EndPreamble
138 End
139
140
141 Style Remark
142         CopyStyle             Theorem
143         LatexName             rem
144         LabelString           "Remark \thetheorem."
145         Font
146           Shape               Up
147           Size                Normal
148         EndFont
149         LabelFont
150           Series              Medium
151           Shape               Italic
152         EndFont
153         Preamble
154           \newtheorem{rem}[thm]{Remark}
155         EndPreamble
156 End
157
158
159 Style Claim
160         CopyStyle             Remark
161         LatexName             claim
162         LabelString           "Claim \thetheorem."
163         Preamble
164           \newtheorem{claim}[thm]{Claim}
165         EndPreamble
166 End
167
168 Style Case
169         CopyStyle             Remark
170         LatexName             case
171         LabelString           "Case \thetheorem."
172         Preamble
173           \newtheorem{case}[thm]{Case}
174         EndPreamble
175 End
176
177
178 Style Conclusion
179         CopyStyle             Remark
180         LatexName             conclusion
181         LabelString           "Conclusion \thetheorem."
182         Preamble
183           \newtheorem{conclusion}[thm]{Conclusion}
184         EndPreamble
185 End
186