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