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