This file is indexed.

/usr/share/lyx/layouts/aastex.layout is in lyx-common 2.2.2-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[aastex,amssymb.sty,latexsym.sty,natbib.sty,verbatim.sty]{American Astronomical Society (AASTeX v. 5)}
#  \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

# Note: aastex.cls was replaced by aastex6.cls (v.1 2016/02/16)
# 	in the CTAN and TeXLive "aastex" package in march 2016.
# 	The new "aastex6.layout" depends on aastex6.cls but inputs this
#       file for the definitions (cf. LyX ticket #10027)

Format 60
Columns			1
Sides			1
#SecNumDepth		3
TocDepth		0
PageStyle		Plain
Provides amsmath	1
Provides natbib		1
Provides url		1


ClassOptions
	PageStyle	""
End


Style Standard
	Category        MainText
	Margin		Static
	LatexType	Paragraph
	LatexName	dummy
	ParIndent	MM
	ParSkip		0.4
	Align		Block
	AlignPossible	Block, Left, Right, Center
	LabelType	No_Label
End


# OK, now we have a more or less consistent Ordering. Now fill the
# definitions. First, the standard includes

Input stdinsets.inc
Input stdsections.inc
Input stdtitle.inc
Input stdstruct.inc
Input stdlists.inc
Input stdfloats.inc
Input stdcounters.inc

NoStyle Part
NoCounter part
NoStyle Chapter
NoCounter chapter
NoStyle Subparagraph
NoCounter subparagraph
NoStyle List
NoStyle Bibliography


Style Section
	Align		Center
	NextNoIndent	0
	TopSep		2.0
	BottomSep	1.3
	Font
	  Series	Bold
	  Size		Normal
	EndFont
	TocLevel	1
End


Style Subsection
	Align		Center
	NextNoIndent	0
	TopSep		1.7
	BottomSep	1.1
	Font
	  Series	Bold
	  Size		Normal
	EndFont
	TocLevel	2
End


Style Subsubsection
	Align		Center
	NextNoIndent	0
	TopSep		1.7
	BottomSep	1.1
	Font
	  Series	Medium
	  Shape		Italic
	  Size		Normal
	EndFont
	TocLevel	3
End


Style Title
	TopSep		2
	BottomSep	1.3
	Align		Center
	InTitle		0
	Font
	  Series	Bold
	  Size		Large
	EndFont
End


Style Author
	Align		Center
	LabelType	No_Label
	InTitle		0
	Font
	  Size		Normal
	  Series	Medium
	  Shape		SmallCaps
	EndFont
End


Style Affiliation
	Margin		Static
	LatexType	Command
	LatexName	affil
	Category	FrontMatter
	ParSkip		0.4
	BottomSep	0.4
	Align		Center
	AlignPossible	Block, Left, Right, Center
	LabelType	No_Label
	Font
	  Family	Roman
	  Size		Normal
	EndFont
End


Style Altaffilation
	Margin		Dynamic
	LatexType	Command
	LatexName	altaffiltext
	Category	FrontMatter
	ParSkip		0.4
	Align		Block
	Argument 1
	  Mandatory	1
	  LabelString	"Number"
	  Tooltip	"Consecutive number for the alternative affiliations"
	EndArgument
	LabelSep	xx
	LabelType	Static
	LabelString	"Alternative affiliation:"
	LabelFont
	  Color		green
	EndFont
End


Style Email
	Margin		Static
	LatexType	Command
	InTitle		0
	LatexName	email
	Category	FrontMatter
	ParSkip		0.4
	BottomSep	0.4
	Align		Center
	AlignPossible	Block, Left, Right, Center
	LabelType	No_Label
	Font
	  Family	Roman
	  Size		Normal
	  Shape		Italic
	EndFont
End


Style And
	Margin		Dynamic
	LatexType	Command
	InTitle		0
	LatexName	and
	Category	FrontMatter
	TopSep		1.2
	ParSkip		0.4
	BottomSep	1.2
	Align		Center
	LabelType	Static
	LabelString	"and"
	KeepEmpty	1
	Font
	  Family	Roman
	  Size		Normal
	EndFont
End


Style Date
	InTitle		0
	LabelSep	""
	TopSep		1.2
	Align		Center
	Font
	  Size		Small
	EndFont
End


Style Abstract
	LeftMargin	"MMM"
	RightMargin	"MMM"
	ParIndent	"MM"
	InTitle		0
	TopSep		1.4
	BottomSep	0.7
	LabelType	Centered
	Align		Block
	AlignPossible	Block, Left, Right, Center
	Font
	  Size		Normal
	EndFont
	LabelFont
	  Series	Bold
	  Size		Normal
	EndFont
End


InsetLayout "Flex:altaffilmark"
	LyxType		custom
	LatexType	command
	LatexName	altaffilmark
	LabelString	"altaffiliation mark"
	Font
	  Color		foreground
	  Size		Small
	  Family	Roman
	  Shape		Up
	  Series	Medium
	  Misc		No_Emph
	  Misc		No_Noun
	  Misc		No_Bar
	EndFont
	LabelFont
	  Color		green
	  Size		Small
	EndFont
End


Style Keywords
	LeftMargin	MMM
	Margin		Dynamic
	LatexType	Command
	InTitle		0
	LatexName	keywords
	Category	FrontMatter
	ParSkip		0.4
	BottomSep	0.4
	Align		Block
	AlignPossible	Block, Left, Right, Center
	LabelType	Static
	LabelSep	M
	LabelString	"Subject headings:"
	Font
	  Family	Roman
	  Shape		Up
	  Size		Normal
	EndFont
	LabelFont
	  Family	Roman
	  Shape		Italic
	  Size		Normal
	EndFont
End


Style Acknowledgements
	Category        BackMatter
	Margin		Dynamic
	LatexType	Command
	InTitle		0
	LatexName	acknowledgements
	TopSep		1.2
	ParSkip		0.4
	BottomSep	0.8
	Align		Left
	LabelType	Static
	LabelString	"[Acknowledgements]"
	KeepEmpty	1
	Font
	  Family	Roman
	  Size		Normal
	  Shape		Italic
	EndFont
End


Style PlaceFigure
	Margin		Dynamic
	LatexType	Command
	InTitle		0
	LatexName	placefigure
	TopSep		1.2
	ParSkip		0.4
	BottomSep	0.8
	Align		Left
	LabelType	Static
	LabelSep	M
	LabelString	"Place Figure here:"
	Font
	  Family	Roman
	  Size		Normal
	  Shape		Italic
	EndFont
End


Style PlaceTable
	Margin		Dynamic
	LatexType	Command
	InTitle		0
	LatexName	placetable
	TopSep		1.2
	ParSkip		0.4
	BottomSep	0.8
	Align		Left
	LabelType	Static
	LabelSep	M
	LabelString	"Place Table here:"
	Font
	  Family	Roman
	  Size		Normal
	  Shape		Italic
	EndFont
End


Style Appendix
	Margin		Dynamic
	LatexType	Command
	LatexName	appendix
	Category	BackMatter
	TopSep		1.2
	ParSkip		0.4
	BottomSep	0.8
	Align		Left
	LabelType	Static
	LabelString	"[Appendix]"
	KeepEmpty	1
	Font
	  Family	Roman
	  Size		Normal
	  Shape		Italic
	EndFont
End


Style MathLetters
	LatexType	Environment
	LatexName	mathletters
	LabelType	No_Label
	Align		Block
	AlignPossible	Block, Left, Right, Center
	Font
	  Size		Normal
	EndFont
End


Style References
	Margin		First_Dynamic
	LatexType	Bib_Environment
	LatexName	thebibliography
	Category	BackMatter
	NextNoIndent	1
	ToggleIndent	Never
	LeftMargin	MM
	ParSkip		0.4
	ItemSep		0
	TopSep		0.7
	BottomSep	0.7
	ParSep		0.5
	LabelType	Bibliography
	LabelString	"References"
	LabelBottomSep	0.7
	Align		Block
	AlignPossible	Block, Left, Right, Center
	LabelFont
	  Family	Roman
	  Size		Normal
	  Series	Bold
	EndFont
End


# Need reordering below here

Style NoteToEditor
	Margin		Dynamic
	LatexType	Command
	InTitle		0
	LatexName	notetoeditor
	TopSep		1.2
	ParSkip		0.4
	BottomSep	0.8
	Align		Left
	AlignPossible	Block, Left, Right, Center
	LabelType	Static
	LabelSep	M
	LabelString	"Note to Editor:"
	Font
	  Family	Roman
	  Size		Normal
	  Shape		Italic
	EndFont
End


Style TableRefs
	Margin		First_Dynamic
	LatexType	Command
	InTitle		0
	LatexName	tablerefs
	TopSep		1.2
	ParSkip		0.4
	BottomSep	0.8
	Align		Block
	AlignPossible	Block, Left, Right, Center
	LabelType	Static
        LabelSep	M
	LabelString	"References. ---"
	Font
	  Family	Roman
	  Size		Normal
	EndFont
End


Style TableComments
	Margin		First_Dynamic
	LatexType	Command
	InTitle		0
	LatexName	tablecomments
	TopSep		1.2
	ParSkip		0.4
	BottomSep	0.8
	Align		Block
	AlignPossible	Block, Left, Right, Center
	LabelType	Static
        LabelSep	M
	LabelString	"Note. ---"
	Font
	  Family	Roman
	  Size		Normal
	EndFont
End


Style "Table note"
	Margin		Dynamic
	LatexType	Command
	LatexName	tablenotetext
	ParSkip		0.4
	Align		Block
	LabelSep	xx
	LabelType	Static
	LabelString	"Table note:"
	LabelFont
	  Color		magenta
	EndFont
End


InsetLayout "Flex:tablenotemark"
	LyxType		custom
	LatexType	command
	LatexName	tablenotemark
	LabelString	"tablenote mark"
	Font
	  Color		foreground
	  Size		Small
	  Family	Roman
	  Shape		Up
	  Series	Medium
	  Misc		No_Emph
	  Misc		No_Noun
	  Misc		No_Bar
	EndFont
	LabelFont
	  Color		magenta
	  Size		Small
	EndFont
End


InsetLayout Caption:FigCaption
	LabelString	fig.
	LaTeXType	command
	LatexName	figcaption
	MultiPar        false
	Argument 1
	  LabelString	"Filename"
	  Tooltip	"Filename to identify the corresponding figure file"
	EndArgument
	HTMLStyle
		div.float-caption {
			text-align: center;
			border: 2px solid black;
			padding: 1ex;
			margin: 1ex;
		}
	EndHTMLStyle
	HTMLAttr "class='float-caption float-caption-figcaption'"
End


# Facility style definition
Style Facility
	LeftMargin	MMM
	Margin		Dynamic
	LatexType	Command
	InTitle		0
	LatexName	facility
	ParSkip		0.4
	BottomSep	0.4
	Align		Block
	AlignPossible	Block, Left, Right, Center
	LabelType	Static
	LabelSep	M
	LabelString	"Facility:"
	Font
	  Family	Roman
	  Shape		Up
	  Size		Normal
	EndFont
	LabelFont
	  Family	Roman
	  Shape		Italic
	  Size		Normal
	EndFont
End

# Objectname style definition
Style Objectname
	LeftMargin	MMM
	Margin		Dynamic
	LatexType	Command
	InTitle		0
	LatexName	objectname
	ParSkip		0.4
	BottomSep	0.4
	Align		Block
	AlignPossible	Block, Left, Right, Center
	LabelType	Static
	LabelSep	M
	LabelString	"Obj:"
	Argument 1
	  LabelString	"Recognized Name"
	  Tooltip	"Separate the recognized name of an object from text"
	EndArgument
	Font
	  Family	Roman
	  Shape		Up
	  Size		Normal
	EndFont
	LabelFont
	  Family	Roman
	  Shape		Italic
	  Size		Normal
	EndFont
End

# Dataset style definition
Style Dataset
	LeftMargin	MMM
	Margin		Dynamic
	LatexType	Command
	InTitle		0
	LatexName	dataset
	ParSkip		0.4
	BottomSep	0.4
	Align		Block
	AlignPossible	Block, Left, Right, Center
	LabelType	Static
	LabelSep	M
	LabelString	"Dataset:"
	Argument 1
	  LabelString	"Recognized Name"
	  Tooltip	"Separate the dataset ID from text"
	EndArgument
	Font
	  Family	Roman
	  Shape		Up
	  Size		Normal
	EndFont
	LabelFont
	  Family	Roman
	  Shape		Italic
	  Size		Normal
	EndFont
End