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