1 #% Do not delete the line below; configure depends on this
2 #\DeclareLaTeXClass[aastex631,amssymb.sty,latexsym.sty,natbib.sty,verbatim.sty]{American Astronomical Society (AASTeX v. 6.3.1)}
3 # \DeclareCategory{Articles}
5 # LyX support for the AAS TeX package http://www.ctan.org/pkg/aastex
7 # Author: Mike Ressler <mike.ressler@alum.mit.edu>
8 # Author: Uwe Stöhr <uwestoehr@web.de>
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
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
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
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)
45 # Version 6.2 14/08/18 - Stub for AASTeX 6.2:
46 # new layout file aastex62.layout, because
47 # aastex6.cls was renamed to aastex62.cls (2017/10/16)
49 # Version 6.3 04/03/24 - Stub for AASTeX 6.31:
50 # new layout file aastex631.layout, because
51 # aastex62.cls was renamed to aastex631.cls (2021/09/16)
53 # TODO: - support for new commands (see below)
54 # - aastex6.cls loads hyperref (with pre-set options) and url
55 # -> option clash if "Use Hyperref" is selected in Document>Settings
56 # support for new commands in aastex 6.3 and aastex 6.31 versions
57 # string freeze for lyx-2.4.0, must be done for lyx-2.4.1
58 # - in DocBook, the appendix is not output (not a standard LyX appendix
59 # separator (needs a layout update)
60 # - in DocBook, the "Software" part should really be a section on its own,
61 # but that would require a way to provide the section title within the
62 # layout (needs a layout update)
63 # - in DocBook, the table notes are not supported at all (move the remarks
64 # into the table cells instead of outputting tablenotemark in the cells?)
71 \newcommand{\vdag}{(v)^\dagger}
72 \newcommand\aastex{AAS\TeX}
78 # For new and updated commands, see
79 # http://journals.aas.org/authors/aastex/revisionhistory.html
90 LabelString "Software:"
95 DocBookAttr role='software'
96 # Override what's taken from Keywords, but not really wanted.
97 DocBookWrapperTag NONE
101 # other new commands are mainly for the user preamble
105 # TODO: dataset should become an inset similar to hyperref:
107 # Use the \dataset command to link to data sets hosted externally
108 # such as the DOI issuing Zenodo repository.
110 # \dataset[text]{url}
112 # Where url is the URL link to the data. The bracketed argument is optional.
113 # When present the given text is used as the displayed hyperlink otherwise
114 # [DATASET] is printed.
117 # Fixes for aastex.layout
119 # TODO: first/second arg for tablenotetext to replace ERT "}{"
120 # Show "figcaption" label instead of "Senseless!!!"
122 # match label to output
127 LabelString "APPENDIX"
131 LabelString "References-"
143 Style Corresponding_Author
146 LatexName correspondingauthor
149 LabelString "Corresponding author:"
154 LabelString "Keywords:"
168 LabelString "Author:"
175 ToolTip "Enter the 16 digit ORCID as xxxx-xxxx-xxxx-xxxx"
176 # TODO: In DocBook, this cannot be in the <personname>, it must be directly within <author>.
180 DocBookTag personname
181 DocBookTagType paragraph
182 DocBookWrapperTag author
183 DocBookWrapperTagType inline
190 LabelString "Affiliation:"
191 LatexName affiliation
203 LatexName collaboration
207 LabelString "Collaboration:"
216 Style Nocollaboration
219 LatexName nocollaboration
223 LabelString "No collaboration"
233 LatexName altaffiliation
238 Style Acknowledgments
248 DocBookWrapperTag acknowledgements
257 Style Section_Appendix
260 LabelCounter appendix
261 LabelString "\Alph{appendix}."
273 Style Subsection_Appendix
276 LabelCounter subappendix
277 LabelString "\Alph{appendix}\arabic{subappendix}."
284 Counter subsubappendix
285 GuiName Subsubappendix
289 Style Subsubsection_Appendix
290 CopyStyle Subsubsection
292 LabelCounter subsubappendix
293 LabelString "\Alph{appendix}\arabic{subappendix}.\arabic{subsubappendix}."
300 NoInsetLayout Flex:altaffilmark