]> git.lyx.org Git - lyx.git/blob - lib/layouts/aastex.layout
whitespace
[lyx.git] / lib / layouts / aastex.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[aastex,amssymb.sty,latexsym.sty,natbib.sty,verbatim.sty]{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 35
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 NoCounter part
169 NoStyle Chapter
170 NoCounter chapter
171 NoStyle Subparagraph
172 NoCounter subparagraph
173 NoStyle List
174 NoStyle Bibliography
175
176
177 Style Section
178         Align                 Center
179         NextNoIndent          0
180         TopSep                2.0
181         BottomSep             1.3
182         Font
183           Series              Bold
184           Size                Normal
185         EndFont
186         TocLevel 1
187 End
188
189
190 Style Subsection
191         Align                 Center
192         NextNoIndent          0
193         TopSep                1.7
194         BottomSep             1.1
195         Font
196           Series              Bold
197           Size                Normal
198         EndFont
199         TocLevel 2
200 End
201
202
203 Style Subsubsection
204         Align                 Center
205         NextNoIndent          0
206         TopSep                1.7
207         BottomSep             1.1
208         Font
209           Series              Medium
210           Shape               Italic
211           Size                Normal
212         EndFont
213         TocLevel 3
214 End
215
216
217 Style Title
218         TopSep                  2
219         BottomSep               1.3
220         Align                   Center
221         InTitle                 0
222         Font
223           Series                Bold
224           Size                  Large
225         EndFont
226 End
227
228
229 Style Author
230         Align                   Center
231         LabelType               No_Label
232         InTitle                 0
233         Font
234           Size                  Normal
235           Series                Medium
236           Shape                 SmallCaps
237         EndFont
238 End
239
240
241 Style Date
242         InTitle                 0
243         LabelSep                ""
244         TopSep                  1.2
245         Align                   Center
246         Font
247           Size                  Small
248         EndFont
249 End
250
251
252 Style Abstract
253         LeftMargin              "MMM"
254         RightMargin             "MMM"
255         ParIndent               "MM"
256         InTitle                 0
257         TopSep                  1.4
258         BottomSep               0.7
259         LabelType               Centered_Top_Environment
260         Align                   Block
261         AlignPossible           Block, Left, Right, Center
262         Font
263           Size                  Normal
264         EndFont
265         LabelFont
266           Series                Bold
267           Size                  Normal
268         EndFont
269 End
270
271
272 Style Affiliation
273         Margin                  Static
274         LatexType               Command
275         LatexName               affil
276         Category                FrontMatter
277         ParSkip                 0.4
278         BottomSep               0.4
279         Align                   Center
280         AlignPossible           Block, Left, Right, Center
281         LabelType               No_Label
282         Font
283           Family                Roman
284           Size                  Normal
285         EndFont
286 End
287
288
289 Style Altaffilation
290         Margin                  Dynamic
291         LatexType               Command
292         LatexName               altaffiltext
293         Category                FrontMatter
294         ParSkip                 0.4
295         Align                   Block
296         LabelSep                xx
297         LabelType               Static
298         LabelString             "Alternative affiliation:"
299         LabelFont
300           Color                 green
301         EndFont
302 End
303
304
305 InsetLayout "Flex:altaffilmark"
306         LyxType                 custom
307         LatexType               command
308         LatexName               altaffilmark
309         LabelString             "altaffiliation mark"
310         Font
311           Color                 foreground
312           Size                  Small
313           Family                Roman
314           Shape                 Up
315           Series                Medium
316           Misc                  No_Emph
317           Misc                  No_Noun
318           Misc                  No_Bar
319         EndFont
320         LabelFont
321           Color                 green
322           Size                  Small
323         EndFont
324 End
325
326
327 Style Keywords
328         LeftMargin              MMM
329         Margin                  Dynamic
330         LatexType               Command
331         InTitle                 0
332         LatexName               keywords
333         Category                FrontMatter
334         ParSkip                 0.4
335         BottomSep               0.4
336         Align                   Block
337         AlignPossible           Block, Left, Right, Center
338         LabelType               Static
339         LabelSep                M
340         LabelString             "Subject headings:"
341         Font
342           Family                Roman
343           Shape                 Up
344           Size                  Normal
345         EndFont
346         LabelFont
347           Family                Roman
348           Shape                 Italic
349           Size                  Normal
350         EndFont
351 End
352
353
354 Style Email
355         Margin                  Static
356         LatexType               Command
357         InTitle                 0
358         LatexName               email
359         Category                FrontMatter
360         ParSkip                 0.4
361         BottomSep               0.4
362         Align                   Center
363         AlignPossible           Block, Left, Right, Center
364         LabelType               No_Label
365         Font
366           Family                Roman
367           Size                  Normal
368           Shape                 Italic
369         EndFont
370 End
371
372
373 Style Acknowledgements
374         Margin                  Dynamic
375         LatexType               Command
376         InTitle                 0
377         LatexName               acknowledgements
378         TopSep                  1.2
379         ParSkip                 0.4
380         BottomSep               0.8
381         Align                   Left
382         LabelType               Static
383         LabelString             "[Acknowledgements]"
384         KeepEmpty               1
385         Font
386           Family                Roman
387           Size                  Normal
388           Shape                 Italic
389         EndFont
390 End
391
392
393 Style And
394         Margin                  Dynamic
395         LatexType               Command
396         InTitle                 0
397         LatexName               and
398         Category                FrontMatter
399         TopSep                  1.2
400         ParSkip                 0.4
401         BottomSep               1.2
402         Align                   Center
403         LabelType               Static
404         LabelString             "and"
405         KeepEmpty               1
406         Font
407           Family                Roman
408           Size                  Normal
409         EndFont
410 End
411
412
413 Style PlaceFigure
414         Margin                Dynamic
415         LatexType             Command
416         InTitle               0
417         LatexName             placefigure
418         TopSep                1.2
419         ParSkip               0.4
420         BottomSep             0.8
421         Align                 Left
422         LabelType             Static
423         LabelSep              M
424         LabelString           "Place Figure here:"
425         Font
426           Family              Roman
427           Size                Normal
428           Shape               Italic
429         EndFont
430 End
431
432
433 Style PlaceTable
434         Margin                Dynamic
435         LatexType             Command
436         InTitle               0
437         LatexName             placetable
438         TopSep                1.2
439         ParSkip               0.4
440         BottomSep             0.8
441         Align                 Left
442         LabelType             Static
443         LabelSep              M
444         LabelString           "Place Table here:"
445         Font
446           Family              Roman
447           Size                Normal
448           Shape               Italic
449         EndFont
450 End
451
452
453 Style Appendix
454         Margin                Dynamic
455         LatexType             Command
456         LatexName             appendix
457         Category                BackMatter
458         TopSep                1.2
459         ParSkip               0.4
460         BottomSep             0.8
461         Align                 Left
462         LabelType             Static
463         LabelString           "[Appendix]"
464         KeepEmpty             1
465         Font
466           Family              Roman
467           Size                Normal
468           Shape               Italic
469         EndFont
470 End
471
472
473 Style MathLetters
474         LatexType             Environment
475         LatexName             mathletters
476         LabelType             No_Label
477         Align                 Block
478         AlignPossible         Block, Left, Right, Center
479         Font
480           Size                Normal
481         EndFont
482 End
483
484
485 Style References
486         Margin                First_Dynamic
487         LatexType             Bib_Environment
488         LatexName             thebibliography
489         Category                BackMatter
490         NextNoIndent          1
491         LeftMargin            MM
492         ParSkip               0.4
493         ItemSep               0
494         TopSep                0.7
495         BottomSep             0.7
496         ParSep                0.5
497         LabelType             Bibliography
498         LabelString           "References"
499         LabelBottomSep        0.7
500         Align                 Block
501         AlignPossible         Block, Left, Right, Center
502         LabelFont
503           Family              Roman
504           Size                Normal
505           Series              Bold
506         EndFont
507 End
508
509
510 # Need reordering below here
511
512 Style NoteToEditor
513         Margin                Dynamic
514         LatexType             Command
515         InTitle               0
516         LatexName             notetoeditor
517         TopSep                1.2
518         ParSkip               0.4
519         BottomSep             0.8
520         Align                 Left
521         AlignPossible         Block, Left, Right, Center
522         LabelType             Static
523         LabelSep              M
524         LabelString           "Note to Editor:"
525         Font
526           Family              Roman
527           Size                Normal
528           Shape               Italic
529         EndFont
530 End
531
532
533 Style TableRefs
534         Margin                First_Dynamic
535         LatexType             Command
536         InTitle               0
537         LatexName             tablerefs
538         TopSep                1.2
539         ParSkip               0.4
540         BottomSep             0.8
541         Align                 Block
542         AlignPossible         Block, Left, Right, Center
543         LabelType             Static
544         LabelSep              M
545         LabelString           "References. ---"
546         Font
547           Family              Roman
548           Size                Normal
549         EndFont
550 End
551
552
553 Style TableComments
554         Margin                First_Dynamic
555         LatexType             Command
556         InTitle               0
557         LatexName             tablecomments
558         TopSep                1.2
559         ParSkip               0.4
560         BottomSep             0.8
561         Align                 Block
562         AlignPossible         Block, Left, Right, Center
563         LabelType             Static
564         LabelSep              M
565         LabelString           "Note. ---"
566         Font
567           Family              Roman
568           Size                Normal
569         EndFont
570 End
571
572
573 Style "Table note"
574         Margin                  Dynamic
575         LatexType               Command
576         LatexName               tablenotetext
577         ParSkip                 0.4
578         Align                   Block
579         LabelSep                xx
580         LabelType               Static
581         LabelString             "Table note:"
582         LabelFont
583           Color                 magenta
584         EndFont
585 End
586
587
588 InsetLayout "Flex:tablenotemark"
589         LyxType                 custom
590         LatexType               command
591         LatexName               tablenotemark
592         LabelString             "tablenote mark"
593         Font
594           Color                 foreground
595           Size                  Small
596           Family                Roman
597           Shape                 Up
598           Series                Medium
599           Misc                  No_Emph
600           Misc                  No_Noun
601           Misc                  No_Bar
602         EndFont
603         LabelFont
604           Color                 magenta
605           Size                  Small
606         EndFont
607 End
608
609
610 Style FigCaption
611         Margin                First_Dynamic
612         LatexType             Command
613         LatexName             figcaption
614         LabelSep              xx
615         ParSkip               0.4
616         TopSep                0.5
617         Align                 Block
618         AlignPossible         Block, Left
619         LabelType             Static
620         LabelString           "Fig. ---"
621         OptionalArgs          1
622 End
623
624 # Facility style definition
625 Style Facility
626         LeftMargin            MMM
627         Margin                Dynamic
628         LatexType             Command
629         InTitle               0
630         LatexName             facility
631         ParSkip               0.4
632         BottomSep             0.4
633         Align                 Block
634         AlignPossible         Block, Left, Right, Center
635         LabelType             Static
636         LabelSep              M
637         LabelString           "Facility:"
638         Font
639           Family              Roman
640           Shape               Up
641           Size                Normal
642         EndFont
643         LabelFont
644           Family              Roman
645           Shape               Italic
646           Size                Normal
647         EndFont
648 End
649
650 # Objectname style definition
651 Style Objectname
652         LeftMargin            MMM
653         Margin                Dynamic
654         LatexType             Command
655         InTitle               0
656         LatexName             objectname
657         ParSkip               0.4
658         BottomSep             0.4
659         Align                 Block
660         AlignPossible         Block, Left, Right, Center
661         LabelType             Static
662         LabelSep              M
663         LabelString           "Obj:"
664         OptionalArgs          1
665         Font
666           Family              Roman
667           Shape               Up
668           Size                Normal
669         EndFont
670         LabelFont
671           Family              Roman
672           Shape               Italic
673           Size                Normal
674         EndFont
675 End
676
677 # Dataset style definition
678 Style Dataset
679         LeftMargin            MMM
680         Margin                Dynamic
681         LatexType             Command
682         InTitle               0
683         LatexName             dataset
684         ParSkip               0.4
685         BottomSep             0.4
686         Align                 Block
687         AlignPossible         Block, Left, Right, Center
688         LabelType             Static
689         LabelSep              M
690         LabelString           "Dataset:"
691         OptionalArgs          1
692         Font
693           Family              Roman
694           Shape               Up
695           Size                Normal
696         EndFont
697         LabelFont
698           Family              Roman
699           Shape               Italic
700           Size                Normal
701         EndFont
702 End
703