]> git.lyx.org Git - lyx.git/blob - lib/layouts/aastex6.layout
DocBook: new logic to handle the new lines, only used in output_docbook for now.
[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 82
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         DocBookWrapperTag   para
71         DocBookTag          application
72 End
73
74 # other new commands are mainly for the user preamble
75
76 ## Updated commands:
77
78 # TODO: dataset should become an inset similar to hyperref:
79 #
80 #   Use the \dataset command to link to data sets hosted externally
81 #   such as the DOI issuing Zenodo repository.
82 #
83 #      \dataset[text]{url}
84 #
85 #   Where url is the URL link to the data. The bracketed argument is optional.
86 #   When present the given text is used as the displayed hyperlink otherwise
87 #   [DATASET] is printed.
88
89
90 # Fixes for aastex.layout
91
92 # TODO: first/second arg for tablenotetext to replace ERT "}{"
93 #       Show "figcaption" label instead of "Senseless!!!"
94
95 # match label to output
96 Style Appendix
97         Margin          Static
98 #       LeftMargin      ""
99         LabelType       Centered
100         LabelString     "APPENDIX"
101 End
102
103 Style TableRefs
104         LabelString     "References-"
105         LabelFont
106           Series        Bold
107         EndFont
108 End
109
110 Style TableComments
111         LabelString     "Note-"
112 End