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