]> git.lyx.org Git - lyx.git/blob - lib/layouts/aastex.layout
- aa.layout: updatesd for aa.cls version 6.1
[lyx.git] / lib / layouts / aastex.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[aastex]{article (AASTeX)}
3 #
4 # Authors:
5 #  Mike Ressler <mike.ressler@alum.mit.edu>
6 #  Uwe Stöhr <uwestoehr@web.de>
7 #
8 # Disclaimer: Though I am an astronomer at the Jet Propulsion Laboratory, this
9 # package was prepared on my own time on my own machine. Neither the United
10 # States government, the National Aeronautics and Space Administration, the
11 # California Institute of Technology, the American Astronomical Society, nor
12 # the Jet Propulsion Laboratory endorse this package - indeed, they probably
13 # don't even know of it's existence. Use of this package is covered by the LyX
14 # license which is found in the file COPYING in the root directory of the LyX
15 # distribution.
16 #
17 # Version 0.0   5/27/99 - Initial submission, basic LaTeX equivalents
18 # Version 0.1   6/04/99 - Most everything in sections 2.1-2.11 of AASTeX guide
19 #                         works. References work with some ERT. Regular tables
20 #                         (2.14) okay, deluxetable will never be supported.
21 #                         Figures (2.13) not even attempted yet. Misc (2.15)
22 #                         partially supported, but much will remain ERT.
23 #                         Style options (section 3) can be typed into Extra
24 #                         Document options.
25 #                         Much cleaning of this file needs to be done.
26 # Version 1.0   6/09/99 - Implemented remaining commands as well as possible.
27 #                         There is little more I can do unless LyX source code
28 #                         is changed. (Not by me!) Documentation, template, and
29 #                         example files are available.
30 # Version 1.1   7/25/99 - Changed \url to take advantage of new layout option.
31 # Version 1.2   4/18/02 - Updated for natbib in 1.2.0
32 # Version 1.3   5/7/04  - Updated for AASTeX 5.2
33 # Version 1.4   26-10-2008  - new custom insets for \altaffilmark, \tablenotemark
34 #                           - new environments for \altaffiltext and \tablenotetext
35
36
37 Format 11
38 Columns                 1
39 Sides                   1
40 #SecNumDepth            3
41 TocDepth                0
42 PageStyle               Plain
43 Provides amsmath         1
44 Provides natbib          1
45 Provides url             1
46
47
48 ClassOptions
49         PageStyle             ""
50 End
51
52
53 Style Standard
54         Margin                Static
55         LatexType             Paragraph
56         LatexName             dummy
57         ParIndent             MM
58         ParSkip               0.4
59         Align                 Block
60         AlignPossible         Block, Left, Right, Center
61         LabelType             No_Label
62 End
63
64
65 # I want to keep the entries in a logical order.
66 # Therefore I'll define the entries first, then fill them in
67
68 Style Section
69 End
70
71 Style Subsection
72 End
73
74 Style Subsubsection
75 End
76
77 Style Paragraph
78 End
79
80 Style Itemize
81 End
82
83 Style Enumerate
84 End
85
86 Style Description
87 End
88
89 Style List
90 End
91
92 Style Title
93 End
94
95 Style Author
96 End
97
98 Style Affiliation
99 End
100
101 Style Email
102 End
103
104 Style And
105 End
106
107 Style Date
108 End
109
110 Style Abstract
111 End
112
113 Style Keywords
114 End
115
116 Style Acknowledgements
117 End
118
119 Style Appendix
120 End
121
122 Style References
123 End
124
125 Style PlaceFigure
126 End
127
128 Style PlaceTable
129 End
130
131 Style TableComments
132 End
133
134 Style TableRefs
135 End
136
137
138 Style MathLetters
139 End
140
141 Style NoteToEditor
142 End
143
144 Style Facility
145 End
146
147 Style Objectname
148 End
149
150 Style Dataset
151 End
152
153 # OK, now we have a more or less consistent Ordering. Now fill the
154 # definitions. First, the standard includes
155
156 Input stdinsets.inc
157 Input stdsections.inc
158 Input stdtitle.inc
159 Input stdstruct.inc
160 Input stdlists.inc
161 Input stdfloats.inc
162 Input stdcounters.inc
163
164 NoStyle Part
165 NoStyle Chapter
166 NoStyle Subparagraph
167 NoStyle List
168 NoStyle Bibliography
169
170
171 Style Section
172         Align                 Center
173         NextNoIndent          0
174         TopSep                2.0
175         BottomSep             1.3
176         Font
177           Series              Bold
178           Size                Normal
179         EndFont
180 End
181
182
183 Style Subsection
184         Align                 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         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         InTitle                 0
213         Font
214           Series                Bold
215           Size                  Large
216         EndFont
217 End
218
219
220 Style Author
221         Align                   Center
222         LabelType               No_Label
223         InTitle                 0
224         Font
225           Size                  Normal
226           Series                Medium
227           Shape                 SmallCaps
228         EndFont
229 End
230
231
232 Style Date
233         InTitle                 0
234         LabelSep                ""
235         TopSep                  1.2
236         Align                   Center
237         Font
238           Size                  Small
239         EndFont
240 End
241
242
243 Style Abstract
244         LeftMargin              "MMM"
245         RightMargin             "MMM"
246         ParIndent               "MM"
247         InTitle                 0
248         TopSep                  1.4
249         BottomSep               0.7
250         LabelType               Centered_Top_Environment
251         Align                   Block
252         AlignPossible           Block, Left, Right, Center
253         Font
254           Size                  Normal
255         EndFont
256         LabelFont
257           Series                Bold
258           Size                  Normal
259         EndFont
260 End
261
262
263 Style Affiliation
264         Margin                  Static
265         LatexType               Command
266         LatexName               affil
267         Category                FrontMatter
268         ParSkip                 0.4
269         BottomSep               0.4
270         Align                   Center
271         AlignPossible           Block, Left, Right, Center
272         LabelType               No_Label
273         Font
274           Family                Roman
275           Size                  Normal
276         EndFont
277 End
278
279
280 Style Altaffilation
281         Margin                  Dynamic
282         LatexType               Command
283         LatexName               altaffiltext
284         Category                FrontMatter
285         ParSkip                 0.4
286         Align                   Block
287         LabelSep                xx
288         LabelType               Static
289         LabelString             "Alternative affiliation:"
290         LabelFont
291           Color                 green
292         EndFont
293 End
294
295
296 InsetLayout altaffilmark
297         LyxType                 custom
298         LatexType               command
299         LatexName               altaffilmark
300         LabelString             "altaffiliation mark"
301         Font
302           Color                 foreground
303           Size                  Small
304           Family                Roman
305           Shape                 Up
306           Series                Medium
307           Misc                  No_Emph
308           Misc                  No_Noun
309           Misc                  No_Bar
310         EndFont
311         LabelFont
312           Color                 green
313           Size                  Small
314         EndFont
315 End
316
317
318 Style Keywords
319         LeftMargin              MMM
320         Margin                  Dynamic
321         LatexType               Command
322         InTitle                 0
323         LatexName               keywords
324         Category                FrontMatter
325         ParSkip                 0.4
326         BottomSep               0.4
327         Align                   Block
328         AlignPossible           Block, Left, Right, Center
329         LabelType               Static
330         LabelSep                M
331         LabelString             "Subject headings:"
332         Font
333           Family                Roman
334           Shape                 Up
335           Size                  Normal
336         EndFont
337         LabelFont
338           Family                Roman
339           Shape                 Italic
340           Size                  Normal
341         EndFont
342 End
343
344
345 Style Email
346         Margin                  Static
347         LatexType               Command
348         InTitle                 0
349         LatexName               email
350         Category                FrontMatter
351         ParSkip                 0.4
352         BottomSep               0.4
353         Align                   Center
354         AlignPossible           Block, Left, Right, Center
355         LabelType               No_Label
356         Font
357           Family                Roman
358           Size                  Normal
359           Shape                 Italic
360         EndFont
361 End
362
363
364 Style Acknowledgements
365         Margin                  Dynamic
366         LatexType               Command
367         InTitle                 0
368         LatexName               acknowledgements
369         TopSep                  1.2
370         ParSkip                 0.4
371         BottomSep               0.8
372         Align                   Left
373         LabelType               Static
374         LabelString             "[Acknowledgements]"
375         KeepEmpty               1
376         Font
377           Family                Roman
378           Size                  Normal
379           Shape                 Italic
380         EndFont
381 End
382
383
384 Style And
385         Margin                  Dynamic
386         LatexType               Command
387         InTitle                 0
388         LatexName               and
389         Category                FrontMatter
390         TopSep                  1.2
391         ParSkip                 0.4
392         BottomSep               1.2
393         Align                   Center
394         LabelType               Static
395         LabelString             "and"
396         KeepEmpty               1
397         Font
398           Family                Roman
399           Size                  Normal
400         EndFont
401 End
402
403
404 Style PlaceFigure
405         Margin                Dynamic
406         LatexType             Command
407         InTitle               0
408         LatexName             placefigure
409         TopSep                1.2
410         ParSkip               0.4
411         BottomSep             0.8
412         Align                 Left
413         LabelType             Static
414         LabelSep              M
415         LabelString           "Place Figure here:"
416         Font
417           Family              Roman
418           Size                Normal
419           Shape               Italic
420         EndFont
421 End
422
423
424 Style PlaceTable
425         Margin                Dynamic
426         LatexType             Command
427         InTitle               0
428         LatexName             placetable
429         TopSep                1.2
430         ParSkip               0.4
431         BottomSep             0.8
432         Align                 Left
433         LabelType             Static
434         LabelSep              M
435         LabelString           "Place Table here:"
436         Font
437           Family              Roman
438           Size                Normal
439           Shape               Italic
440         EndFont
441 End
442
443
444 Style Appendix
445         Margin                Dynamic
446         LatexType             Command
447         LatexName             appendix
448         Category                BackMatter
449         TopSep                1.2
450         ParSkip               0.4
451         BottomSep             0.8
452         Align                 Left
453         LabelType             Static
454         LabelString           "[Appendix]"
455         KeepEmpty             1
456         Font
457           Family              Roman
458           Size                Normal
459           Shape               Italic
460         EndFont
461 End
462
463
464 Style MathLetters
465         LatexType             Environment
466         LatexName             mathletters
467         LabelType             No_Label
468         Align                 Block
469         AlignPossible         Block, Left, Right, Center
470         Font
471           Size                Normal
472         EndFont
473 End
474
475
476 Style References
477         Margin                First_Dynamic
478         LatexType             Bib_Environment
479         LatexName             thebibliography
480         Category                BackMatter
481         NextNoIndent          1
482         LeftMargin            MM
483         ParSkip               0.4
484         ItemSep               0
485         TopSep                0.7
486         BottomSep             0.7
487         ParSep                0.5
488         LabelType             Bibliography
489         LabelString           "References"
490         LabelBottomSep        0.7
491         Align                 Block
492         AlignPossible         Block, Left, Right, Center
493         LabelFont
494           Family              Roman
495           Size                Normal
496           Series              Bold
497         EndFont
498 End
499
500
501 # Need reordering below here
502
503 Style NoteToEditor
504         Margin                Dynamic
505         LatexType             Command
506         InTitle               0
507         LatexName             notetoeditor
508         TopSep                1.2
509         ParSkip               0.4
510         BottomSep             0.8
511         Align                 Left
512         AlignPossible         Block, Left, Right, Center
513         LabelType             Static
514         LabelSep              M
515         LabelString           "Note to Editor:"
516         Font
517           Family              Roman
518           Size                Normal
519           Shape               Italic
520         EndFont
521 End
522
523
524 Style TableRefs
525         Margin                First_Dynamic
526         LatexType             Command
527         InTitle               0
528         LatexName             tablerefs
529         TopSep                1.2
530         ParSkip               0.4
531         BottomSep             0.8
532         Align                 Block
533         AlignPossible         Block, Left, Right, Center
534         LabelType             Static
535         LabelSep              M
536         LabelString           "References. ---"
537         Font
538           Family              Roman
539           Size                Normal
540         EndFont
541 End
542
543
544 Style TableComments
545         Margin                First_Dynamic
546         LatexType             Command
547         InTitle               0
548         LatexName             tablecomments
549         TopSep                1.2
550         ParSkip               0.4
551         BottomSep             0.8
552         Align                 Block
553         AlignPossible         Block, Left, Right, Center
554         LabelType             Static
555         LabelSep              M
556         LabelString           "Note. ---"
557         Font
558           Family              Roman
559           Size                Normal
560         EndFont
561 End
562
563
564 Style "Table note"
565         Margin                  Dynamic
566         LatexType               Command
567         LatexName               tablenotetext
568         ParSkip                 0.4
569         Align                   Block
570         LabelSep                xx
571         LabelType               Static
572         LabelString             "Table note:"
573         LabelFont
574           Color                 magenta
575         EndFont
576 End
577
578
579 InsetLayout tablenotemark
580         LyxType                 custom
581         LatexType               command
582         LatexName               tablenotemark
583         LabelString             "tablenote mark"
584         Font
585           Color                 foreground
586           Size                  Small
587           Family                Roman
588           Shape                 Up
589           Series                Medium
590           Misc                  No_Emph
591           Misc                  No_Noun
592           Misc                  No_Bar
593         EndFont
594         LabelFont
595           Color                 magenta
596           Size                  Small
597         EndFont
598 End
599
600
601 Style FigCaption
602         Margin                First_Dynamic
603         LatexType             Command
604         LatexName             figcaption
605         LabelSep              xx
606         ParSkip               0.4
607         TopSep                0.5
608         Align                 Block
609         AlignPossible         Block, Left
610         LabelType             Static
611         LabelString           "Fig. ---"
612         OptionalArgs          1
613 End
614
615 # Facility style definition
616 Style Facility
617         LeftMargin            MMM
618         Margin                Dynamic
619         LatexType             Command
620         InTitle               0
621         LatexName             facility
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           "Facility:"
629         Font
630           Family              Roman
631           Shape               Up
632           Size                Normal
633         EndFont
634         LabelFont
635           Family              Roman
636           Shape               Italic
637           Size                Normal
638         EndFont
639 End
640
641 # Objectname style definition
642 Style Objectname
643         LeftMargin            MMM
644         Margin                Dynamic
645         LatexType             Command
646         InTitle               0
647         LatexName             objectname
648         ParSkip               0.4
649         BottomSep             0.4
650         Align                 Block
651         AlignPossible         Block, Left, Right, Center
652         LabelType             Static
653         LabelSep              M
654         LabelString           "Obj:"
655         OptionalArgs          1
656         Font
657           Family              Roman
658           Shape               Up
659           Size                Normal
660         EndFont
661         LabelFont
662           Family              Roman
663           Shape               Italic
664           Size                Normal
665         EndFont
666 End
667
668 # Dataset style definition
669 Style Dataset
670         LeftMargin            MMM
671         Margin                Dynamic
672         LatexType             Command
673         InTitle               0
674         LatexName             dataset
675         ParSkip               0.4
676         BottomSep             0.4
677         Align                 Block
678         AlignPossible         Block, Left, Right, Center
679         LabelType             Static
680         LabelSep              M
681         LabelString           "Dataset:"
682         OptionalArgs          1
683         Font
684           Family              Roman
685           Shape               Up
686           Size                Normal
687         EndFont
688         LabelFont
689           Family              Roman
690           Shape               Italic
691           Size                Normal
692         EndFont
693 End
694