This file is indexed.

/usr/share/lyx/layouts/memoir.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
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[memoir]{Memoir}
#  \DeclareCategory{Books}
# Memoir textclass definition file
# Author: Jürgen Spitzmüller <spitz@lyx.org>
# Improvements by: Bennett Helm <bennett.helm@fandm.edu>
# feel free to contribute missing features!


Format 60
Columns            1
Sides              2
SecNumDepth        1
TocDepth           1
DefaultStyle       Standard
PageStyle          Headings
Provides makeidx   1
Provides framed    1
Provides subscript 1
# Memoir has support for line spacing, but uses different names from
# what setspace.sty does.  
Provides SetSpace  1


ClassOptions
	FontSize             9|10|11|12|14|17
	PageStyle            empty|plain|headings|myheadings|ruled|Ruled|companion
	Other                oldfontcommands
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


Input stdinsets.inc
Input stdlists.inc
Input stdcounters.inc
Input stdfloats.inc
Input stdsections.inc
Input stdstarsections.inc
Input numreport.inc


Style Part
	Argument 1
		LabelString   "Short Title|S"
		Tooltip       "The part as it appears in the table of contents/running headers"
		InsertCotext   1
	EndArgument
End


Style Chapter
	Argument 1
		LabelString   "Short Title (TOC)|S"
		Tooltip       "The chapter as it appears in the table of contents"
		InsertCotext   1
	EndArgument
	Argument 2
		LabelString   "Short Title (Header)"
		Tooltip       "The chapter as it appears in the running headers"
		InsertCotext  1
		Requires      1
	EndArgument
End


Style Chapter*
	Argument 1
		LabelString   "Short Title (TOC)|S"
		Tooltip       "The chapter as it appears in the table of contents"
		InsertCotext   1
	EndArgument
End


Style Section
	Argument 1
		LabelString   "Short Title (TOC)|S"
		Tooltip       "The section as it appears in the table of contents"
		InsertCotext   1
	EndArgument
	Argument 2
		LabelString   "Short Title (Header)"
		Tooltip       "The section as it appears in the running headers"
		InsertCotext  1
		Requires      1
	EndArgument
End


Style Subsection
	Argument 1
		LabelString   "Short Title (TOC)|S"
		Tooltip       "The subsection as it appears in the table of contents"
		InsertCotext   1
	EndArgument
	Argument 2
		LabelString   "Short Title (Header)"
		Tooltip       "The subsection as it appears in the running headers"
		InsertCotext  1
		Requires      1
	EndArgument
End


Style Subsubsection
	Argument 1
		LabelString   "Short Title (TOC)|S"
		Tooltip       "The subsubsection as it appears in the table of contents"
		InsertCotext   1
	EndArgument
	Argument 2
		LabelString   "Short Title (Header)"
		Tooltip       "The subsubsection as it appears in the running headers"
		InsertCotext  1
		Requires      1
	EndArgument
End


Style Paragraph
	Argument 1
		LabelString   "Short Title (TOC)|S"
		Tooltip       "The paragraph as it appears in the table of contents"
		InsertCotext   1
	EndArgument
	Argument 2
		LabelString   "Short Title (Header)"
		Tooltip       "The paragraph as it appears in the running headers"
		InsertCotext  1
		Requires      1
	EndArgument
End


Style Subparagraph
	Argument 1
		LabelString   "Short Title (TOC)|S"
		Tooltip       "The subparagraph as it appears in the table of contents"
		InsertCotext   1
	EndArgument
	Argument 2
		LabelString   "Short Title (Header)"
		Tooltip       "The subparagraph as it appears in the running headers"
		InsertCotext  1
		Requires      1
	EndArgument
End


Style Chapterprecis
	Margin               Static
	LatexType            Command
	LatexName            chapterprecis
	NeedProtect          1
	NextNoIndent         1
	LeftMargin           MM
	LabelSep             xxx
	ParSkip              0.4
	TopSep               0.4
	BottomSep            0
	ParSep               0.4
	Align                Block
	Font
	  Shape              Italic
	  Size               Normal
	EndFont
End

Style Epigraph
	Category              MainText
	Margin                Right_Address_Box
	LatexType             Command
	LatexName             epigraph
	ParSkip               0.4
	BottomSep             1.5
	ParSep                1.5
	Align                 Left
	Argument post:1
		MenuString    "Epigraph Source|S"
		LabelString   "Source"
		Tooltip       "The source/author of this epigraph"
		Mandatory     1
	EndArgument
	HTMLStyle
		div.epigraph {
			float: right;
			width: 33%;
			font-size: small;
			margin: 0.5em 0em 0.5em 1em;
		}
	EndHTMLStyle
End

Style Poemtitle
	Category              Sectioning
	LatexType             Command
	LatexName             PoemTitle
	NeedProtect           1
	NextNoIndent          1
	LabelSep              xxx
	ParSkip               0.4
	TopSep                0.4
	ParSep                0.4
	Align                 center
	Argument 1
		LabelString   "Short Title (TOC)|S"
		Tooltip       "The poem title as it appears in the table of contents"
		InsertCotext   1
	EndArgument
	Argument 2
		LabelString   "Short Title (Header)"
		Tooltip       "The poem title as it appears in the running headers"
		InsertCotext  1
		Requires      1
	EndArgument
	Font
	   Series             Bold
	EndFont
End


Style Poemtitle*
	CopyStyle             Poemtitle
	Category              Unnumbered
	LatexName             PoemTitle*
	Argument 1
		LabelString   "Short Title (TOC)|S"
		Tooltip       "The poem title as it appears in the table of contents"
		InsertCotext   1
	EndArgument
End


Input stdtitle.inc
Input stdstruct.inc


Style Bibliography
	TopSep               4
	LabelString          "Bibliography"
	LabelFont
	  Series             Bold
	  Size               Huge
	EndFont
End


Input lyxmacros.inc
Input stdlayouts.inc

Style Legend
	Category            MainText
	LatexType           Command
	LatexName           legend
	NeedProtect         1
	NextNoIndent        1
	ParSkip             0.4
	Align               Center
End