1 #% Do not delete the line below; configure depends on this
2 #\DeclareLaTeXClass[aastex62,amssymb.sty,latexsym.sty,natbib.sty,verbatim.sty]{American Astronomical Society (AASTeX v. 6.2)}
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 # TODO: - support for new commands (see below)
50 # - aastex6.cls loads hyperref (with pre-set options) and url
51 # -> option clash if "Use Hy^perref" is selected in Document>Settings
52 # - in DocBook, the appendix is not output (not a standard LyX appendix
53 # separator (needs a layout update)
54 # - in DocBook, the "Software" part should really be a section on its own,
55 # but that would require a way to provide the section title within the
56 # layout (needs a layout update)
57 # - in DocBook, the table notes are not supported at all (move the remarks
58 # into the table cells instead of outputting tablenotemark in the cells?)
65 \newcommand{\vdag}{(v)^\dagger}
66 \newcommand\aastex{AAS\TeX}
72 # For new and updated commands, see
73 # http://journals.aas.org/authors/aastex/revisionhistory.html
84 LabelString "Software:"
89 DocBookAttr role='software'
90 # Override what's taken from Keywords, but not really wanted.
91 DocBookWrapperTag NONE
95 # other new commands are mainly for the user preamble
99 # TODO: dataset should become an inset similar to hyperref:
101 # Use the \dataset command to link to data sets hosted externally
102 # such as the DOI issuing Zenodo repository.
104 # \dataset[text]{url}
106 # Where url is the URL link to the data. The bracketed argument is optional.
107 # When present the given text is used as the displayed hyperlink otherwise
108 # [DATASET] is printed.
111 # Fixes for aastex.layout
113 # TODO: first/second arg for tablenotetext to replace ERT "}{"
114 # Show "figcaption" label instead of "Senseless!!!"
116 # match label to output
121 LabelString "APPENDIX"
125 LabelString "References-"
137 Style Corresponding_Author
140 LatexName correspondingauthor
143 LabelString "Corresponding author:"
148 LabelString "Keywords:"
162 LabelString "Author:"
169 ToolTip "Enter the 16 digit ORCID as xxxx-xxxx-xxxx-xxxx"
170 # TODO: In DocBook, this cannot be in the <personname>, it must be directly within <author>.
174 DocBookTag personname
175 DocBookTagType paragraph
176 DocBookWrapperTag author
177 DocBookWrapperTagType inline
184 LabelString "Affiliation:"
185 LatexName affiliation
197 LatexName collaboration
201 LabelString "Collaboration:"
210 Style Nocollaboration
213 LatexName nocollaboration
217 LabelString "No collaboration"
227 LatexName altaffiliation
232 Style Acknowledgments
242 DocBookWrapperTag acknowledgements
251 Style Section_Appendix
254 LabelCounter appendix
255 LabelString "\Alph{appendix}."
267 Style Subsection_Appendix
270 LabelCounter subappendix
271 LabelString "\Alph{appendix}\arabic{subappendix}."
278 Counter subsubappendix
279 GuiName Subsubappendix
283 Style Subsubsection_Appendix
284 CopyStyle Subsubsection
286 LabelCounter subsubappendix
287 LabelString "\Alph{appendix}\arabic{subappendix}.\arabic{subsubappendix}."
294 NoInsetLayout Flex:altaffilmark