]> git.lyx.org Git - lyx.git/blob - lib/layouts/aastex.layout
Allow literate documents other than noweb to work out of the box. Currently
[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 11
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 End
69
70 Style Subsection
71 End
72
73 Style Subsubsection
74 End
75
76 Style Paragraph
77 End
78
79 Style Itemize
80 End
81
82 Style Enumerate
83 End
84
85 Style Description
86 End
87
88 Style List
89 End
90
91 Style Title
92 End
93
94 Style Author
95 End
96
97 Style Affiliation
98 End
99
100 Style Email
101 End
102
103 Style And
104 End
105
106 Style Date
107 End
108
109 Style Abstract
110 End
111
112 Style Keywords
113 End
114
115 Style Acknowledgements
116 End
117
118 Style Appendix
119 End
120
121 Style References
122 End
123
124 Style PlaceFigure
125 End
126
127 Style PlaceTable
128 End
129
130 Style TableComments
131 End
132
133 Style TableRefs
134 End
135
136
137 Style MathLetters
138 End
139
140 Style NoteToEditor
141 End
142
143 Style Facility
144 End
145
146 Style Objectname
147 End
148
149 Style Dataset
150 End
151
152 # OK, now we have a more or less consistent Ordering. Now fill the
153 # definitions. First, the standard includes
154
155 Input stdinsets.inc
156 Input stdsections.inc
157 Input stdtitle.inc
158 Input stdstruct.inc
159 Input stdlists.inc
160 Input stdfloats.inc
161 Input stdcounters.inc
162
163 NoStyle Part
164 NoStyle Chapter
165 NoStyle Subparagraph
166 NoStyle List
167 NoStyle Bibliography
168
169
170 Style Section
171         Align                 Center
172         NextNoIndent          0
173         TopSep                2.0
174         BottomSep             1.3
175         Font
176           Series              Bold
177           Size                Normal
178         EndFont
179 End
180
181
182 Style Subsection
183         Align                 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         NextNoIndent          0
197         TopSep                1.7
198         BottomSep             1.1
199         Font
200           Series              Medium
201           Shape               Italic
202           Size                Normal
203         EndFont
204 End
205
206
207 Style Title
208         TopSep                  2
209         BottomSep               1.3
210         Align                   Center
211         InTitle                 0
212         Font
213           Series                Bold
214           Size                  Large
215         EndFont
216 End
217
218
219 Style Author
220         Align                   Center
221         LabelType               No_Label
222         InTitle                 0
223         Font
224           Size                  Normal
225           Series                Medium
226           Shape                 SmallCaps
227         EndFont
228 End
229
230
231 Style Date
232         InTitle                 0
233         LabelSep                ""
234         TopSep                  1.2
235         Align                   Center
236         Font
237           Size                  Small
238         EndFont
239 End
240
241
242 Style Abstract
243         LeftMargin              "MMM"
244         RightMargin             "MMM"
245         ParIndent               "MM"
246         InTitle                 0
247         TopSep                  1.4
248         BottomSep               0.7
249         LabelType               Centered_Top_Environment
250         Align                   Block
251         AlignPossible           Block, Left, Right, Center
252         Font
253           Size                  Normal
254         EndFont
255         LabelFont
256           Series                Bold
257           Size                  Normal
258         EndFont
259 End
260
261
262 Style Affiliation
263         Margin                  Static
264         LatexType               Command
265         LatexName               affil
266         Category                FrontMatter
267         ParSkip                 0.4
268         BottomSep               0.4
269         Align                   Center
270         AlignPossible           Block, Left, Right, Center
271         LabelType               No_Label
272         Font
273           Family                Roman
274           Size                  Normal
275         EndFont
276 End
277
278
279 Style Altaffilation
280         Margin                  Dynamic
281         LatexType               Command
282         LatexName               altaffiltext
283         Category                FrontMatter
284         ParSkip                 0.4
285         Align                   Block
286         LabelSep                xx
287         LabelType               Static
288         LabelString             "Alternative affiliation:"
289         LabelFont
290           Color                 green
291         EndFont
292 End
293
294
295 InsetLayout altaffilmark
296         LyxType                 custom
297         LatexType               command
298         LatexName               altaffilmark
299         LabelString             "altaffiliation mark"
300         Font
301           Color                 foreground
302           Size                  Small
303           Family                Roman
304           Shape                 Up
305           Series                Medium
306           Misc                  No_Emph
307           Misc                  No_Noun
308           Misc                  No_Bar
309         EndFont
310         LabelFont
311           Color                 green
312           Size                  Small
313         EndFont
314 End
315
316
317 Style Keywords
318         LeftMargin              MMM
319         Margin                  Dynamic
320         LatexType               Command
321         InTitle                 0
322         LatexName               keywords
323         Category                FrontMatter
324         ParSkip                 0.4
325         BottomSep               0.4
326         Align                   Block
327         AlignPossible           Block, Left, Right, Center
328         LabelType               Static
329         LabelSep                M
330         LabelString             "Subject headings:"
331         Font
332           Family                Roman
333           Shape                 Up
334           Size                  Normal
335         EndFont
336         LabelFont
337           Family                Roman
338           Shape                 Italic
339           Size                  Normal
340         EndFont
341 End
342
343
344 Style Email
345         Margin                  Static
346         LatexType               Command
347         InTitle                 0
348         LatexName               email
349         Category                FrontMatter
350         ParSkip                 0.4
351         BottomSep               0.4
352         Align                   Center
353         AlignPossible           Block, Left, Right, Center
354         LabelType               No_Label
355         Font
356           Family                Roman
357           Size                  Normal
358           Shape                 Italic
359         EndFont
360 End
361
362
363 Style Acknowledgements
364         Margin                  Dynamic
365         LatexType               Command
366         InTitle                 0
367         LatexName               acknowledgements
368         TopSep                  1.2
369         ParSkip                 0.4
370         BottomSep               0.8
371         Align                   Left
372         LabelType               Static
373         LabelString             "[Acknowledgements]"
374         KeepEmpty               1
375         Font
376           Family                Roman
377           Size                  Normal
378           Shape                 Italic
379         EndFont
380 End
381
382
383 Style And
384         Margin                  Dynamic
385         LatexType               Command
386         InTitle                 0
387         LatexName               and
388         Category                FrontMatter
389         TopSep                  1.2
390         ParSkip                 0.4
391         BottomSep               1.2
392         Align                   Center
393         LabelType               Static
394         LabelString             "and"
395         KeepEmpty               1
396         Font
397           Family                Roman
398           Size                  Normal
399         EndFont
400 End
401
402
403 Style PlaceFigure
404         Margin                Dynamic
405         LatexType             Command
406         InTitle               0
407         LatexName             placefigure
408         TopSep                1.2
409         ParSkip               0.4
410         BottomSep             0.8
411         Align                 Left
412         LabelType             Static
413         LabelSep              M
414         LabelString           "Place Figure here:"
415         Font
416           Family              Roman
417           Size                Normal
418           Shape               Italic
419         EndFont
420 End
421
422
423 Style PlaceTable
424         Margin                Dynamic
425         LatexType             Command
426         InTitle               0
427         LatexName             placetable
428         TopSep                1.2
429         ParSkip               0.4
430         BottomSep             0.8
431         Align                 Left
432         LabelType             Static
433         LabelSep              M
434         LabelString           "Place Table here:"
435         Font
436           Family              Roman
437           Size                Normal
438           Shape               Italic
439         EndFont
440 End
441
442
443 Style Appendix
444         Margin                Dynamic
445         LatexType             Command
446         LatexName             appendix
447         Category                BackMatter
448         TopSep                1.2
449         ParSkip               0.4
450         BottomSep             0.8
451         Align                 Left
452         LabelType             Static
453         LabelString           "[Appendix]"
454         KeepEmpty             1
455         Font
456           Family              Roman
457           Size                Normal
458           Shape               Italic
459         EndFont
460 End
461
462
463 Style MathLetters
464         LatexType             Environment
465         LatexName             mathletters
466         LabelType             No_Label
467         Align                 Block
468         AlignPossible         Block, Left, Right, Center
469         Font
470           Size                Normal
471         EndFont
472 End
473
474
475 Style References
476         Margin                First_Dynamic
477         LatexType             Bib_Environment
478         LatexName             thebibliography
479         Category                BackMatter
480         NextNoIndent          1
481         LeftMargin            MM
482         ParSkip               0.4
483         ItemSep               0
484         TopSep                0.7
485         BottomSep             0.7
486         ParSep                0.5
487         LabelType             Bibliography
488         LabelString           "References"
489         LabelBottomSep        0.7
490         Align                 Block
491         AlignPossible         Block, Left, Right, Center
492         LabelFont
493           Family              Roman
494           Size                Normal
495           Series              Bold
496         EndFont
497 End
498
499
500 # Need reordering below here
501
502 Style NoteToEditor
503         Margin                Dynamic
504         LatexType             Command
505         InTitle               0
506         LatexName             notetoeditor
507         TopSep                1.2
508         ParSkip               0.4
509         BottomSep             0.8
510         Align                 Left
511         AlignPossible         Block, Left, Right, Center
512         LabelType             Static
513         LabelSep              M
514         LabelString           "Note to Editor:"
515         Font
516           Family              Roman
517           Size                Normal
518           Shape               Italic
519         EndFont
520 End
521
522
523 Style TableRefs
524         Margin                First_Dynamic
525         LatexType             Command
526         InTitle               0
527         LatexName             tablerefs
528         TopSep                1.2
529         ParSkip               0.4
530         BottomSep             0.8
531         Align                 Block
532         AlignPossible         Block, Left, Right, Center
533         LabelType             Static
534         LabelSep              M
535         LabelString           "References. ---"
536         Font
537           Family              Roman
538           Size                Normal
539         EndFont
540 End
541
542
543 Style TableComments
544         Margin                First_Dynamic
545         LatexType             Command
546         InTitle               0
547         LatexName             tablecomments
548         TopSep                1.2
549         ParSkip               0.4
550         BottomSep             0.8
551         Align                 Block
552         AlignPossible         Block, Left, Right, Center
553         LabelType             Static
554         LabelSep              M
555         LabelString           "Note. ---"
556         Font
557           Family              Roman
558           Size                Normal
559         EndFont
560 End
561
562
563 Style "Table note"
564         Margin                  Dynamic
565         LatexType               Command
566         LatexName               tablenotetext
567         ParSkip                 0.4
568         Align                   Block
569         LabelSep                xx
570         LabelType               Static
571         LabelString             "Table note:"
572         LabelFont
573           Color                 magenta
574         EndFont
575 End
576
577
578 InsetLayout tablenotemark
579         LyxType                 custom
580         LatexType               command
581         LatexName               tablenotemark
582         LabelString             "tablenote mark"
583         Font
584           Color                 foreground
585           Size                  Small
586           Family                Roman
587           Shape                 Up
588           Series                Medium
589           Misc                  No_Emph
590           Misc                  No_Noun
591           Misc                  No_Bar
592         EndFont
593         LabelFont
594           Color                 magenta
595           Size                  Small
596         EndFont
597 End
598
599
600 Style FigCaption
601         Margin                First_Dynamic
602         LatexType             Command
603         LatexName             figcaption
604         LabelSep              xx
605         ParSkip               0.4
606         TopSep                0.5
607         Align                 Block
608         AlignPossible         Block, Left
609         LabelType             Static
610         LabelString           "Fig. ---"
611         OptionalArgs          1
612 End
613
614 # Facility style definition
615 Style Facility
616         LeftMargin            MMM
617         Margin                Dynamic
618         LatexType             Command
619         InTitle               0
620         LatexName             facility
621         ParSkip               0.4
622         BottomSep             0.4
623         Align                 Block
624         AlignPossible         Block, Left, Right, Center
625         LabelType             Static
626         LabelSep              M
627         LabelString           "Facility:"
628         Font
629           Family              Roman
630           Shape               Up
631           Size                Normal
632         EndFont
633         LabelFont
634           Family              Roman
635           Shape               Italic
636           Size                Normal
637         EndFont
638 End
639
640 # Objectname style definition
641 Style Objectname
642         LeftMargin            MMM
643         Margin                Dynamic
644         LatexType             Command
645         InTitle               0
646         LatexName             objectname
647         ParSkip               0.4
648         BottomSep             0.4
649         Align                 Block
650         AlignPossible         Block, Left, Right, Center
651         LabelType             Static
652         LabelSep              M
653         LabelString           "Obj:"
654         OptionalArgs          1
655         Font
656           Family              Roman
657           Shape               Up
658           Size                Normal
659         EndFont
660         LabelFont
661           Family              Roman
662           Shape               Italic
663           Size                Normal
664         EndFont
665 End
666
667 # Dataset style definition
668 Style Dataset
669         LeftMargin            MMM
670         Margin                Dynamic
671         LatexType             Command
672         InTitle               0
673         LatexName             dataset
674         ParSkip               0.4
675         BottomSep             0.4
676         Align                 Block
677         AlignPossible         Block, Left, Right, Center
678         LabelType             Static
679         LabelSep              M
680         LabelString           "Dataset:"
681         OptionalArgs          1
682         Font
683           Family              Roman
684           Shape               Up
685           Size                Normal
686         EndFont
687         LabelFont
688           Family              Roman
689           Shape               Italic
690           Size                Normal
691         EndFont
692 End
693