]> git.lyx.org Git - lyx.git/blob - lib/layouts/aastex.layout
The two lines deleted here attempt to call virtual functions from a constructor....
[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         MultiPar                true
316 End
317
318
319 Style Keywords
320         LeftMargin              MMM
321         Margin                  Dynamic
322         LatexType               Command
323         InTitle                 0
324         LatexName               keywords
325         Category                FrontMatter
326         ParSkip                 0.4
327         BottomSep               0.4
328         Align                   Block
329         AlignPossible           Block, Left, Right, Center
330         LabelType               Static
331         LabelSep                M
332         LabelString             "Subject headings:"
333         Font
334           Family                Roman
335           Shape                 Up
336           Size                  Normal
337         EndFont
338         LabelFont
339           Family                Roman
340           Shape                 Italic
341           Size                  Normal
342         EndFont
343 End
344
345
346 Style Email
347         Margin                  Static
348         LatexType               Command
349         InTitle                 0
350         LatexName               email
351         Category                FrontMatter
352         ParSkip                 0.4
353         BottomSep               0.4
354         Align                   Center
355         AlignPossible           Block, Left, Right, Center
356         LabelType               No_Label
357         Font
358           Family                Roman
359           Size                  Normal
360           Shape                 Italic
361         EndFont
362 End
363
364
365 Style Acknowledgements
366         Margin                  Dynamic
367         LatexType               Command
368         InTitle                 0
369         LatexName               acknowledgements
370         TopSep                  1.2
371         ParSkip                 0.4
372         BottomSep               0.8
373         Align                   Left
374         LabelType               Static
375         LabelString             "[Acknowledgements]"
376         KeepEmpty               1
377         Font
378           Family                Roman
379           Size                  Normal
380           Shape                 Italic
381         EndFont
382 End
383
384
385 Style And
386         Margin                  Dynamic
387         LatexType               Command
388         InTitle                 0
389         LatexName               and
390         Category                FrontMatter
391         TopSep                  1.2
392         ParSkip                 0.4
393         BottomSep               1.2
394         Align                   Center
395         LabelType               Static
396         LabelString             "and"
397         KeepEmpty               1
398         Font
399           Family                Roman
400           Size                  Normal
401         EndFont
402 End
403
404
405 Style PlaceFigure
406         Margin                Dynamic
407         LatexType             Command
408         InTitle               0
409         LatexName             placefigure
410         TopSep                1.2
411         ParSkip               0.4
412         BottomSep             0.8
413         Align                 Left
414         LabelType             Static
415         LabelSep              M
416         LabelString           "Place Figure here:"
417         Font
418           Family              Roman
419           Size                Normal
420           Shape               Italic
421         EndFont
422 End
423
424
425 Style PlaceTable
426         Margin                Dynamic
427         LatexType             Command
428         InTitle               0
429         LatexName             placetable
430         TopSep                1.2
431         ParSkip               0.4
432         BottomSep             0.8
433         Align                 Left
434         LabelType             Static
435         LabelSep              M
436         LabelString           "Place Table here:"
437         Font
438           Family              Roman
439           Size                Normal
440           Shape               Italic
441         EndFont
442 End
443
444
445 Style Appendix
446         Margin                Dynamic
447         LatexType             Command
448         LatexName             appendix
449         Category                BackMatter
450         TopSep                1.2
451         ParSkip               0.4
452         BottomSep             0.8
453         Align                 Left
454         LabelType             Static
455         LabelString           "[Appendix]"
456         KeepEmpty             1
457         Font
458           Family              Roman
459           Size                Normal
460           Shape               Italic
461         EndFont
462 End
463
464
465 Style MathLetters
466         LatexType             Environment
467         LatexName             mathletters
468         LabelType             No_Label
469         Align                 Block
470         AlignPossible         Block, Left, Right, Center
471         Font
472           Size                Normal
473         EndFont
474 End
475
476
477 Style References
478         Margin                First_Dynamic
479         LatexType             Bib_Environment
480         LatexName             thebibliography
481         Category                BackMatter
482         NextNoIndent          1
483         LeftMargin            MM
484         ParSkip               0.4
485         ItemSep               0
486         TopSep                0.7
487         BottomSep             0.7
488         ParSep                0.5
489         LabelType             Bibliography
490         LabelString           "References"
491         LabelBottomSep        0.7
492         Align                 Block
493         AlignPossible         Block, Left, Right, Center
494         LabelFont
495           Family              Roman
496           Size                Normal
497           Series              Bold
498         EndFont
499 End
500
501
502 # Need reordering below here
503
504 Style NoteToEditor
505         Margin                Dynamic
506         LatexType             Command
507         InTitle               0
508         LatexName             notetoeditor
509         TopSep                1.2
510         ParSkip               0.4
511         BottomSep             0.8
512         Align                 Left
513         AlignPossible         Block, Left, Right, Center
514         LabelType             Static
515         LabelSep              M
516         LabelString           "Note to Editor:"
517         Font
518           Family              Roman
519           Size                Normal
520           Shape               Italic
521         EndFont
522 End
523
524
525 Style TableRefs
526         Margin                First_Dynamic
527         LatexType             Command
528         InTitle               0
529         LatexName             tablerefs
530         TopSep                1.2
531         ParSkip               0.4
532         BottomSep             0.8
533         Align                 Block
534         AlignPossible         Block, Left, Right, Center
535         LabelType             Static
536         LabelSep              M
537         LabelString           "References. ---"
538         Font
539           Family              Roman
540           Size                Normal
541         EndFont
542 End
543
544
545 Style TableComments
546         Margin                First_Dynamic
547         LatexType             Command
548         InTitle               0
549         LatexName             tablecomments
550         TopSep                1.2
551         ParSkip               0.4
552         BottomSep             0.8
553         Align                 Block
554         AlignPossible         Block, Left, Right, Center
555         LabelType             Static
556         LabelSep              M
557         LabelString           "Note. ---"
558         Font
559           Family              Roman
560           Size                Normal
561         EndFont
562 End
563
564
565 Style "Table note"
566         Margin                  Dynamic
567         LatexType               Command
568         LatexName               tablenotetext
569         ParSkip                 0.4
570         Align                   Block
571         LabelSep                xx
572         LabelType               Static
573         LabelString             "Table note:"
574         LabelFont
575           Color                 magenta
576         EndFont
577 End
578
579
580 InsetLayout tablenotemark
581         LyxType                 custom
582         LatexType               command
583         LatexName               tablenotemark
584         LabelString             "tablenote mark"
585         Font
586           Color                 foreground
587           Size                  Small
588           Family                Roman
589           Shape                 Up
590           Series                Medium
591           Misc                  No_Emph
592           Misc                  No_Noun
593           Misc                  No_Bar
594         EndFont
595         LabelFont
596           Color                 magenta
597           Size                  Small
598         EndFont
599         MultiPar                true
600 End
601
602
603 Style FigCaption
604         Margin                First_Dynamic
605         LatexType             Command
606         LatexName             figcaption
607         LabelSep              xx
608         ParSkip               0.4
609         TopSep                0.5
610         Align                 Block
611         AlignPossible         Block, Left
612         LabelType             Static
613         LabelString           "Fig. ---"
614         OptionalArgs          1
615 End
616
617 # Facility style definition
618 Style Facility
619         LeftMargin            MMM
620         Margin                Dynamic
621         LatexType             Command
622         InTitle               0
623         LatexName             facility
624         ParSkip               0.4
625         BottomSep             0.4
626         Align                 Block
627         AlignPossible         Block, Left, Right, Center
628         LabelType             Static
629         LabelSep              M
630         LabelString           "Facility:"
631         Font
632           Family              Roman
633           Shape               Up
634           Size                Normal
635         EndFont
636         LabelFont
637           Family              Roman
638           Shape               Italic
639           Size                Normal
640         EndFont
641 End
642
643 # Objectname style definition
644 Style Objectname
645         LeftMargin            MMM
646         Margin                Dynamic
647         LatexType             Command
648         InTitle               0
649         LatexName             objectname
650         ParSkip               0.4
651         BottomSep             0.4
652         Align                 Block
653         AlignPossible         Block, Left, Right, Center
654         LabelType             Static
655         LabelSep              M
656         LabelString           "Obj:"
657         OptionalArgs          1
658         Font
659           Family              Roman
660           Shape               Up
661           Size                Normal
662         EndFont
663         LabelFont
664           Family              Roman
665           Shape               Italic
666           Size                Normal
667         EndFont
668 End
669
670 # Dataset style definition
671 Style Dataset
672         LeftMargin            MMM
673         Margin                Dynamic
674         LatexType             Command
675         InTitle               0
676         LatexName             dataset
677         ParSkip               0.4
678         BottomSep             0.4
679         Align                 Block
680         AlignPossible         Block, Left, Right, Center
681         LabelType             Static
682         LabelSep              M
683         LabelString           "Dataset:"
684         OptionalArgs          1
685         Font
686           Family              Roman
687           Shape               Up
688           Size                Normal
689         EndFont
690         LabelFont
691           Family              Roman
692           Shape               Italic
693           Size                Normal
694         EndFont
695 End
696