]> git.lyx.org Git - features.git/blob - lib/layouts/aastex62.layout
Use correct entry to remove an obsolete inset layout
[features.git] / lib / layouts / aastex62.layout
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}
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 # 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)
48 #
49 # TODO: - support for new commands (see below)
50 #       - aastex6.cls loads hyperref (with pre-set options) and url
51 #         -> option clash if "Use Hyerref" is selected in Document>Settings
52
53 Format          68
54
55 Input           aastex.layout
56
57
58 # For new and updated commands, see
59 # http://journals.aas.org/authors/aastex/revisionhistory.html
60
61 ## New commands:
62
63 Style Software
64         CopyStyle       Keywords
65         LatexName       software
66         Margin          Static
67         LeftMargin      M
68         TopSep          0.7
69         LabelType       Above
70         LabelString     "Software:"
71         LabelFont
72                 Shape           Italic
73         EndFont
74         
75 End
76
77 # other new commands are mainly for the user preamble
78
79 ## Updated commands:
80
81 # TODO: dataset should become an inset similar to hyperref:
82 #
83 #   Use the \dataset command to link to data sets hosted externally
84 #   such as the DOI issuing Zenodo repository.
85 #
86 #      \dataset[text]{url}
87 #
88 #   Where url is the URL link to the data. The bracketed argument is optional.
89 #   When present the given text is used as the displayed hyperlink otherwise
90 #   [DATASET] is printed.
91
92
93 # Fixes for aastex.layout
94
95 # TODO: first/second arg for tablenotetext to replace ERT "}{"
96 #       Show "figcaption" label instead of "Senseless!!!"
97
98 # match label to output
99 Style Appendix
100         Margin          Static
101         #       LeftMargin      ""
102         LabelType       Centered
103         LabelString     "APPENDIX"
104 End
105
106 Style TableRefs
107         LabelString     "References-"
108         LabelFont
109                 Series          Bold
110         EndFont
111 End
112
113 Style TableComments
114         LabelString     "Note-"
115 End
116
117 # Added for aastex62
118
119 Style Corresponding_Author
120         Category        FrontMatter
121         LatexType       Command
122         LatexName       correspondingauthor
123         LabelType       Static
124         Margin          Dynamic
125         LabelString     "Corresponding author:"
126         LabelSep        "x"
127 End
128
129 Style Keywords
130         LabelString     "Keywords:"
131 End
132
133 Style Email
134         Align           Left
135         Font
136                 Shape           Up
137                 Color           Blue
138                 Size            Small
139         EndFont
140 End
141
142 Style Author
143         LabelType       Static
144         LabelString     "Author:"
145         LabelFont
146                 Shape           Italic
147                 Color           Green
148         EndFont
149         Argument 1
150                 LabelString     ORCID
151                 ToolTip         "Enter the 16 digit ORCID as xxxx-xxxx-xxxx-xxxx"
152         EndArgument
153         Align           Center
154         Margin          Dynamic
155 End
156
157 Style Affiliation
158         LabelType       Static
159         Margin          Dynamic
160         LabelString     "Affiliation:"
161         LatexName       affiliation
162         LabelSep        "x"
163         LabelFont
164                 Shape           Italic
165                 Color           Green
166         EndFont
167         Align           Center
168 End
169
170 Style Collaboration
171         Category        FrontMatter
172         LatexType       Command
173         LatexName       collaboration
174         
175         LabelType       Static
176         Margin          Dynamic
177         LabelString     "Collaboration:"
178         LabelSep        "x"
179         LabelFont
180                 Shape           Italic
181                 Color           Green
182         EndFont
183         Align           Center
184 End
185
186 Style Nocollaboration
187         Category        FrontMatter
188         LatexType       Command
189         LatexName       nocollaboration
190         LabelType       Static
191         Align           Center
192         Margin          Dynamic
193         LabelString     "No collaboration"
194         KeepEmpty       1
195         LabelSep        "x"
196         LabelFont
197                 Shape           Italic
198                 Color           Green
199         EndFont
200 End
201
202 Style Altaffilation
203         LatexName       altaffiliation
204         ResetArgs       1
205         Align           Center
206 End
207
208 Style Acknowledgements
209         Font
210                 Shape           Up
211         EndFont
212         LabelType       Above
213         Margin          Static
214         LabelFont
215                 Color           Green
216         EndFont
217 End
218
219 Counter appendix
220         Within          "none"
221 End
222
223 Style Section_Appendix
224         CopyStyle       Section
225         Category        Appendix
226         LabelCounter    appendix
227         LabelString     "\Alph{appendix}."
228         Font
229                 Series          Medium
230                 Shape           Up
231         EndFont
232 End
233
234 Counter subappendix
235         Within          "appendix"
236 End
237
238 Style Subsection_Appendix
239         CopyStyle       Subsection
240         Category        Appendix
241         LabelCounter    subappendix
242         LabelString     "\Alph{appendix}\arabic{subappendix}."
243         Font
244                 Series          Medium
245                 Shape           Italic
246         EndFont
247 End
248
249 Counter subsubappendix
250         Within          subappendix
251 End
252
253 Style Subsubsection_Appendix
254         CopyStyle       Subsubsection
255         Category        Appendix
256         LabelCounter    subsubappendix
257         LabelString     "\Alph{appendix}\arabic{subappendix}.\arabic{subsubappendix}."
258         Font
259                 Series          Medium
260         EndFont
261 End
262
263 NoStyle         And
264 NoInsetLayout   Flex:altaffilmark