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