]> git.lyx.org Git - lyx.git/blob - lib/layouts/amsdefs.inc
Rename file.
[lyx.git] / lib / layouts / amsdefs.inc
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
5 # Including the maths stuff
6 Input amsmaths.inc
7
8 # The AMS documentclasses use the package amsmath and provide the
9 # functionality of makeidx.sty.
10 ProvidesAmsmath         1
11 ProvidesMakeidx         1
12
13
14 # the environnements copied from the old amsart.layout are :
15 # - Proof, 
16 # - Bibliography
17 # - Title
18 # - Author
19 # - Date
20 # - Abstract (This is a title component for this style.)
21 # - Address
22 # - Email
23 # - Keywords
24 # - Subjectclass
25
26 # Proof style declaration
27 Style Proof
28         Margin                First_Dynamic
29         LatexType             Environment
30         LatexName             proof
31         NextNoIndent          1
32         LabelSep              xx
33         ParIndent             MMM  
34         ParSkip               0.4
35         ItemSep               0.2
36         TopSep                0.7
37         BottomSep             0.7
38         ParSep                0.3
39         Align                 Block
40         AlignPossible         Block, Left
41         LabelType             Static
42         LabelString           "Proof."
43         EndLabelType          Box
44         
45         # standard font definition
46         Font
47           Shape               Up
48           Size                Normal
49         EndFont
50
51         # label font definition
52         LabelFont
53           Shape               Italic
54         EndFont
55
56         # We don't want the preamble from Theorem
57         Preamble
58         EndPreamble 
59 End  
60
61 ### Now the title stuff. We copy do not use stdstruct.inc to keep
62 ### things in the right order
63
64 # Title style definition
65 Style Title
66         Margin                Static
67         LatexType             Command
68         InTitle               1
69         LatexName             title
70         ParSkip               0.4
71         ItemSep               0
72         TopSep                0
73         BottomSep             1
74         ParSep                1
75         Align                 Center
76         AlignPossible         Center
77         LabelType             No_Label
78
79         # standard font definition
80         Font
81           Shape               Smallcaps
82           Series              Bold
83           Size                Larger
84         EndFont
85 End
86
87 # Author style definition
88 Style Author
89         Margin                Static
90         LatexType             Command
91         InTitle               1
92         LatexName             author
93         LabelSep              xxx
94         ParSkip               0.4
95         TopSep                1.3
96         BottomSep             0.7
97         ParSep                0.7
98         Align                 Center
99         AlignPossible         Center
100         LabelType             No_Label
101
102         # standard font definition
103         Font
104           Size                Large
105           Shape               Smallcaps
106         EndFont
107
108 End
109
110 # Date style definition
111 Style Date
112         Margin                Dynamic
113         LatexType             Command
114         InTitle               1
115         LatexName             date
116         LabelSep              xxx
117         ParSkip               0.4
118         TopSep                0.9
119         BottomSep             0.5
120         ParSep                1
121         Align                 Center
122         AlignPossible         Center
123         LabelType             Static
124         LabelString           "Date: "
125
126         # standard font definition
127         Font 
128           Size                Large
129         EndFont
130
131         LabelFont
132           Shape               Italic
133           Size                Large
134         EndFont
135 End
136
137 # Abstract style definition
138 Style Abstract 
139         Margin                First_Dynamic
140         LatexType             Environment
141         InTitle               1
142         LatexName             abstract
143         LeftMargin            MMM
144         LabelIndent           MMM
145         RightMargin           MMM
146         ParIndent             MM
147         TopSep                0.7
148         BottomSep             0.7
149         Align                 Block
150         AlignPossible         Block
151         LabelType             Static
152         LabelString           Abstract.
153         LabelSep              M
154
155         # standard font definition
156         Font 
157           Size                Small
158         EndFont
159
160         # label font definition
161         LabelFont
162           Shape               Smallcaps
163         EndFont
164 End 
165
166 # Address style definition
167 Style Address
168         Margin                Dynamic
169         LatexType             Command
170         InTitle               1
171         LatexName             address
172         ParSkip               0.4
173         BottomSep             1.5
174         ParSep                1.5
175         Align                 Left
176         AlignPossible         Block, Left, Right, Center
177         LabelType             Static
178         LabelString           "Address: "
179         # label font definition
180         LabelFont
181           Shape               Italic
182         EndFont
183 End  
184
185 # Current Address style definition
186 Style Current_Address
187         Margin                Dynamic
188         LatexType             Command
189         InTitle               1
190         LatexName             curraddr
191         ParSkip               0.4
192         BottomSep             1.5
193         ParSep                1.5
194         Align                 Left
195         AlignPossible         Block, Left, Right, Center
196         LabelType             Static
197         LabelString           "Current address: "
198         # label font definition
199         LabelFont
200           Shape               Italic
201         EndFont
202 End  
203
204 # Email style definition
205 Style Email
206         Margin                First_Dynamic
207         LatexType             Command
208         InTitle               1
209         LatexName             email
210         ParSkip               0.4
211         BottomSep             1.5
212         ParSep                1.5
213         Align                 Left
214         AlignPossible         Block, Left, Right, Center
215         LabelType             Static
216         labelString           "E-mail address: "
217         LabelFont
218           Shape               Italic
219         EndFont
220 End
221
222 # URL style definition
223 Style URL
224         Margin                First_Dynamic
225         LatexType             Command
226         InTitle               1
227         LatexName             urladdr
228         ParSkip               0.4
229         BottomSep             1.5
230         ParSep                1.5
231         Align                 Left
232         AlignPossible         Block, Left, Right, Center
233         LabelType             Static
234         labelString           "URL: "
235         LabelFont
236           Shape               Italic
237         EndFont
238 End
239
240 # Keywords style definition
241 Style Keywords
242         Margin                Dynamic
243         LatexType             Command
244         InTitle               1
245         LatexName             keywords
246         ParSkip               0.4
247         BottomSep             1.5
248         ParSep                1.5
249         Align                 Left
250         AlignPossible         Block, Left, Right, Center
251         LabelType             Static
252         LabelString           "Key words and phrases: "
253         # label font definition
254         LabelFont
255           Shape               Italic
256         EndFont
257 End  
258
259 # Thanks style definition
260 Style Thanks
261         Margin                Dynamic
262         LatexType             Command
263         InTitle               1
264         LatexName             thanks
265         ParSkip               0.4
266         BottomSep             1.5
267         ParSep                1.5
268         Align                 Left
269         AlignPossible         Block, Left, Right, Center
270         LabelType             Static
271         LabelString           "Thanks: "
272         # label font definition
273         LabelFont
274           Shape               Italic
275         EndFont
276 End  
277
278 # Dedicatory style definition
279 Style Dedicatory
280         Margin                Dynamic
281         LatexType             Command
282         InTitle               1
283         LatexName             dedicatory
284         ParSkip               0.4
285         BottomSep             1.5
286         ParSep                1.5
287         Align                 Left
288         AlignPossible         Block, Left, Right, Center
289         LabelType             Static
290         LabelString           "Dedication: "
291         # label font definition
292         LabelFont
293           Shape               Italic
294         EndFont
295 End  
296
297
298 # Translator style definition
299 Style Translator
300         Margin                Dynamic
301         LatexType             Command
302         InTitle               1
303         LatexName             translator
304         ParSkip               0.4
305         BottomSep             1.5
306         ParSep                1.5
307         Align                 Left
308         AlignPossible         Block, Left, Right, Center
309         LabelType             Static
310         LabelString           "Translator: "
311         # label font definition
312         LabelFont
313           Shape               Italic
314         EndFont
315 End  
316
317 # Subjectclass style definition
318 Style Subjectclass
319         Margin                Dynamic
320         LatexType             Command
321         InTitle               1
322         LatexName             subjclass
323         ParSkip               0.4
324         BottomSep             1.5
325         ParSep                1.5
326         Align                 Left
327         AlignPossible         Block, Left, Right, Center
328         LabelType             Static
329         LabelString           "1991 Mathematics Subject Classification: "
330         # label font definition
331         LabelFont
332           Shape               Italic
333         EndFont
334 End 
335
336
337 # Bibliography style definition
338 Style Bibliography
339         Margin                First_Dynamic
340         LatexType             Bib_Environment
341         LatexName             thebibliography
342         NextNoIndent          1
343         LeftMargin            MM
344         ParSkip               0.4
345         ItemSep               0
346         TopSep                0.7
347         BottomSep             0.7
348         ParSep                0.5
349         Align                 Block
350         AlignPossible         Block, Left
351         LabelType             Bibliography
352         LabelString           References
353         LabelBottomSep    0.7
354
355         # standard font definition
356         Font
357           Size                Small
358         EndFont
359
360         # label font definition
361         LabelFont
362           Size                Normal
363           Shape               Smallcaps
364         EndFont
365 End
366