]> git.lyx.org Git - lyx.git/blob - lib/layouts/aastex.layout
ProvideNatbib patch from Mike; convert a bunch of example/template files
[lyx.git] / lib / layouts / aastex.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[aastex]{article (AASTeX)}
3 #
4 # Author: Mike Ressler <mike.ressler@alum.mit.edu>      
5 #
6 # Disclaimer: Though I am an astronomer at the Jet Propulsion Laboratory, this
7 # package was prepared on my own time on my own machine. Neither the United
8 # States government, the National Aeronautics and Space Administration, the
9 # California Institute of Technology, the American Astronomical Society, nor
10 # the Jet Propulsion Laboratory endorse this package - indeed, they probably
11 # don't even know of it's existence. Use of this package is covered by the LyX
12 # license which is found in the file COPYING in the root directory of the LyX
13 # distribution.
14 #
15 # Version 0.0   5/27/99 - Initial submission, basic LaTeX equivalents
16 # Version 0.1   6/04/99 - Most everything in sections 2.1-2.11 of AASTeX guide
17 #                         works. References work with some ERT. Regular tables
18 #                         (2.14) okay, deluxetable will never be supported.
19 #                         Figures (2.13) not even attempted yet. Misc (2.15) 
20 #                         partially supported, but much will remain ERT.
21 #                         Style options (section 3) can be typed into Extra
22 #                         Document options.
23 #                         Much cleaning of this file needs to be done.
24 # Version 1.0   6/09/99 - Implemented remaining commands as well as possible.
25 #                         There is little more I can do unless LyX source code
26 #                         is changed. (Not by me!) Documentation, template, and
27 #                         example files are available.
28 # Version 1.1   7/25/99 - Changed \url to take advantage of new layout option.
29 # Version 1.2   4/18/02 - Updated for natbib in 1.2.0
30
31 # General textclass parameters
32 Columns                 1
33 Sides                   1
34 MaxCounter              Counter_Section
35 #SecNumDepth            3
36 TocDepth                0
37 PageStyle               Plain
38 ProvidesAmsmath         1
39 ProvidesNatbib          1
40 ProvidesUrl             1
41 ClassOptions
42   PageStyle             ""      
43 End
44
45 DefaultFont
46   Family                Roman
47   Series                Medium
48   Shape                 Up
49   Size                  Normal
50   Color                 None
51 EndFont
52
53 # Standard style definition
54 Style Standard
55   Margin                Static
56   LatexType             Paragraph
57   LatexName             dummy
58   ParIndent             MM
59   ParSkip               0.4
60   Align                 Block
61   AlignPossible         Block, Left, Right, Center
62   LabelType             No_Label
63 End
64
65 # I want to keep the entries in a logical order.
66 # Therefore I'll define the entries first, then fill them in
67
68 Style Section
69   End
70 Style Subsection
71   End
72 Style Subsubsection
73   End
74 Style Paragraph
75   End
76 Style Itemize
77   End
78 Style Enumerate
79   End
80 Style Description
81   End
82 Style List
83   End
84 Style Title
85   End
86 Style Author
87   End
88 Style Affiliation
89   End
90 Style Email
91   End
92 Style And
93   End
94 Style Date
95   End
96 Style Abstract 
97   End
98 Style Keywords
99   End
100 Style Acknowledgements
101   End
102 Style Appendix
103   End
104 Style References
105   End
106 Style PlaceFigure
107   End
108 Style PlaceTable
109   End
110 Style TableComments
111   End
112 Style TableRefs
113   End
114 Style Caption
115   End
116 Style MathLetters
117   End
118 Style NoteToEditor
119   End
120
121 # OK, now we have a more or less consistent Ordering. Now fill the
122 # definitions. 
123 # First, the standard includes
124
125 Input stdsections.inc
126 Input stdtitle.inc
127 Input stdstruct.inc
128 Input stdlists.inc
129
130 # Remove unwanted Styles
131 NoStyle Part
132 NoStyle Chapter
133 NoStyle Subparagraph
134 NoStyle List
135 NoStyle Bibliography
136
137 # Redefine some things
138
139 # Section style redefinition
140 Style Section
141   Align                 Center
142   AlignPossible         Center
143   NextNoIndent          0
144   TopSep                2.0
145   BottomSep             1.3
146   Font 
147     Series              Bold
148     Size                Normal
149   EndFont
150 End
151
152 # Subsection style redefinition
153 Style Subsection
154   Align                 Center
155   AlignPossible         Center
156   NextNoIndent          0
157   TopSep                1.7
158   BottomSep             1.1
159   Font 
160     Series              Bold
161     Size                Normal
162   EndFont
163 End
164
165 # Subsubsection style redefinition
166 Style Subsubsection
167   Align                 Center
168   AlignPossible         Center
169   NextNoIndent          0
170   TopSep                1.7
171   BottomSep             1.1
172   Font 
173     Series              Medium
174     Shape               Italic
175     Size                Normal
176   EndFont
177 End
178
179 # Title style redefinition
180 Style Title
181   TopSep                2
182   BottomSep             1.3
183   Align                 Center
184   AlignPossible         Center
185   InTitle               0
186   Font 
187     Series              Bold
188     Size                Large
189   EndFont
190 End
191
192 # Author style redefinition
193 Style Author
194   Align                 Center
195   AlignPossible         Center
196   LabelType             No_Label
197   InTitle               0
198   Font 
199     Size                Normal
200     Series              Medium
201     Shape               SmallCaps
202   EndFont
203 End
204
205 # Date style redefinition
206 Style Date
207   LabelSep              ""
208   TopSep                1.2
209   Align                 Center
210   AlignPossible         Center
211   InTitle               0
212   Font 
213     Size                Small
214   EndFont
215 End
216
217 # Abstract style redefinition
218 Style Abstract 
219   LeftMargin            "MMM"
220   RightMargin           "MMM"
221   ParIndent             "MM"
222   TopSep                1.4
223   BottomSep             0.7
224   LabelType             Centered_Top_Environment
225   Align                 Block
226   AlignPossible         Block, Left, Right, Center
227   Font 
228     Size                Normal
229   EndFont
230   LabelFont 
231     Series              Bold
232     Size                Normal
233   EndFont
234 End 
235
236 # Affiliation style definition
237 Style Affiliation
238   Margin                Static
239   LatexType             Command
240   InTitle               0
241   LatexName             affil
242   ParSkip               0.4
243   BottomSep             0.4
244   Align                 Center
245   AlignPossible         Block, Left, Right, Center
246   LabelType             No_Label
247
248   Font 
249     Family              Roman
250     Size                Normal
251   EndFont
252 End
253
254 # Keywords style definition
255 Style Keywords
256   LeftMargin            MMM     
257   Margin                Dynamic
258   LatexType             Command
259   InTitle               0
260   LatexName             keywords
261   ParSkip               0.4
262   BottomSep             0.4
263   Align                 Block
264   AlignPossible         Block, Left, Right, Center
265   LabelType             Static
266   LabelSep              M
267   LabelString           "Subject headings:"
268   Font 
269     Family              Roman
270     Shape               Up
271     Size                Normal
272   EndFont
273   LabelFont 
274     Family              Roman
275     Shape               Italic
276     Size                Normal
277   EndFont
278 End
279
280 # Email style definition
281 Style Email
282   Margin                Static
283   LatexType             Command
284   InTitle               0
285   LatexName             email
286   ParSkip               0.4
287   BottomSep             0.4
288   Align                 Center
289   AlignPossible         Block, Left, Right, Center
290   LabelType             No_Label
291   Font 
292     Family              Roman
293     Size                Normal
294     Shape               Italic
295   EndFont
296 End
297
298 # Acknowledgements style definition
299 Style Acknowledgements
300   Margin                Dynamic
301   LatexType             Command
302   InTitle               0
303   LatexName             acknowledgements
304   TopSep                1.2     
305   ParSkip               0.4
306   BottomSep             0.8
307   Align                 Left
308   AlignPossible         Left
309   LabelType             Static
310   LabelString           [Acknowledgements]
311   KeepEmpty             1       
312   Font 
313     Family              Roman
314     Size                Normal
315     Shape               Italic
316   EndFont
317 End
318
319   
320 # And style definition
321 Style And
322   Margin                Dynamic
323   LatexType             Command
324   InTitle               0
325   LatexName             and
326   TopSep                1.2     
327   ParSkip               0.4
328   BottomSep             1.2
329   Align                 Center
330   AlignPossible         Center
331   LabelType             Static
332   LabelString           and
333   KeepEmpty             1       
334   Font 
335     Family              Roman
336     Size                Normal
337   EndFont
338 End
339  
340 # Placefigure style definition
341 Style PlaceFigure
342   Margin                Dynamic
343   LatexType             Command
344   InTitle               0
345   LatexName             placefigure
346   TopSep                1.2     
347   ParSkip               0.4
348   BottomSep             0.8
349   Align                 Left
350   AlignPossible         Left
351   LabelType             Static
352   LabelString           "Place Figure here: "
353   Font 
354     Family              Roman
355     Size                Normal
356     Shape               Italic
357   EndFont
358 End
359
360 # Placetable style definition
361 Style PlaceTable
362   Margin                Dynamic
363   LatexType             Command
364   InTitle               0
365   LatexName             placetable
366   TopSep                1.2     
367   ParSkip               0.4
368   BottomSep             0.8
369   Align                 Left
370   AlignPossible         Left
371   LabelType             Static
372   LabelString           "Place Table here: "
373   Font 
374     Family              Roman
375     Size                Normal
376     Shape               Italic
377   EndFont
378 End
379
380 # Appendix style definition
381 Style Appendix
382   Margin                Dynamic
383   LatexType             Command
384   InTitle               0
385   LatexName             appendix
386   TopSep                1.2     
387   ParSkip               0.4
388   BottomSep             0.8
389   Align                 Left
390   AlignPossible         Left
391   LabelType             Static
392   LabelString           [Appendix]
393   KeepEmpty             1       
394   Font 
395     Family              Roman
396     Size                Normal
397     Shape               Italic
398   EndFont
399 End
400
401 # MathLetters style redefinition
402 Style MathLetters
403   LatexType             Environment     
404   LatexName             mathletters
405   LabelType             No_Label
406   Align                 Block
407   AlignPossible         Block, Left, Right, Center
408   Font 
409     Size                Normal
410   EndFont
411 End 
412
413 # References style redefinition
414 Style References
415   Margin                First_Dynamic   
416   LatexType             Item_Environment        
417   LatexName             thebibliography
418   NextNoIndent          1
419   LeftMargin            MM
420   ParSkip               0.4
421   ItemSep               0
422   TopSep                0.7
423   BottomSep             0.7
424   ParSep                0.5
425   LabelType             Bibliography
426   LabelString           References
427   LabelBottomSep        0.7
428   Align                 Block
429   AlignPossible         Block, Left, Right, Center
430   LabelFont 
431     Family              Roman
432     Size                Normal
433     Series              Bold
434   EndFont
435 End 
436
437 # Need reordering below here
438
439 # Notetoeditor style definition
440 Style NoteToEditor
441   Margin                Dynamic
442   LatexType             Command
443   InTitle               0
444   LatexName             notetoeditor
445   TopSep                1.2     
446   ParSkip               0.4
447   BottomSep             0.8
448   Align                 Left
449   AlignPossible         Block, Left, Right, Center
450   LabelType             Static
451   LabelString           "Note to Editor: "
452   Font 
453     Family              Roman
454     Size                Normal
455     Shape               Italic
456   EndFont
457 End
458
459 # TableRefs style definition
460 Style TableRefs
461   Margin                First_Dynamic
462   LatexType             Command
463   InTitle               0
464   LatexName             tablerefs
465   TopSep                1.2     
466   ParSkip               0.4
467   BottomSep             0.8
468   Align                 Block
469   AlignPossible         Block, Left, Right, Center
470   LabelType             Static
471   LabelString           "References. --- "
472   Font 
473     Family              Roman
474     Size                Normal
475   EndFont
476 End
477
478 # TableComments style definition
479 Style TableComments
480   Margin                First_Dynamic
481   LatexType             Command
482   InTitle               0
483   LatexName             tablecomments
484   TopSep                1.2     
485   ParSkip               0.4
486   BottomSep             0.8
487   Align                 Block
488   AlignPossible         Block, Left, Right, Center
489   LabelType             Static
490   LabelString           "Note. --- "
491   Font 
492     Family              Roman
493     Size                Normal
494   EndFont
495 End
496
497 # Caption style definition
498 Style Caption
499   Margin                First_Dynamic
500   LatexType             Command
501   LatexName             caption
502   NeedProtect           1
503   LabelSep              xx
504   ParSkip               0.4
505   TopSep                0.5
506   Align                 Block
507   AlignPossible         Block, Left
508   LabelType             Sensitive
509   LabelString           Caption
510
511   # label font definition
512   LabelFont 
513     Series              Bold
514   EndFont
515 End
516
517 # FigCaption style definition
518 Style FigCaption
519   Margin                First_Dynamic
520   LatexType             Command
521   LatexName             figcaption
522   LatexParam            [FileName]
523   LabelSep              xx
524   ParSkip               0.4
525   TopSep                0.5
526   Align                 Block
527   AlignPossible         Block, Left
528   LabelType             Static
529   LabelString           "Fig. --- "
530 End