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