This file is indexed.

/usr/share/lyx/layouts/chess.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
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[article,calc.sty,lambda.sty,lyxskak.sty,pst-node.sty]{Chess}
#  \DeclareCategory{Articles}
# chess article textclass definition file.

# This layout file was designed to allow easy access to all
# the cool features of the skak package for chess notation.
#
# Author : Kayvan A. Sylvan <kayvan@sylvan.com>
#
# Remaining minor problem:
#
# Sometimes there is too much space under a \showboard, especially
# if you use some of the ornamentation commands (\printknightmove,
# \highlight or \printarrow). For now, a workaround for the problem
# is to insert (using ERT) a \vspace* command (for example,
# \vspace*{-0.5in})
#

Format 60

Requires	chess

Preamble
	%%% initialize board
	\newgame
EndPreamble

# To be filled in later. This makes Standard first on the list of layouts.
Style Standard
End

# This is the main line of the chess game. Use PGN notation here.
# Also, this layout can be continued with Control-Enter without
# starting a new paragraph.
Style Mainline
	LatexType             Command
	LatexName             mainline
	Margin                Static
	LeftMargin            MMMMMMM
	Labeltype             Static
	LabelSep              M
	LabelString           "Mainline:"
	Newline               0
	PassThru              1
	ParbreakIsNewline     1
	TopSep                0.0
	ParSep                0.0
	LabelFont
	  Color               blue
	  Series              bold
	EndFont
	TextFont
	  Color               blue
	EndFont
End


# This is a variation. It shows up in the normal fashion (styleB).
# You are free to redefine it by making a new \variationstyle
# as talked about in the skak documentation.
Style Variation
	CopyStyle             Mainline
	LatexType             Command
	LatexName             lyxvariation[1]
	LabelString           "Variation:"
	LeftMargin            MMMMMMMMM
End


# This is a subvariation.
Style SubVariation
	CopyStyle             Variation
	LatexName             lyxvariation[2]
	LabelString           "Subvariation:"
	LeftMargin            MMMMMMMMMMMM
End


# This is a subsubvariation.
Style SubVariation2
	CopyStyle             Variation
	LatexName             lyxvariation[3]
	LabelString           "Subvariation(2):"
	LeftMargin            MMMMMMMMMMMMMMM
End


# This is a subsubsubvariation.
Style SubVariation3
	CopyStyle             Variation
	LatexName             lyxvariation[4]
	LabelString           "Subvariation(3):"
	LeftMargin            MMMMMMMMMMMMMMMMMM
End


# This is a subsubsubsubvariation.
Style SubVariation4
	CopyStyle             Variation
	LatexName             lyxvariation[5]
	LabelString           "Subvariation(4):"
	LeftMargin            MMMMMMMMMMMMMMMMMMMMM
End


# This is a subsubsubsubsubvariation.
Style SubVariation5
	CopyStyle             Variation
	LatexName             lyxvariation[6]
	LabelString           "Subvariation(5):"
	LeftMargin            MMMMMMMMMMMMMMMMMMMMMMMM
End


# Same as mainline, but it does not print the moves (only updates the
# board position.
Style HideMoves
	CopyStyle             Mainline
	LatexName             hidemoves
	LeftMargin            "HideMoves:M"
	LabelSep              M
	LabelString           "HideMoves:"
End


# This simply prints a block left chessboard.
Style ChessBoard
	CopyStyle             Mainline
	LatexType             Command
	LatexName             showboard
	LabelString           "[chessboard]"
	KeepEmpty             1
	LabelFont
	  Color               red
	EndFont
End


# This prints a centered chessboard.
Style BoardCentered
	CopyStyle              Mainline
	LatexType              Command
	LatexName              [\showboard\]
	LeftMargin             MMMMMMMMMMMMMM
	LabelString            "[centered board]"
	KeepEmpty              1
	LabelFont
	  Color                red
	EndFont
End


# This should be a list of comma-separated chessboard squares.
# Should be placed after a ChessBoard or BoardCentered.
Style HighLight
	CopyStyle             Mainline
	LatexType             Command
	LatexName             lyxhighlight
	LeftMargin            MMMMMMMM
	LabelString           "Highlights:"
	LabelFont
	  Color               black
	  Series              Bold
	  Shape               SmallCaps
	EndFont
	TextFont
	  Series              Bold
	  Color               black
	EndFont
End


# This should be a list of two squares with an ascii arrow (a1->c3)
# Should be placed after a ChessBoard or BoardCentered.
Style Arrow
	CopyStyle             HighLight
	LatexType             Command
	LatexName             lyxprintarrow
	LeftMargin            MMMMMMMM
	LabelString           "Arrow:"
End


# This should be a list of two chessboard squares (again, like g1->e2)
# Should be placed after a ChessBoard or BoardCentered.
Style KnightMove
	CopyStyle             Arrow
	LatexType             Command
	LatexName             lyxknightmove
	LeftMargin            MMMMMMMM
	LabelString           "KnightMove:"
End

Input article.layout