]> git.lyx.org Git - lyx.git/blob - lib/layouts/aastex6.layout
95a8ee89b4325cb6ef6eeb6b902e0768fe0f5cfa
[lyx.git] / lib / layouts / aastex6.layout
1 #% Do not delete the line below; configure depends on this
2 #\DeclareLaTeXClass[aastex6,amssymb.sty,latexsym.sty,natbib.sty,verbatim.sty]{American Astronomical Society (AASTeX v. 6)}
3 #  \DeclareCategory{Articles}
4 #
5 # LyX support for the AAS TeX package http://www.ctan.org/pkg/aastex
6 #
7 # Author: Mike Ressler <mike.ressler@alum.mit.edu>
8 # Author: Uwe Stöhr <uwestoehr@web.de>
9 #
10 # Disclaimer: Though I am an astronomer at the Jet Propulsion Laboratory, this
11 # package was prepared on my own time on my own machine. Neither the United
12 # States government, the National Aeronautics and Space Administration, the
13 # California Institute of Technology, the American Astronomical Society, nor
14 # the Jet Propulsion Laboratory endorse this package - indeed, they probably
15 # don't even know of it's existence. Use of this package is covered by the LyX
16 # license which is found in the file COPYING in the root directory of the LyX
17 # distribution.
18 #
19 # Version 0.0   5/27/99  - Initial submission, basic LaTeX equivalents
20 # Version 0.1   6/04/99  - Most everything in sections 2.1-2.11 of AASTeX guide
21 #                          works. References work with some ERT. Regular tables
22 #                          (2.14) okay, deluxetable will never be supported.
23 #                          Figures (2.13) not even attempted yet. Misc (2.15)
24 #                          partially supported, but much will remain ERT.
25 #                          Style options (section 3) can be typed into Extra
26 #                          Document options.
27 #                          Much cleaning of this file needs to be done.
28 # Version 1.0   6/09/99  - Implemented remaining commands as well as possible.
29 #                          There is little more I can do unless LyX source code
30 #                          is changed. (Not by me!) Documentation, template, and
31 #                          example files are available.
32 # Version 1.1   7/25/99  - Changed \url to take advantage of new layout option.
33 # Version 1.2   4/18/02  - Updated for natbib in 1.2.0
34 # Version 1.3   5/7/04   - Updated for AASTeX 5.2
35 # Version 1.4   26/10/08 - new custom insets for \altaffilmark, \tablenotemark
36 #                        - new environments for \altaffiltext and \tablenotetext
37 # Version 1.5   26/11/12 - added mandatory argument for \altaffiltext
38 # Version 1.6   23/01/15 - fix for the optional argument of \figcaption
39 #
40 # Version 6.0   31/03/16 - Stub for AASTeX 6.0:
41 #                          new layout file aastex6.layout, because
42 #                          aastex.cls was renamed to aastex6.cls (2016/02/16)
43 #                          (cf. LyX ticket #10027)
44 #
45 # TODO: - support for new commands (see below)
46 #       - aastex6.cls loads hyperref (with pre-set options) and url
47 #         -> option clash if "Use Hyerref" is selected in Document>Settings
48
49 Format 68
50
51 Input aastex.layout
52
53
54 # For new and updated commands, see
55 # http://journals.aas.org/authors/aastex/revisionhistory.html
56
57 ## New commands:
58
59 Style Software
60         CopyStyle       Keywords
61         LatexName       software
62         Margin          Static
63         LeftMargin      M
64         TopSep          0.7
65         LabelType       Above
66         LabelString     "Software:"
67         LabelFont
68           Shape         Italic
69         EndFont
70
71 End
72
73 # other new commands are mainly for the user preamble
74
75 ## Updated commands:
76
77 # TODO: dataset should become an inset similar to hyperref:
78 #
79 #   Use the \dataset command to link to data sets hosted externally
80 #   such as the DOI issuing Zenodo repository.
81 #
82 #      \dataset[text]{url}
83 #
84 #   Where url is the URL link to the data. The bracketed argument is optional.
85 #   When present the given text is used as the displayed hyperlink otherwise
86 #   [DATASET] is printed.
87
88
89 # Fixes for aastex.layout
90
91 # TODO: first/second arg for tablenotetext to replace ERT "}{"
92 #       Show "figcaption" label instead of "Senseless!!!"
93
94 # match label to output
95 Style Appendix
96         Margin          Static
97 #       LeftMargin      ""
98         LabelType       Centered
99         LabelString     "APPENDIX"
100 End
101
102 Style TableRefs
103         LabelString     "References-"
104         LabelFont
105           Series        Bold
106         EndFont
107 End
108
109 Style TableComments
110         LabelString     "Note-"
111 End