]> git.lyx.org Git - lyx.git/blob - lib/layouts/aastex.layout
cdd776061c77128e3f0a2e0a97234599b99cff8e
[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
30 # General textclass parameters
31 Columns                 1
32 Sides                   1
33 MaxCounter              Counter_Section
34 #SecNumDepth            3
35 TocDepth                0
36 PageStyle               Plain
37 ProvidesAmsmath         1
38 ProvidesUrl             1
39 ClassOptions
40   PageStyle             ""      
41 End
42
43 DefaultFont
44   Family                Roman
45   Series                Medium
46   Shape                 Up
47   Size                  Normal
48   Color                 None
49 EndFont
50
51 # Standard style definition
52 Style Standard
53   Margin                Static
54   LatexType             Paragraph
55   LatexName             dummy
56   ParIndent             MM
57   ParSkip               0.4
58   Align                 Block
59   AlignPossible         Block, Left, Right, Center
60   LabelType             No_Label
61 End
62
63 # I want to keep the entries in a logical order.
64 # Therefore I'll define the entries first, then fill them in
65
66 Style Section
67   End
68 Style Subsection
69   End
70 Style Subsubsection
71   End
72 Style Paragraph
73   End
74 Style Itemize
75   End
76 Style Enumerate
77   End
78 Style Description
79   End
80 Style List
81   End
82 Style Title
83   End
84 Style Author
85   End
86 Style Affiliation
87   End
88 Style Email
89   End
90 Style And
91   End
92 Style Date
93   End
94 Style Abstract 
95   End
96 Style Keywords
97   End
98 Style Acknowledgements
99   End
100 Style Appendix
101   End
102 Style References
103   End
104 Style PlaceFigure
105   End
106 Style PlaceTable
107   End
108 Style TableComments
109   End
110 Style TableRefs
111   End
112 Style Caption
113   End
114 Style MathLetters
115   End
116 Style NoteToEditor
117   End
118
119 # OK, now we have a more or less consistent Ordering. Now fill the
120 # definitions. 
121 # First, the standard includes
122
123 Input stdsections.inc
124 Input stdtitle.inc
125 Input stdstruct.inc
126 Input stdlists.inc
127
128 # Remove unwanted Styles
129 NoStyle Part
130 NoStyle Chapter
131 NoStyle Subparagraph
132 NoStyle List
133 NoStyle Bibliography
134
135 # Redefine some things
136
137 # Section style redefinition
138 Style Section
139   Align                 Center
140   AlignPossible         Center
141   NextNoIndent          0
142   TopSep                2.0
143   BottomSep             1.3
144   Font 
145     Series              Bold
146     Size                Normal
147   EndFont
148 End
149
150 # Subsection style redefinition
151 Style Subsection
152   Align                 Center
153   AlignPossible         Center
154   NextNoIndent          0
155   TopSep                1.7
156   BottomSep             1.1
157   Font 
158     Series              Bold
159     Size                Normal
160   EndFont
161 End
162
163 # Subsubsection style redefinition
164 Style Subsubsection
165   Align                 Center
166   AlignPossible         Center
167   NextNoIndent          0
168   TopSep                1.7
169   BottomSep             1.1
170   Font 
171     Series              Medium
172     Shape               Italic
173     Size                Normal
174   EndFont
175 End
176
177 # Title style redefinition
178 Style Title
179   TopSep                2
180   BottomSep             1.3
181   Align                 Center
182   AlignPossible         Center
183   InTitle               0
184   Font 
185     Series              Bold
186     Size                Large
187   EndFont
188 End
189
190 # Author style redefinition
191 Style Author
192   Align                 Center
193   AlignPossible         Center
194   LabelType             No_Label
195   InTitle               0
196   Font 
197     Size                Normal
198     Series              Medium
199     Shape               SmallCaps
200   EndFont
201 End
202
203 # Date style redefinition
204 Style Date
205   LabelSep              ""
206   TopSep                1.2
207   Align                 Center
208   AlignPossible         Center
209   InTitle               0
210   Font 
211     Size                Small
212   EndFont
213 End
214
215 # Abstract style redefinition
216 Style Abstract 
217   LeftMargin            "MMM"
218   RightMargin           "MMM"
219   ParIndent             "MM"
220   TopSep                1.4
221   BottomSep             0.7
222   LabelType             Centered_Top_Environment
223   Align                 Block
224   AlignPossible         Block, Left, Right, Center
225   Font 
226     Size                Normal
227   EndFont
228   LabelFont 
229     Series              Bold
230     Size                Normal
231   EndFont
232 End 
233
234 # Affiliation style definition
235 Style Affiliation
236   Margin                Static
237   LatexType             Command
238   InTitle               0
239   LatexName             affil
240   ParSkip               0.4
241   BottomSep             0.4
242   Align                 Center
243   AlignPossible         Block, Left, Right, Center
244   LabelType             No_Label
245
246   Font 
247     Family              Roman
248     Size                Normal
249   EndFont
250 End
251
252 # Keywords style definition
253 Style Keywords
254   LeftMargin            MMM     
255   Margin                Dynamic
256   LatexType             Command
257   InTitle               0
258   LatexName             keywords
259   ParSkip               0.4
260   BottomSep             0.4
261   Align                 Block
262   AlignPossible         Block, Left, Right, Center
263   LabelType             Static
264   LabelSep              M
265   LabelString           "Subject headings:"
266   Font 
267     Family              Roman
268     Shape               Up
269     Size                Normal
270   EndFont
271   LabelFont 
272     Family              Roman
273     Shape               Italic
274     Size                Normal
275   EndFont
276 End
277
278 # Email style definition
279 Style Email
280   Margin                Static
281   LatexType             Command
282   InTitle               0
283   LatexName             email
284   ParSkip               0.4
285   BottomSep             0.4
286   Align                 Center
287   AlignPossible         Block, Left, Right, Center
288   LabelType             No_Label
289   Font 
290     Family              Roman
291     Size                Normal
292     Shape               Italic
293   EndFont
294 End
295
296 # Acknowledgements style definition
297 Style Acknowledgements
298   Margin                Dynamic
299   LatexType             Command
300   InTitle               0
301   LatexName             acknowledgements
302   TopSep                1.2     
303   ParSkip               0.4
304   BottomSep             0.8
305   Align                 Left
306   AlignPossible         Left
307   LabelType             Static
308   LabelString           [Acknowledgements]
309   KeepEmpty             1       
310   Font 
311     Family              Roman
312     Size                Normal
313     Shape               Italic
314   EndFont
315 End
316
317   
318 # And style definition
319 Style And
320   Margin                Dynamic
321   LatexType             Command
322   InTitle               0
323   LatexName             and
324   TopSep                1.2     
325   ParSkip               0.4
326   BottomSep             1.2
327   Align                 Center
328   AlignPossible         Center
329   LabelType             Static
330   LabelString           and
331   KeepEmpty             1       
332   Font 
333     Family              Roman
334     Size                Normal
335   EndFont
336 End
337  
338 # Placefigure style definition
339 Style PlaceFigure
340   Margin                Dynamic
341   LatexType             Command
342   InTitle               0
343   LatexName             placefigure
344   TopSep                1.2     
345   ParSkip               0.4
346   BottomSep             0.8
347   Align                 Left
348   AlignPossible         Left
349   LabelType             Static
350   LabelString           "Place Figure here: "
351   Font 
352     Family              Roman
353     Size                Normal
354     Shape               Italic
355   EndFont
356 End
357
358 # Placetable style definition
359 Style PlaceTable
360   Margin                Dynamic
361   LatexType             Command
362   InTitle               0
363   LatexName             placetable
364   TopSep                1.2     
365   ParSkip               0.4
366   BottomSep             0.8
367   Align                 Left
368   AlignPossible         Left
369   LabelType             Static
370   LabelString           "Place Table here: "
371   Font 
372     Family              Roman
373     Size                Normal
374     Shape               Italic
375   EndFont
376 End
377
378 # Appendix style definition
379 Style Appendix
380   Margin                Dynamic
381   LatexType             Command
382   InTitle               0
383   LatexName             appendix
384   TopSep                1.2     
385   ParSkip               0.4
386   BottomSep             0.8
387   Align                 Left
388   AlignPossible         Left
389   LabelType             Static
390   LabelString           [Appendix]
391   KeepEmpty             1       
392   Font 
393     Family              Roman
394     Size                Normal
395     Shape               Italic
396   EndFont
397 End
398
399 # MathLetters style redefinition
400 Style MathLetters
401   LatexType             Environment     
402   LatexName             mathletters
403   LabelType             No_Label
404   Align                 Block
405   AlignPossible         Block, Left, Right, Center
406   Font 
407     Size                Normal
408   EndFont
409 End 
410
411 # References style redefinition
412 Style References
413   Margin                First_Dynamic   
414   LatexType             Item_Environment        
415   LatexName             thebibliography
416   NextNoIndent          1
417   LeftMargin            MM
418   ParSkip               0.4
419   ItemSep               0
420   TopSep                0.7
421   BottomSep             0.7
422   ParSep                0.5
423   LabelType             Bibliography
424   LabelString           References
425   LabelBottomSep        0.7
426   Align                 Block
427   AlignPossible         Block, Left, Right, Center
428   LabelFont 
429     Family              Roman
430     Size                Normal
431     Series              Bold
432   EndFont
433 End 
434
435 # Need reordering below here
436
437 # Notetoeditor style definition
438 Style NoteToEditor
439   Margin                Dynamic
440   LatexType             Command
441   InTitle               0
442   LatexName             notetoeditor
443   TopSep                1.2     
444   ParSkip               0.4
445   BottomSep             0.8
446   Align                 Left
447   AlignPossible         Block, Left, Right, Center
448   LabelType             Static
449   LabelString           "Note to Editor: "
450   Font 
451     Family              Roman
452     Size                Normal
453     Shape               Italic
454   EndFont
455 End
456
457 # TableRefs style definition
458 Style TableRefs
459   Margin                First_Dynamic
460   LatexType             Command
461   InTitle               0
462   LatexName             tablerefs
463   TopSep                1.2     
464   ParSkip               0.4
465   BottomSep             0.8
466   Align                 Block
467   AlignPossible         Block, Left, Right, Center
468   LabelType             Static
469   LabelString           "References. --- "
470   Font 
471     Family              Roman
472     Size                Normal
473   EndFont
474 End
475
476 # TableComments style definition
477 Style TableComments
478   Margin                First_Dynamic
479   LatexType             Command
480   InTitle               0
481   LatexName             tablecomments
482   TopSep                1.2     
483   ParSkip               0.4
484   BottomSep             0.8
485   Align                 Block
486   AlignPossible         Block, Left, Right, Center
487   LabelType             Static
488   LabelString           "Note. --- "
489   Font 
490     Family              Roman
491     Size                Normal
492   EndFont
493 End
494
495 # Caption style definition
496 Style Caption
497   Margin                First_Dynamic
498   LatexType             Command
499   LatexName             caption
500   NeedProtect           1
501   LabelSep              xx
502   ParSkip               0.4
503   TopSep                0.5
504   Align                 Block
505   AlignPossible         Block, Left
506   LabelType             Sensitive
507   LabelString           Caption
508
509   # label font definition
510   LabelFont 
511     Series              Bold
512   EndFont
513 End
514
515 # FigCaption style definition
516 Style FigCaption
517   Margin                First_Dynamic
518   LatexType             Command
519   LatexName             figcaption
520   LatexParam            [FileName]
521   LabelSep              xx
522   ParSkip               0.4
523   TopSep                0.5
524   Align                 Block
525   AlignPossible         Block, Left
526   LabelType             Static
527   LabelString           "Fig. --- "
528 End