]> git.lyx.org Git - lyx.git/blob - lib/layouts/aastex.layout
* doc/cs_Tutorial.lyx: update by Pavel Sanda
[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 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         LabelSep              M
380         LabelString           "Place Figure here:"
381         Font
382           Family              Roman
383           Size                Normal
384           Shape               Italic
385         EndFont
386 End
387
388
389 Style PlaceTable
390         Margin                Dynamic
391         LatexType             Command
392         InTitle               0
393         LatexName             placetable
394         TopSep                1.2
395         ParSkip               0.4
396         BottomSep             0.8
397         Align                 Left
398         AlignPossible         Left
399         LabelType             Static
400         LabelSep              M
401         LabelString           "Place Table here:"
402         Font
403           Family              Roman
404           Size                Normal
405           Shape               Italic
406         EndFont
407 End
408
409
410 Style Appendix
411         Margin                Dynamic
412         LatexType             Command
413         InTitle               0
414         LatexName             appendix
415         TopSep                1.2
416         ParSkip               0.4
417         BottomSep             0.8
418         Align                 Left
419         AlignPossible         Left
420         LabelType             Static
421         LabelString           "[Appendix]"
422         KeepEmpty             1
423         Font
424           Family              Roman
425           Size                Normal
426           Shape               Italic
427         EndFont
428 End
429
430
431 Style MathLetters
432         LatexType             Environment
433         LatexName             mathletters
434         LabelType             No_Label
435         Align                 Block
436         AlignPossible         Block, Left, Right, Center
437         Font
438           Size                Normal
439         EndFont
440 End
441
442
443 Style References
444         Margin                First_Dynamic
445         LatexType             Bib_Environment
446         LatexName             thebibliography
447         NextNoIndent          1
448         LeftMargin            MM
449         ParSkip               0.4
450         ItemSep               0
451         TopSep                0.7
452         BottomSep             0.7
453         ParSep                0.5
454         LabelType             Bibliography
455         LabelString           "References"
456         LabelBottomSep        0.7
457         Align                 Block
458         AlignPossible         Block, Left, Right, Center
459         LabelFont
460           Family              Roman
461           Size                Normal
462           Series              Bold
463         EndFont
464 End
465
466
467 # Need reordering below here
468
469 Style NoteToEditor
470         Margin                Dynamic
471         LatexType             Command
472         InTitle               0
473         LatexName             notetoeditor
474         TopSep                1.2
475         ParSkip               0.4
476         BottomSep             0.8
477         Align                 Left
478         AlignPossible         Block, Left, Right, Center
479         LabelType             Static
480         LabelSep              M
481         LabelString           "Note to Editor:"
482         Font
483           Family              Roman
484           Size                Normal
485           Shape               Italic
486         EndFont
487 End
488
489
490 Style TableRefs
491         Margin                First_Dynamic
492         LatexType             Command
493         InTitle               0
494         LatexName             tablerefs
495         TopSep                1.2
496         ParSkip               0.4
497         BottomSep             0.8
498         Align                 Block
499         AlignPossible         Block, Left, Right, Center
500         LabelType             Static
501         LabelSep              M
502         LabelString           "References. ---"
503         Font
504           Family              Roman
505           Size                Normal
506         EndFont
507 End
508
509
510 Style TableComments
511         Margin                First_Dynamic
512         LatexType             Command
513         InTitle               0
514         LatexName             tablecomments
515         TopSep                1.2
516         ParSkip               0.4
517         BottomSep             0.8
518         Align                 Block
519         AlignPossible         Block, Left, Right, Center
520         LabelType             Static
521         LabelSep              M
522         LabelString           "Note. ---"
523         Font
524           Family              Roman
525           Size                Normal
526         EndFont
527 End
528
529
530 Style Caption
531         Margin                First_Dynamic
532         LatexType             Command
533         LatexName             caption
534         NeedProtect           1
535         LabelSep              xx
536         ParSkip               0.4
537         TopSep                0.5
538         Align                 Block
539         AlignPossible         Block, Left
540         LabelType             Sensitive
541         LabelString           "Caption"
542         LabelFont
543           Series              Bold
544         EndFont
545 End
546
547
548 Style FigCaption
549         Margin                First_Dynamic
550         LatexType             Command
551         LatexName             figcaption
552         LabelSep              xx
553         ParSkip               0.4
554         TopSep                0.5
555         Align                 Block
556         AlignPossible         Block, Left
557         LabelType             Static
558         LabelString           "Fig. ---"
559         OptionalArgs          1
560 End
561
562 # Facility style definition
563 Style Facility
564         LeftMargin            MMM
565         Margin                Dynamic
566         LatexType             Command
567         InTitle               0
568         LatexName             facility
569         ParSkip               0.4
570         BottomSep             0.4
571         Align                 Block
572         AlignPossible         Block, Left, Right, Center
573         LabelType             Static
574         LabelSep              M
575         LabelString           "Facility:"
576         Font
577           Family              Roman
578           Shape               Up
579           Size                Normal
580         EndFont
581         LabelFont
582           Family              Roman
583           Shape               Italic
584           Size                Normal
585         EndFont
586 End
587
588 # Objectname style definition
589 Style Objectname
590         LeftMargin            MMM
591         Margin                Dynamic
592         LatexType             Command
593         InTitle               0
594         LatexName             objectname
595         ParSkip               0.4
596         BottomSep             0.4
597         Align                 Block
598         AlignPossible         Block, Left, Right, Center
599         LabelType             Static
600         LabelSep              M
601         LabelString           "Obj:"
602         OptionalArgs          1
603         Font
604           Family              Roman
605           Shape               Up
606           Size                Normal
607         EndFont
608         LabelFont
609           Family              Roman
610           Shape               Italic
611           Size                Normal
612         EndFont
613 End
614
615 # Dataset style definition
616 Style Dataset
617         LeftMargin            MMM
618         Margin                Dynamic
619         LatexType             Command
620         InTitle               0
621         LatexName             dataset
622         ParSkip               0.4
623         BottomSep             0.4
624         Align                 Block
625         AlignPossible         Block, Left, Right, Center
626         LabelType             Static
627         LabelSep              M
628         LabelString           "Dataset:"
629         OptionalArgs          1
630         Font
631           Family              Roman
632           Shape               Up
633           Size                Normal
634         EndFont
635         LabelFont
636           Family              Roman
637           Shape               Italic
638           Size                Normal
639         EndFont
640 End
641