2018-08-14 06:49:34 +00:00
|
|
|
#% Do not delete the line below; configure depends on this
|
|
|
|
#\DeclareLaTeXClass[aastex62,amssymb.sty,latexsym.sty,natbib.sty,verbatim.sty]{American Astronomical Society (AASTeX v. 6.2)}
|
|
|
|
# \DeclareCategory{Articles}
|
|
|
|
#
|
|
|
|
# LyX support for the AAS TeX package http://www.ctan.org/pkg/aastex
|
|
|
|
#
|
|
|
|
# Author: Mike Ressler <mike.ressler@alum.mit.edu>
|
|
|
|
# Author: Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
#
|
|
|
|
# Disclaimer: Though I am an astronomer at the Jet Propulsion Laboratory, this
|
|
|
|
# package was prepared on my own time on my own machine. Neither the United
|
|
|
|
# States government, the National Aeronautics and Space Administration, the
|
|
|
|
# California Institute of Technology, the American Astronomical Society, nor
|
|
|
|
# the Jet Propulsion Laboratory endorse this package - indeed, they probably
|
|
|
|
# don't even know of it's existence. Use of this package is covered by the LyX
|
|
|
|
# license which is found in the file COPYING in the root directory of the LyX
|
|
|
|
# distribution.
|
|
|
|
#
|
|
|
|
# Version 0.0 5/27/99 - Initial submission, basic LaTeX equivalents
|
|
|
|
# Version 0.1 6/04/99 - Most everything in sections 2.1-2.11 of AASTeX guide
|
|
|
|
# works. References work with some ERT. Regular tables
|
|
|
|
# (2.14) okay, deluxetable will never be supported.
|
|
|
|
# Figures (2.13) not even attempted yet. Misc (2.15)
|
|
|
|
# partially supported, but much will remain ERT.
|
|
|
|
# Style options (section 3) can be typed into Extra
|
|
|
|
# Document options.
|
|
|
|
# Much cleaning of this file needs to be done.
|
|
|
|
# Version 1.0 6/09/99 - Implemented remaining commands as well as possible.
|
|
|
|
# There is little more I can do unless LyX source code
|
|
|
|
# is changed. (Not by me!) Documentation, template, and
|
|
|
|
# example files are available.
|
|
|
|
# Version 1.1 7/25/99 - Changed \url to take advantage of new layout option.
|
|
|
|
# Version 1.2 4/18/02 - Updated for natbib in 1.2.0
|
|
|
|
# Version 1.3 5/7/04 - Updated for AASTeX 5.2
|
|
|
|
# Version 1.4 26/10/08 - new custom insets for \altaffilmark, \tablenotemark
|
|
|
|
# - new environments for \altaffiltext and \tablenotetext
|
|
|
|
# Version 1.5 26/11/12 - added mandatory argument for \altaffiltext
|
|
|
|
# Version 1.6 23/01/15 - fix for the optional argument of \figcaption
|
|
|
|
#
|
|
|
|
# Version 6.0 31/03/16 - Stub for AASTeX 6.0:
|
|
|
|
# new layout file aastex6.layout, because
|
|
|
|
# aastex.cls was renamed to aastex6.cls (2016/02/16)
|
|
|
|
# (cf. LyX ticket #10027)
|
|
|
|
#
|
|
|
|
# Version 6.2 14/08/18 - Stub for AASTeX 6.2:
|
|
|
|
# new layout file aastex62.layout, because
|
|
|
|
# aastex6.cls was renamed to aastex62.cls (2017/10/16)
|
|
|
|
#
|
|
|
|
# TODO: - support for new commands (see below)
|
|
|
|
# - aastex6.cls loads hyperref (with pre-set options) and url
|
|
|
|
# -> option clash if "Use Hyerref" is selected in Document>Settings
|
|
|
|
|
2020-10-25 15:43:32 +00:00
|
|
|
Format 85
|
2018-08-14 06:49:34 +00:00
|
|
|
|
2018-08-14 14:22:09 +00:00
|
|
|
Provides hyperref 1
|
|
|
|
|
2018-08-14 11:05:01 +00:00
|
|
|
Preamble
|
|
|
|
\newcommand{\vdag}{(v)^\dagger}
|
|
|
|
\newcommand\aastex{AAS\TeX}
|
|
|
|
EndPreamble
|
|
|
|
|
2018-08-14 06:49:34 +00:00
|
|
|
Input aastex.layout
|
|
|
|
|
|
|
|
|
|
|
|
# For new and updated commands, see
|
|
|
|
# http://journals.aas.org/authors/aastex/revisionhistory.html
|
|
|
|
|
|
|
|
## New commands:
|
|
|
|
|
|
|
|
Style Software
|
|
|
|
CopyStyle Keywords
|
|
|
|
LatexName software
|
|
|
|
Margin Static
|
|
|
|
LeftMargin M
|
|
|
|
TopSep 0.7
|
|
|
|
LabelType Above
|
|
|
|
LabelString "Software:"
|
|
|
|
LabelFont
|
|
|
|
Shape Italic
|
|
|
|
EndFont
|
2020-08-30 01:08:55 +00:00
|
|
|
DocBookTag remark
|
|
|
|
DocBookAttr role='software'
|
|
|
|
# Override what's taken from Keywords, but not really wanted.
|
|
|
|
DocBookWrapperTag NONE
|
|
|
|
DocBookInInfo never
|
2018-08-14 06:49:34 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
# other new commands are mainly for the user preamble
|
|
|
|
|
|
|
|
## Updated commands:
|
|
|
|
|
|
|
|
# TODO: dataset should become an inset similar to hyperref:
|
|
|
|
#
|
|
|
|
# Use the \dataset command to link to data sets hosted externally
|
|
|
|
# such as the DOI issuing Zenodo repository.
|
|
|
|
#
|
|
|
|
# \dataset[text]{url}
|
|
|
|
#
|
|
|
|
# Where url is the URL link to the data. The bracketed argument is optional.
|
|
|
|
# When present the given text is used as the displayed hyperlink otherwise
|
|
|
|
# [DATASET] is printed.
|
|
|
|
|
|
|
|
|
|
|
|
# Fixes for aastex.layout
|
|
|
|
|
|
|
|
# TODO: first/second arg for tablenotetext to replace ERT "}{"
|
|
|
|
# Show "figcaption" label instead of "Senseless!!!"
|
|
|
|
|
|
|
|
# match label to output
|
|
|
|
Style Appendix
|
|
|
|
Margin Static
|
|
|
|
# LeftMargin ""
|
|
|
|
LabelType Centered
|
|
|
|
LabelString "APPENDIX"
|
|
|
|
End
|
|
|
|
|
|
|
|
Style TableRefs
|
|
|
|
LabelString "References-"
|
|
|
|
LabelFont
|
|
|
|
Series Bold
|
|
|
|
EndFont
|
|
|
|
End
|
|
|
|
|
|
|
|
Style TableComments
|
|
|
|
LabelString "Note-"
|
|
|
|
End
|
|
|
|
|
|
|
|
# Added for aastex62
|
|
|
|
|
|
|
|
Style Corresponding_Author
|
|
|
|
Category FrontMatter
|
|
|
|
LatexType Command
|
|
|
|
LatexName correspondingauthor
|
|
|
|
LabelType Static
|
|
|
|
Margin Dynamic
|
|
|
|
LabelString "Corresponding author:"
|
|
|
|
LabelSep "x"
|
|
|
|
End
|
|
|
|
|
|
|
|
Style Keywords
|
|
|
|
LabelString "Keywords:"
|
|
|
|
End
|
|
|
|
|
|
|
|
Style Email
|
|
|
|
Align Left
|
|
|
|
Font
|
|
|
|
Shape Up
|
|
|
|
Color Blue
|
|
|
|
Size Small
|
|
|
|
EndFont
|
|
|
|
End
|
|
|
|
|
|
|
|
Style Author
|
|
|
|
LabelType Static
|
|
|
|
LabelString "Author:"
|
|
|
|
LabelFont
|
|
|
|
Shape Italic
|
|
|
|
Color Green
|
|
|
|
EndFont
|
|
|
|
Argument 1
|
|
|
|
LabelString ORCID
|
|
|
|
ToolTip "Enter the 16 digit ORCID as xxxx-xxxx-xxxx-xxxx"
|
|
|
|
EndArgument
|
|
|
|
Align Center
|
|
|
|
Margin Dynamic
|
|
|
|
End
|
|
|
|
|
|
|
|
Style Affiliation
|
|
|
|
LabelType Static
|
|
|
|
Margin Dynamic
|
|
|
|
LabelString "Affiliation:"
|
|
|
|
LatexName affiliation
|
|
|
|
LabelSep "x"
|
|
|
|
LabelFont
|
|
|
|
Shape Italic
|
|
|
|
Color Green
|
|
|
|
EndFont
|
|
|
|
Align Center
|
|
|
|
End
|
|
|
|
|
|
|
|
Style Collaboration
|
|
|
|
Category FrontMatter
|
|
|
|
LatexType Command
|
|
|
|
LatexName collaboration
|
|
|
|
|
|
|
|
LabelType Static
|
|
|
|
Margin Dynamic
|
|
|
|
LabelString "Collaboration:"
|
|
|
|
LabelSep "x"
|
|
|
|
LabelFont
|
|
|
|
Shape Italic
|
|
|
|
Color Green
|
|
|
|
EndFont
|
|
|
|
Align Center
|
|
|
|
End
|
|
|
|
|
|
|
|
Style Nocollaboration
|
|
|
|
Category FrontMatter
|
|
|
|
LatexType Command
|
|
|
|
LatexName nocollaboration
|
|
|
|
LabelType Static
|
|
|
|
Align Center
|
|
|
|
Margin Dynamic
|
|
|
|
LabelString "No collaboration"
|
|
|
|
KeepEmpty 1
|
|
|
|
LabelSep "x"
|
|
|
|
LabelFont
|
|
|
|
Shape Italic
|
|
|
|
Color Green
|
|
|
|
EndFont
|
|
|
|
End
|
|
|
|
|
|
|
|
Style Altaffilation
|
|
|
|
LatexName altaffiliation
|
|
|
|
ResetArgs 1
|
|
|
|
Align Center
|
|
|
|
End
|
|
|
|
|
|
|
|
Style Acknowledgements
|
|
|
|
Font
|
|
|
|
Shape Up
|
|
|
|
EndFont
|
|
|
|
LabelType Above
|
|
|
|
Margin Static
|
|
|
|
LabelFont
|
|
|
|
Color Green
|
|
|
|
EndFont
|
|
|
|
End
|
|
|
|
|
|
|
|
Counter appendix
|
2020-05-03 02:37:18 +00:00
|
|
|
GuiName Appendix
|
2018-08-14 06:49:34 +00:00
|
|
|
Within "none"
|
|
|
|
End
|
|
|
|
|
|
|
|
Style Section_Appendix
|
|
|
|
CopyStyle Section
|
|
|
|
Category Appendix
|
|
|
|
LabelCounter appendix
|
|
|
|
LabelString "\Alph{appendix}."
|
|
|
|
Font
|
|
|
|
Series Medium
|
|
|
|
Shape Up
|
|
|
|
EndFont
|
|
|
|
End
|
|
|
|
|
|
|
|
Counter subappendix
|
2020-05-03 02:37:18 +00:00
|
|
|
GuiName Subappendix
|
2018-08-14 06:49:34 +00:00
|
|
|
Within "appendix"
|
|
|
|
End
|
|
|
|
|
|
|
|
Style Subsection_Appendix
|
|
|
|
CopyStyle Subsection
|
|
|
|
Category Appendix
|
|
|
|
LabelCounter subappendix
|
|
|
|
LabelString "\Alph{appendix}\arabic{subappendix}."
|
|
|
|
Font
|
|
|
|
Series Medium
|
|
|
|
Shape Italic
|
|
|
|
EndFont
|
|
|
|
End
|
|
|
|
|
|
|
|
Counter subsubappendix
|
2020-05-03 02:37:18 +00:00
|
|
|
GuiName Subsubappendix
|
2018-08-14 06:49:34 +00:00
|
|
|
Within subappendix
|
|
|
|
End
|
|
|
|
|
|
|
|
Style Subsubsection_Appendix
|
|
|
|
CopyStyle Subsubsection
|
|
|
|
Category Appendix
|
|
|
|
LabelCounter subsubappendix
|
|
|
|
LabelString "\Alph{appendix}\arabic{subappendix}.\arabic{subsubappendix}."
|
|
|
|
Font
|
|
|
|
Series Medium
|
|
|
|
EndFont
|
|
|
|
End
|
|
|
|
|
|
|
|
NoStyle And
|
2018-08-14 10:30:28 +00:00
|
|
|
NoInsetLayout Flex:altaffilmark
|