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