]> git.lyx.org Git - lyx.git/blob - lib/layouts/aastex.layout
Change LFUN_FONT_CODE to LFUN_FONT_TYPEWERITER, possibly in preparation for a move...
[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 5
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         AlignPossible         Center
170         NextNoIndent          0
171         TopSep                2.0
172         BottomSep             1.3
173         Font
174           Series              Bold
175           Size                Normal
176         EndFont
177 End
178
179
180 Style Subsection
181         Align                 Center
182         AlignPossible         Center
183         NextNoIndent          0
184         TopSep                1.7
185         BottomSep             1.1
186         Font
187           Series              Bold
188           Size                Normal
189         EndFont
190 End
191
192
193 Style Subsubsection
194         Align                 Center
195         AlignPossible         Center
196         NextNoIndent          0
197         TopSep                1.7
198         BottomSep             1.1
199         Font
200           Series              Medium
201           Shape               Italic
202           Size                Normal
203         EndFont
204 End
205
206
207 Style Title
208         TopSep                2
209         BottomSep             1.3
210         Align                 Center
211         AlignPossible         Center
212         InTitle               0
213         Font
214           Series              Bold
215           Size                Large
216         EndFont
217 End
218
219
220 Style Author
221         Align                 Center
222         AlignPossible         Center
223         LabelType             No_Label
224         InTitle               0
225         Font
226           Size                Normal
227           Series              Medium
228           Shape               SmallCaps
229         EndFont
230 End
231
232
233 Style Date
234         LabelSep              ""
235         TopSep                1.2
236         Align                 Center
237         AlignPossible         Center
238         InTitle               0
239         Font
240           Size                Small
241         EndFont
242 End
243
244
245 Style Abstract
246         LeftMargin            "MMM"
247         RightMargin           "MMM"
248         ParIndent             "MM"
249         TopSep                1.4
250         BottomSep             0.7
251         LabelType             Centered_Top_Environment
252         Align                 Block
253         AlignPossible         Block, Left, Right, Center
254         Font
255           Size                Normal
256         EndFont
257         LabelFont
258           Series              Bold
259           Size                Normal
260         EndFont
261 End
262
263
264 Style Affiliation
265         Margin                Static
266         LatexType             Command
267         InTitle               0
268         LatexName             affil
269         ParSkip               0.4
270         BottomSep             0.4
271         Align                 Center
272         AlignPossible         Block, Left, Right, Center
273         LabelType             No_Label
274
275         Font
276           Family              Roman
277           Size                Normal
278         EndFont
279 End
280
281
282 Style Keywords
283         LeftMargin            MMM
284         Margin                Dynamic
285         LatexType             Command
286         InTitle               0
287         LatexName             keywords
288         ParSkip               0.4
289         BottomSep             0.4
290         Align                 Block
291         AlignPossible         Block, Left, Right, Center
292         LabelType             Static
293         LabelSep              M
294         LabelString           "Subject headings:"
295         Font
296           Family              Roman
297           Shape               Up
298           Size                Normal
299         EndFont
300         LabelFont
301           Family              Roman
302           Shape               Italic
303           Size                Normal
304         EndFont
305 End
306
307
308 Style Email
309         Margin                Static
310         LatexType             Command
311         InTitle               0
312         LatexName             email
313         ParSkip               0.4
314         BottomSep             0.4
315         Align                 Center
316         AlignPossible         Block, Left, Right, Center
317         LabelType             No_Label
318         Font
319           Family              Roman
320           Size                Normal
321           Shape               Italic
322         EndFont
323 End
324
325
326 Style Acknowledgements
327         Margin                Dynamic
328         LatexType             Command
329         InTitle               0
330         LatexName             acknowledgements
331         TopSep                1.2
332         ParSkip               0.4
333         BottomSep             0.8
334         Align                 Left
335         AlignPossible         Left
336         LabelType             Static
337         LabelString           "[Acknowledgements]"
338         KeepEmpty             1
339         Font
340           Family              Roman
341           Size                Normal
342           Shape               Italic
343         EndFont
344 End
345
346
347 Style And
348         Margin                Dynamic
349         LatexType             Command
350         InTitle               0
351         LatexName             and
352         TopSep                1.2
353         ParSkip               0.4
354         BottomSep             1.2
355         Align                 Center
356         AlignPossible         Center
357         LabelType             Static
358         LabelString           "and"
359         KeepEmpty             1
360         Font
361           Family              Roman
362           Size                Normal
363         EndFont
364 End
365
366
367 Style PlaceFigure
368         Margin                Dynamic
369         LatexType             Command
370         InTitle               0
371         LatexName             placefigure
372         TopSep                1.2
373         ParSkip               0.4
374         BottomSep             0.8
375         Align                 Left
376         AlignPossible         Left
377         LabelType             Static
378         LabelSep              M
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         LabelSep              M
400         LabelString           "Place Table here:"
401         Font
402           Family              Roman
403           Size                Normal
404           Shape               Italic
405         EndFont
406 End
407
408
409 Style Appendix
410         Margin                Dynamic
411         LatexType             Command
412         InTitle               0
413         LatexName             appendix
414         TopSep                1.2
415         ParSkip               0.4
416         BottomSep             0.8
417         Align                 Left
418         AlignPossible         Left
419         LabelType             Static
420         LabelString           "[Appendix]"
421         KeepEmpty             1
422         Font
423           Family              Roman
424           Size                Normal
425           Shape               Italic
426         EndFont
427 End
428
429
430 Style MathLetters
431         LatexType             Environment
432         LatexName             mathletters
433         LabelType             No_Label
434         Align                 Block
435         AlignPossible         Block, Left, Right, Center
436         Font
437           Size                Normal
438         EndFont
439 End
440
441
442 Style References
443         Margin                First_Dynamic
444         LatexType             Bib_Environment
445         LatexName             thebibliography
446         NextNoIndent          1
447         LeftMargin            MM
448         ParSkip               0.4
449         ItemSep               0
450         TopSep                0.7
451         BottomSep             0.7
452         ParSep                0.5
453         LabelType             Bibliography
454         LabelString           "References"
455         LabelBottomSep        0.7
456         Align                 Block
457         AlignPossible         Block, Left, Right, Center
458         LabelFont
459           Family              Roman
460           Size                Normal
461           Series              Bold
462         EndFont
463 End
464
465
466 # Need reordering below here
467
468 Style NoteToEditor
469         Margin                Dynamic
470         LatexType             Command
471         InTitle               0
472         LatexName             notetoeditor
473         TopSep                1.2
474         ParSkip               0.4
475         BottomSep             0.8
476         Align                 Left
477         AlignPossible         Block, Left, Right, Center
478         LabelType             Static
479         LabelSep              M
480         LabelString           "Note to Editor:"
481         Font
482           Family              Roman
483           Size                Normal
484           Shape               Italic
485         EndFont
486 End
487
488
489 Style TableRefs
490         Margin                First_Dynamic
491         LatexType             Command
492         InTitle               0
493         LatexName             tablerefs
494         TopSep                1.2
495         ParSkip               0.4
496         BottomSep             0.8
497         Align                 Block
498         AlignPossible         Block, Left, Right, Center
499         LabelType             Static
500         LabelSep              M
501         LabelString           "References. ---"
502         Font
503           Family              Roman
504           Size                Normal
505         EndFont
506 End
507
508
509 Style TableComments
510         Margin                First_Dynamic
511         LatexType             Command
512         InTitle               0
513         LatexName             tablecomments
514         TopSep                1.2
515         ParSkip               0.4
516         BottomSep             0.8
517         Align                 Block
518         AlignPossible         Block, Left, Right, Center
519         LabelType             Static
520         LabelSep              M
521         LabelString           "Note. ---"
522         Font
523           Family              Roman
524           Size                Normal
525         EndFont
526 End
527
528
529
530
531 Style FigCaption
532         Margin                First_Dynamic
533         LatexType             Command
534         LatexName             figcaption
535         LabelSep              xx
536         ParSkip               0.4
537         TopSep                0.5
538         Align                 Block
539         AlignPossible         Block, Left
540         LabelType             Static
541         LabelString           "Fig. ---"
542         OptionalArgs          1
543 End
544
545 # Facility style definition
546 Style Facility
547         LeftMargin            MMM
548         Margin                Dynamic
549         LatexType             Command
550         InTitle               0
551         LatexName             facility
552         ParSkip               0.4
553         BottomSep             0.4
554         Align                 Block
555         AlignPossible         Block, Left, Right, Center
556         LabelType             Static
557         LabelSep              M
558         LabelString           "Facility:"
559         Font
560           Family              Roman
561           Shape               Up
562           Size                Normal
563         EndFont
564         LabelFont
565           Family              Roman
566           Shape               Italic
567           Size                Normal
568         EndFont
569 End
570
571 # Objectname style definition
572 Style Objectname
573         LeftMargin            MMM
574         Margin                Dynamic
575         LatexType             Command
576         InTitle               0
577         LatexName             objectname
578         ParSkip               0.4
579         BottomSep             0.4
580         Align                 Block
581         AlignPossible         Block, Left, Right, Center
582         LabelType             Static
583         LabelSep              M
584         LabelString           "Obj:"
585         OptionalArgs          1
586         Font
587           Family              Roman
588           Shape               Up
589           Size                Normal
590         EndFont
591         LabelFont
592           Family              Roman
593           Shape               Italic
594           Size                Normal
595         EndFont
596 End
597
598 # Dataset style definition
599 Style Dataset
600         LeftMargin            MMM
601         Margin                Dynamic
602         LatexType             Command
603         InTitle               0
604         LatexName             dataset
605         ParSkip               0.4
606         BottomSep             0.4
607         Align                 Block
608         AlignPossible         Block, Left, Right, Center
609         LabelType             Static
610         LabelSep              M
611         LabelString           "Dataset:"
612         OptionalArgs          1
613         Font
614           Family              Roman
615           Shape               Up
616           Size                Normal
617         EndFont
618         LabelFont
619           Family              Roman
620           Shape               Italic
621           Size                Normal
622         EndFont
623 End
624