]> git.lyx.org Git - lyx.git/blob - lib/layouts/aastex.layout
Rename file.
[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 Input stdfloats.inc
130 Input stdcounters.inc
131 # Remove unwanted Styles
132 NoStyle Part
133 NoStyle Chapter
134 NoStyle Subparagraph
135 NoStyle List
136 NoStyle Bibliography
137
138 # Redefine some things
139
140 # Section style redefinition
141 Style Section
142         Align                 Center
143         AlignPossible         Center
144         NextNoIndent          0
145         TopSep                2.0
146         BottomSep             1.3
147         Font 
148           Series              Bold
149           Size                Normal
150         EndFont
151 End
152
153 # Subsection style redefinition
154 Style Subsection
155         Align                 Center
156         AlignPossible         Center
157         NextNoIndent          0
158         TopSep                1.7
159         BottomSep             1.1
160         Font 
161           Series              Bold
162           Size                Normal
163         EndFont
164 End
165
166 # Subsubsection style redefinition
167 Style Subsubsection
168         Align                 Center
169         AlignPossible         Center
170         NextNoIndent          0
171         TopSep                1.7
172         BottomSep             1.1
173         Font 
174           Series              Medium
175           Shape               Italic
176           Size                Normal
177         EndFont
178 End
179
180 # Title style redefinition
181 Style Title
182         TopSep                2
183         BottomSep             1.3
184         Align                 Center
185         AlignPossible         Center
186         InTitle               0
187         Font 
188           Series              Bold
189           Size                Large
190         EndFont
191 End
192
193 # Author style redefinition
194 Style Author
195         Align                 Center
196         AlignPossible         Center
197         LabelType             No_Label
198         InTitle               0
199         Font 
200           Size                Normal
201           Series              Medium
202           Shape               SmallCaps
203         EndFont
204 End
205
206 # Date style redefinition
207 Style Date
208         LabelSep              ""
209         TopSep                1.2
210         Align                 Center
211         AlignPossible         Center
212         InTitle               0
213         Font 
214           Size                Small
215         EndFont
216 End
217
218 # Abstract style redefinition
219 Style Abstract 
220         LeftMargin            "MMM"
221         RightMargin           "MMM"
222         ParIndent             "MM"
223         TopSep                1.4
224         BottomSep             0.7
225         LabelType             Centered_Top_Environment
226         Align                 Block
227         AlignPossible         Block, Left, Right, Center
228         Font 
229           Size                Normal
230         EndFont
231         LabelFont 
232           Series              Bold
233           Size                Normal
234         EndFont
235 End 
236
237 # Affiliation style definition
238 Style Affiliation
239         Margin                Static
240         LatexType             Command
241         InTitle               0
242         LatexName             affil
243         ParSkip               0.4
244         BottomSep             0.4
245         Align                 Center
246         AlignPossible         Block, Left, Right, Center
247         LabelType             No_Label
248
249         Font 
250           Family              Roman
251           Size                Normal
252         EndFont
253 End
254
255 # Keywords style definition
256 Style Keywords
257         LeftMargin            MMM     
258         Margin                Dynamic
259         LatexType             Command
260         InTitle               0
261         LatexName             keywords
262         ParSkip               0.4
263         BottomSep             0.4
264         Align                 Block
265         AlignPossible         Block, Left, Right, Center
266         LabelType             Static
267         LabelSep              M
268         LabelString           "Subject headings:"
269         Font 
270           Family              Roman
271           Shape               Up
272           Size                Normal
273         EndFont
274         LabelFont 
275           Family              Roman
276           Shape               Italic
277           Size                Normal
278         EndFont
279 End
280
281 # Email style definition
282 Style Email
283         Margin                Static
284         LatexType             Command
285         InTitle               0
286         LatexName             email
287         ParSkip               0.4
288         BottomSep             0.4
289         Align                 Center
290         AlignPossible         Block, Left, Right, Center
291         LabelType             No_Label
292         Font 
293           Family              Roman
294           Size                Normal
295           Shape               Italic
296         EndFont
297 End
298
299 # Acknowledgements style definition
300 Style Acknowledgements
301         Margin                Dynamic
302         LatexType             Command
303         InTitle               0
304         LatexName             acknowledgements
305         TopSep                1.2     
306         ParSkip               0.4
307         BottomSep             0.8
308         Align                 Left
309         AlignPossible         Left
310         LabelType             Static
311         LabelString           [Acknowledgements]
312         KeepEmpty             1       
313         Font 
314           Family              Roman
315           Size                Normal
316           Shape               Italic
317         EndFont
318 End
319
320         
321 # And style definition
322 Style And
323         Margin                Dynamic
324         LatexType             Command
325         InTitle               0
326         LatexName             and
327         TopSep                1.2     
328         ParSkip               0.4
329         BottomSep             1.2
330         Align                 Center
331         AlignPossible         Center
332         LabelType             Static
333         LabelString           and
334         KeepEmpty             1       
335         Font 
336           Family              Roman
337           Size                Normal
338         EndFont
339 End
340  
341 # Placefigure style definition
342 Style PlaceFigure
343         Margin                Dynamic
344         LatexType             Command
345         InTitle               0
346         LatexName             placefigure
347         TopSep                1.2     
348         ParSkip               0.4
349         BottomSep             0.8
350         Align                 Left
351         AlignPossible         Left
352         LabelType             Static
353         LabelString           "Place Figure here: "
354         Font 
355           Family              Roman
356           Size                Normal
357           Shape               Italic
358         EndFont
359 End
360
361 # Placetable style definition
362 Style PlaceTable
363         Margin                Dynamic
364         LatexType             Command
365         InTitle               0
366         LatexName             placetable
367         TopSep                1.2     
368         ParSkip               0.4
369         BottomSep             0.8
370         Align                 Left
371         AlignPossible         Left
372         LabelType             Static
373         LabelString           "Place Table here: "
374         Font 
375           Family              Roman
376           Size                Normal
377           Shape               Italic
378         EndFont
379 End
380
381 # Appendix style definition
382 Style Appendix
383         Margin                Dynamic
384         LatexType             Command
385         InTitle               0
386         LatexName             appendix
387         TopSep                1.2     
388         ParSkip               0.4
389         BottomSep             0.8
390         Align                 Left
391         AlignPossible         Left
392         LabelType             Static
393         LabelString           [Appendix]
394         KeepEmpty             1       
395         Font 
396           Family              Roman
397           Size                Normal
398           Shape               Italic
399         EndFont
400 End
401
402 # MathLetters style redefinition
403 Style MathLetters
404         LatexType             Environment     
405         LatexName             mathletters
406         LabelType             No_Label
407         Align                 Block
408         AlignPossible         Block, Left, Right, Center
409         Font 
410           Size                Normal
411         EndFont
412 End 
413
414 # References style redefinition
415 Style References
416         Margin                First_Dynamic   
417         LatexType             Item_Environment        
418         LatexName             thebibliography
419         NextNoIndent          1
420         LeftMargin            MM
421         ParSkip               0.4
422         ItemSep               0
423         TopSep                0.7
424         BottomSep             0.7
425         ParSep                0.5
426         LabelType             Bibliography
427         LabelString           References
428         LabelBottomSep        0.7
429         Align                 Block
430         AlignPossible         Block, Left, Right, Center
431         LabelFont 
432           Family              Roman
433           Size                Normal
434           Series              Bold
435         EndFont
436 End 
437
438 # Need reordering below here
439
440 # Notetoeditor style definition
441 Style NoteToEditor
442         Margin                Dynamic
443         LatexType             Command
444         InTitle               0
445         LatexName             notetoeditor
446         TopSep                1.2     
447         ParSkip               0.4
448         BottomSep             0.8
449         Align                 Left
450         AlignPossible         Block, Left, Right, Center
451         LabelType             Static
452         LabelString           "Note to Editor: "
453         Font 
454           Family              Roman
455           Size                Normal
456           Shape               Italic
457         EndFont
458 End
459
460 # TableRefs style definition
461 Style TableRefs
462         Margin                First_Dynamic
463         LatexType             Command
464         InTitle               0
465         LatexName             tablerefs
466         TopSep                1.2     
467         ParSkip               0.4
468         BottomSep             0.8
469         Align                 Block
470         AlignPossible         Block, Left, Right, Center
471         LabelType             Static
472         LabelString           "References. --- "
473         Font 
474           Family              Roman
475           Size                Normal
476         EndFont
477 End
478
479 # TableComments style definition
480 Style TableComments
481         Margin                First_Dynamic
482         LatexType             Command
483         InTitle               0
484         LatexName             tablecomments
485         TopSep                1.2     
486         ParSkip               0.4
487         BottomSep             0.8
488         Align                 Block
489         AlignPossible         Block, Left, Right, Center
490         LabelType             Static
491         LabelString           "Note. --- "
492         Font 
493           Family              Roman
494           Size                Normal
495         EndFont
496 End
497
498 # Caption style definition
499 Style Caption
500         Margin                First_Dynamic
501         LatexType             Command
502         LatexName             caption
503         NeedProtect           1
504         LabelSep              xx
505         ParSkip               0.4
506         TopSep                0.5
507         Align                 Block
508         AlignPossible         Block, Left
509         LabelType             Sensitive
510         LabelString           Caption
511
512         # label font definition
513         LabelFont 
514           Series              Bold
515         EndFont
516 End
517
518 # FigCaption style definition
519 Style FigCaption
520         Margin                First_Dynamic
521         LatexType             Command
522         LatexName             figcaption
523         LatexParam            [FileName]
524         LabelSep              xx
525         ParSkip               0.4
526         TopSep                0.5
527         Align                 Block
528         AlignPossible         Block, Left
529         LabelType             Static
530         LabelString           "Fig. --- "
531 End