mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
New layout for aastex62.cls
This commit is contained in:
parent
e9b187af08
commit
bd6ba072ce
264
lib/layouts/aastex62.layout
Normal file
264
lib/layouts/aastex62.layout
Normal file
@ -0,0 +1,264 @@
|
||||
#% 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
|
||||
|
||||
Format 68
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
Within "none"
|
||||
End
|
||||
|
||||
Style Section_Appendix
|
||||
CopyStyle Section
|
||||
Category Appendix
|
||||
LabelCounter appendix
|
||||
LabelString "\Alph{appendix}."
|
||||
Font
|
||||
Series Medium
|
||||
Shape Up
|
||||
EndFont
|
||||
End
|
||||
|
||||
Counter subappendix
|
||||
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
|
||||
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
|
||||
NoStyle Flex:altaffilmark
|
449
lib/templates/aastex62.lyx
Normal file
449
lib/templates/aastex62.lyx
Normal file
@ -0,0 +1,449 @@
|
||||
#LyX 2.4 created this file. For more info see https://www.lyx.org/
|
||||
\lyxformat 561
|
||||
\begin_document
|
||||
\begin_header
|
||||
\save_transient_properties true
|
||||
\origin unavailable
|
||||
\textclass aastex62
|
||||
\begin_preamble
|
||||
\newcommand{\vdag}{(v)^\dagger}
|
||||
\newcommand\aastex{AAS\TeX}
|
||||
\newcommand\latex{La\TeX}
|
||||
|
||||
\received{January 1, 2018}
|
||||
\revised{January 7, 2018}
|
||||
\accepted{\today}
|
||||
\submitjournal{ApJ}
|
||||
|
||||
\shorttitle{}
|
||||
\shortauthors{}
|
||||
\end_preamble
|
||||
\use_default_options true
|
||||
\maintain_unincluded_children false
|
||||
\language english
|
||||
\language_package default
|
||||
\inputencoding auto
|
||||
\fontencoding auto
|
||||
\font_roman "default" "default"
|
||||
\font_sans "default" "default"
|
||||
\font_typewriter "default" "default"
|
||||
\font_math "auto" "auto"
|
||||
\font_default_family default
|
||||
\use_non_tex_fonts false
|
||||
\font_sc false
|
||||
\font_osf false
|
||||
\font_sf_scale 100 100
|
||||
\font_tt_scale 100 100
|
||||
\use_microtype false
|
||||
\use_dash_ligatures false
|
||||
\graphics default
|
||||
\default_output_format default
|
||||
\output_sync 0
|
||||
\bibtex_command default
|
||||
\index_command default
|
||||
\float_placement class
|
||||
\float_alignment class
|
||||
\paperfontsize default
|
||||
\spacing single
|
||||
\use_hyperref false
|
||||
\papersize default
|
||||
\use_geometry false
|
||||
\use_package amsmath 1
|
||||
\use_package amssymb 1
|
||||
\use_package cancel 1
|
||||
\use_package esint 1
|
||||
\use_package mathdots 1
|
||||
\use_package mathtools 1
|
||||
\use_package mhchem 1
|
||||
\use_package stackrel 1
|
||||
\use_package stmaryrd 1
|
||||
\use_package undertilde 1
|
||||
\cite_engine natbib
|
||||
\cite_engine_type authoryear
|
||||
\biblio_style plainnat
|
||||
\use_bibtopic false
|
||||
\use_indices false
|
||||
\paperorientation portrait
|
||||
\suppress_date false
|
||||
\justification true
|
||||
\use_refstyle 0
|
||||
\use_minted 0
|
||||
\index Index
|
||||
\shortcut idx
|
||||
\color #008000
|
||||
\end_index
|
||||
\secnumdepth 3
|
||||
\tocdepth 0
|
||||
\paragraph_separation indent
|
||||
\paragraph_indentation default
|
||||
\is_math_indent 0
|
||||
\math_numbering_side default
|
||||
\quotes_style english
|
||||
\dynamic_quotes 0
|
||||
\papercolumns 1
|
||||
\papersides 1
|
||||
\paperpagestyle default
|
||||
\tracking_changes false
|
||||
\output_changes false
|
||||
\html_math_output 0
|
||||
\html_css_as_file 0
|
||||
\html_be_strict false
|
||||
\end_header
|
||||
|
||||
\begin_body
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset Note Note
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
\noindent
|
||||
\align left
|
||||
Template for contributions to journals of the American Astronomical Society
|
||||
(AAS).
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
\noindent
|
||||
\align left
|
||||
Please consult the
|
||||
\begin_inset CommandInset href
|
||||
LatexCommand href
|
||||
name "AASTeX user guide"
|
||||
target "http://journals.aas.org/authors/aastex/aasguide.html"
|
||||
literal "false"
|
||||
|
||||
\end_inset
|
||||
|
||||
for details on how to use AASTeX.
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
\noindent
|
||||
\align left
|
||||
A LyX sample document is available under
|
||||
\family sans
|
||||
File>Open>Examples>aas_sample.lyx
|
||||
\family default
|
||||
.
|
||||
An up-to-date sample LaTeX article using AASTeX is available under
|
||||
\begin_inset Flex URL
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
http://journals.aas.org/authors/aastex/aastex.html#_download
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset Note Note
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
\noindent
|
||||
\align left
|
||||
The AASTeX document class uses a different name since version 6.0 (2016/02/16).
|
||||
Depending on the version installed on your system, set the document class
|
||||
to American Astronomical Society (AASTeX v.
|
||||
6) or American Astronomical Society (AASTeX v.
|
||||
5).
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
\noindent
|
||||
\align left
|
||||
New features (cf.
|
||||
|
||||
\begin_inset Flex URL
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
http://journals.aas.org/authors/aastex/revisionhistory.html
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
) are only partially supported by LyX (see
|
||||
\begin_inset Flex URL
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
https://www.lyx.org/trac/ticket/10027
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
).
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Title
|
||||
<Paper Title>
|
||||
\end_layout
|
||||
|
||||
\begin_layout Corresponding Author
|
||||
<>
|
||||
\end_layout
|
||||
|
||||
\begin_layout Email
|
||||
<cor_author@mail>
|
||||
\end_layout
|
||||
|
||||
\begin_layout Author
|
||||
<Author 1>
|
||||
\end_layout
|
||||
|
||||
\begin_layout Affiliation
|
||||
<Institution and
|
||||
\begin_inset Newline newline
|
||||
\end_inset
|
||||
|
||||
Address>
|
||||
\end_layout
|
||||
|
||||
\begin_layout Author
|
||||
<Author 2>
|
||||
\end_layout
|
||||
|
||||
\begin_layout Affiliation
|
||||
<Institution and Address>
|
||||
\end_layout
|
||||
|
||||
\begin_layout Author
|
||||
<Author 3>
|
||||
\end_layout
|
||||
|
||||
\begin_layout Affiliation
|
||||
<Institution and Address>
|
||||
\end_layout
|
||||
|
||||
\begin_layout Altaffilation
|
||||
Visiting Astronomer, etc.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Altaffilation
|
||||
Current Address, etc.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Altaffilation
|
||||
Visiting Astronomer, etc.
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Abstract
|
||||
<Abstract text>
|
||||
\end_layout
|
||||
|
||||
\begin_layout Keywords
|
||||
Journal approved keywords
|
||||
\end_layout
|
||||
|
||||
\begin_layout Section
|
||||
Introduction
|
||||
\begin_inset CommandInset label
|
||||
LatexCommand label
|
||||
name "sec:Introduction"
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Section
|
||||
Observations
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
<observations text>
|
||||
\end_layout
|
||||
|
||||
\begin_layout Section
|
||||
Results
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
<results text; refer to Figure
|
||||
\begin_inset CommandInset ref
|
||||
LatexCommand ref
|
||||
reference "fig:fig1"
|
||||
|
||||
\end_inset
|
||||
|
||||
and to
|
||||
\begin_inset CommandInset citation
|
||||
LatexCommand citet
|
||||
key "ref1"
|
||||
literal "true"
|
||||
|
||||
\end_inset
|
||||
|
||||
>
|
||||
\end_layout
|
||||
|
||||
\begin_layout Section
|
||||
Discussion
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
<discussion text>
|
||||
\end_layout
|
||||
|
||||
\begin_layout Section
|
||||
Conclusions
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
<conclusions text>
|
||||
\end_layout
|
||||
|
||||
\begin_layout Acknowledgements
|
||||
<acknowledgment text>
|
||||
\end_layout
|
||||
|
||||
\begin_layout Appendix
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Section Appendix
|
||||
Appendix
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
text
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection Appendix
|
||||
Subappendix
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
text
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsubsection Appendix
|
||||
Subsubappendix
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
text
|
||||
\end_layout
|
||||
|
||||
\begin_layout References
|
||||
\begin_inset CommandInset bibitem
|
||||
LatexCommand bibitem
|
||||
label "Author(1982)"
|
||||
key "ref1"
|
||||
literal "true"
|
||||
|
||||
\end_inset
|
||||
|
||||
Author, A.,
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
apj
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
, 109, 301
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset Newpage clearpage
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset Float figure
|
||||
placement document
|
||||
alignment document
|
||||
wide false
|
||||
sideways false
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
\begin_inset Caption Standard
|
||||
|
||||
\begin_layout Plain Layout
|
||||
\begin_inset CommandInset label
|
||||
LatexCommand label
|
||||
name "fig:fig1"
|
||||
|
||||
\end_inset
|
||||
|
||||
This is the first figure.
|
||||
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset Float figure
|
||||
placement document
|
||||
alignment document
|
||||
wide false
|
||||
sideways false
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
\begin_inset Caption FigCaption
|
||||
|
||||
\begin_layout Plain Layout
|
||||
\begin_inset Argument 1
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
filename
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
This is the second figure where the image filename is referenced via a FigCaptio
|
||||
n.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\end_body
|
||||
\end_document
|
Loading…
Reference in New Issue
Block a user