]> git.lyx.org Git - lyx.git/blob - lib/layouts/aastex.layout
Was forgetting this.
[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 8
34 Columns                 1
35 Sides                   1
36 #SecNumDepth            3
37 TocDepth                0
38 PageStyle               Plain
39 Provides amsmath         1
40 Provides natbib          1
41 Provides url             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
134 Style MathLetters
135 End
136
137 Style NoteToEditor
138 End
139
140 Style Facility
141 End
142
143 Style Objectname
144 End
145
146 Style Dataset
147 End
148
149 # OK, now we have a more or less consistent Ordering. Now fill the
150 # definitions. First, the standard includes
151
152 Input stdinsets.inc
153 Input stdsections.inc
154 Input stdtitle.inc
155 Input stdstruct.inc
156 Input stdlists.inc
157 Input stdfloats.inc
158 Input stdcounters.inc
159
160 NoStyle Part
161 NoStyle Chapter
162 NoStyle Subparagraph
163 NoStyle List
164 NoStyle Bibliography
165
166
167 Style Section
168         Align                 Center
169         NextNoIndent          0
170         TopSep                2.0
171         BottomSep             1.3
172         Font
173           Series              Bold
174           Size                Normal
175         EndFont
176 End
177
178
179 Style Subsection
180         Align                 Center
181         NextNoIndent          0
182         TopSep                1.7
183         BottomSep             1.1
184         Font
185           Series              Bold
186           Size                Normal
187         EndFont
188 End
189
190
191 Style Subsubsection
192         Align                 Center
193         NextNoIndent          0
194         TopSep                1.7
195         BottomSep             1.1
196         Font
197           Series              Medium
198           Shape               Italic
199           Size                Normal
200         EndFont
201 End
202
203
204 Style Title
205         TopSep                2
206         BottomSep             1.3
207         Align                 Center
208         InTitle               0
209         Font
210           Series              Bold
211           Size                Large
212         EndFont
213 End
214
215
216 Style Author
217         Align                 Center
218         LabelType             No_Label
219         InTitle               0
220         Font
221           Size                Normal
222           Series              Medium
223           Shape               SmallCaps
224         EndFont
225 End
226
227
228 Style Date
229         LabelSep              ""
230         TopSep                1.2
231         Align                 Center
232         InTitle               0
233         Font
234           Size                Small
235         EndFont
236 End
237
238
239 Style Abstract
240         LeftMargin            "MMM"
241         RightMargin           "MMM"
242         ParIndent             "MM"
243         TopSep                1.4
244         BottomSep             0.7
245         LabelType             Centered_Top_Environment
246         Align                 Block
247         AlignPossible         Block, Left, Right, Center
248         Font
249           Size                Normal
250         EndFont
251         LabelFont
252           Series              Bold
253           Size                Normal
254         EndFont
255 End
256
257
258 Style Affiliation
259         Margin                Static
260         LatexType             Command
261         InTitle               0
262         LatexName             affil
263         ParSkip               0.4
264         BottomSep             0.4
265         Align                 Center
266         AlignPossible         Block, Left, Right, Center
267         LabelType             No_Label
268
269         Font
270           Family              Roman
271           Size                Normal
272         EndFont
273 End
274
275
276 Style Keywords
277         LeftMargin            MMM
278         Margin                Dynamic
279         LatexType             Command
280         InTitle               0
281         LatexName             keywords
282         ParSkip               0.4
283         BottomSep             0.4
284         Align                 Block
285         AlignPossible         Block, Left, Right, Center
286         LabelType             Static
287         LabelSep              M
288         LabelString           "Subject headings:"
289         Font
290           Family              Roman
291           Shape               Up
292           Size                Normal
293         EndFont
294         LabelFont
295           Family              Roman
296           Shape               Italic
297           Size                Normal
298         EndFont
299 End
300
301
302 Style Email
303         Margin                Static
304         LatexType             Command
305         InTitle               0
306         LatexName             email
307         ParSkip               0.4
308         BottomSep             0.4
309         Align                 Center
310         AlignPossible         Block, Left, Right, Center
311         LabelType             No_Label
312         Font
313           Family              Roman
314           Size                Normal
315           Shape               Italic
316         EndFont
317 End
318
319
320 Style Acknowledgements
321         Margin                Dynamic
322         LatexType             Command
323         InTitle               0
324         LatexName             acknowledgements
325         TopSep                1.2
326         ParSkip               0.4
327         BottomSep             0.8
328         Align                 Left
329         LabelType             Static
330         LabelString           "[Acknowledgements]"
331         KeepEmpty             1
332         Font
333           Family              Roman
334           Size                Normal
335           Shape               Italic
336         EndFont
337 End
338
339
340 Style And
341         Margin                Dynamic
342         LatexType             Command
343         InTitle               0
344         LatexName             and
345         TopSep                1.2
346         ParSkip               0.4
347         BottomSep             1.2
348         Align                 Center
349         LabelType             Static
350         LabelString           "and"
351         KeepEmpty             1
352         Font
353           Family              Roman
354           Size                Normal
355         EndFont
356 End
357
358
359 Style PlaceFigure
360         Margin                Dynamic
361         LatexType             Command
362         InTitle               0
363         LatexName             placefigure
364         TopSep                1.2
365         ParSkip               0.4
366         BottomSep             0.8
367         Align                 Left
368         LabelType             Static
369         LabelSep              M
370         LabelString           "Place Figure here:"
371         Font
372           Family              Roman
373           Size                Normal
374           Shape               Italic
375         EndFont
376 End
377
378
379 Style PlaceTable
380         Margin                Dynamic
381         LatexType             Command
382         InTitle               0
383         LatexName             placetable
384         TopSep                1.2
385         ParSkip               0.4
386         BottomSep             0.8
387         Align                 Left
388         LabelType             Static
389         LabelSep              M
390         LabelString           "Place Table here:"
391         Font
392           Family              Roman
393           Size                Normal
394           Shape               Italic
395         EndFont
396 End
397
398
399 Style Appendix
400         Margin                Dynamic
401         LatexType             Command
402         InTitle               0
403         LatexName             appendix
404         TopSep                1.2
405         ParSkip               0.4
406         BottomSep             0.8
407         Align                 Left
408         LabelType             Static
409         LabelString           "[Appendix]"
410         KeepEmpty             1
411         Font
412           Family              Roman
413           Size                Normal
414           Shape               Italic
415         EndFont
416 End
417
418
419 Style MathLetters
420         LatexType             Environment
421         LatexName             mathletters
422         LabelType             No_Label
423         Align                 Block
424         AlignPossible         Block, Left, Right, Center
425         Font
426           Size                Normal
427         EndFont
428 End
429
430
431 Style References
432         Margin                First_Dynamic
433         LatexType             Bib_Environment
434         LatexName             thebibliography
435         NextNoIndent          1
436         LeftMargin            MM
437         ParSkip               0.4
438         ItemSep               0
439         TopSep                0.7
440         BottomSep             0.7
441         ParSep                0.5
442         LabelType             Bibliography
443         LabelString           "References"
444         LabelBottomSep        0.7
445         Align                 Block
446         AlignPossible         Block, Left, Right, Center
447         LabelFont
448           Family              Roman
449           Size                Normal
450           Series              Bold
451         EndFont
452 End
453
454
455 # Need reordering below here
456
457 Style NoteToEditor
458         Margin                Dynamic
459         LatexType             Command
460         InTitle               0
461         LatexName             notetoeditor
462         TopSep                1.2
463         ParSkip               0.4
464         BottomSep             0.8
465         Align                 Left
466         AlignPossible         Block, Left, Right, Center
467         LabelType             Static
468         LabelSep              M
469         LabelString           "Note to Editor:"
470         Font
471           Family              Roman
472           Size                Normal
473           Shape               Italic
474         EndFont
475 End
476
477
478 Style TableRefs
479         Margin                First_Dynamic
480         LatexType             Command
481         InTitle               0
482         LatexName             tablerefs
483         TopSep                1.2
484         ParSkip               0.4
485         BottomSep             0.8
486         Align                 Block
487         AlignPossible         Block, Left, Right, Center
488         LabelType             Static
489         LabelSep              M
490         LabelString           "References. ---"
491         Font
492           Family              Roman
493           Size                Normal
494         EndFont
495 End
496
497
498 Style TableComments
499         Margin                First_Dynamic
500         LatexType             Command
501         InTitle               0
502         LatexName             tablecomments
503         TopSep                1.2
504         ParSkip               0.4
505         BottomSep             0.8
506         Align                 Block
507         AlignPossible         Block, Left, Right, Center
508         LabelType             Static
509         LabelSep              M
510         LabelString           "Note. ---"
511         Font
512           Family              Roman
513           Size                Normal
514         EndFont
515 End
516
517
518
519
520 Style FigCaption
521         Margin                First_Dynamic
522         LatexType             Command
523         LatexName             figcaption
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         OptionalArgs          1
532 End
533
534 # Facility style definition
535 Style Facility
536         LeftMargin            MMM
537         Margin                Dynamic
538         LatexType             Command
539         InTitle               0
540         LatexName             facility
541         ParSkip               0.4
542         BottomSep             0.4
543         Align                 Block
544         AlignPossible         Block, Left, Right, Center
545         LabelType             Static
546         LabelSep              M
547         LabelString           "Facility:"
548         Font
549           Family              Roman
550           Shape               Up
551           Size                Normal
552         EndFont
553         LabelFont
554           Family              Roman
555           Shape               Italic
556           Size                Normal
557         EndFont
558 End
559
560 # Objectname style definition
561 Style Objectname
562         LeftMargin            MMM
563         Margin                Dynamic
564         LatexType             Command
565         InTitle               0
566         LatexName             objectname
567         ParSkip               0.4
568         BottomSep             0.4
569         Align                 Block
570         AlignPossible         Block, Left, Right, Center
571         LabelType             Static
572         LabelSep              M
573         LabelString           "Obj:"
574         OptionalArgs          1
575         Font
576           Family              Roman
577           Shape               Up
578           Size                Normal
579         EndFont
580         LabelFont
581           Family              Roman
582           Shape               Italic
583           Size                Normal
584         EndFont
585 End
586
587 # Dataset style definition
588 Style Dataset
589         LeftMargin            MMM
590         Margin                Dynamic
591         LatexType             Command
592         InTitle               0
593         LatexName             dataset
594         ParSkip               0.4
595         BottomSep             0.4
596         Align                 Block
597         AlignPossible         Block, Left, Right, Center
598         LabelType             Static
599         LabelSep              M
600         LabelString           "Dataset:"
601         OptionalArgs          1
602         Font
603           Family              Roman
604           Shape               Up
605           Size                Normal
606         EndFont
607         LabelFont
608           Family              Roman
609           Shape               Italic
610           Size                Normal
611         EndFont
612 End
613