This file is indexed.

/usr/share/lyx/layouts/tufte-book.layout is in lyx-common 2.0.3-3.

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
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[tufte-book,bibentry.sty,changepage.sty,fancyhdr.sty,ifmtarg.sty,letterspace.sty,multicol.sty,natbib.sty,optparams.sty,paralist.sty,placeins.sty,ragged2e.sty,setspace.sty,textcase.sty,titlesec.sty,titletoc.sty,xcolor.sty,xifthen.sty,xkeyval.sty]{book (Tufte)}
# tufte-book textclass definition file.
# Jason Waskiewicz <jason.waskiewicz@sendit.nodak.edu>, 2009/10/18
# Modified by Uwe Stöhr <uwestoehr@web.de>, 2009/11/15

Format 35

Provides geometry 1
Provides natbib-internal 1

Sides		2
PageStyle	Headings

ClassOptions
	Other		nohyper
end

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

# import other layouts
Input stdlayouts.inc
Input stdclass.inc

Style Title
	InPreamble	1
End

Style Author
	InPreamble	1
End

Style Date
	InPreamble	1
End

NoStyle Abstract
NoStyle Chapter
NoCounter chapter
NoStyle Section
NoStyle Subsection
NoCounter subsection
NoStyle Subsubsection
NoCounter subsubsection
NoStyle Subsubsection*
NoStyle Paragraph
NoCounter paragraph
NoStyle Paragraph*
NoStyle Subparagraph
NoCounter subparagraph
NoStyle Subparagraph*

Style Chapter
	Margin		Static
	Category	Section
	LabelType	No_Label
	LabelCounter	chapter
	TocLevel	0
	LatexType	Command
	LatexName	chapter
	NeedProtect	1
	NextNoIndent	1
	ParSkip		0.4
	TopSep		4
	BottomSep	0.8
	ParSep		0.8
	Align		Block
	RefPrefix chap
	OptionalArgs	1
	Font
	  Series	Bold
	  Size		Huge
	EndFont
End

Style Section
	Category	Section
	Margin		Dynamic
	LabelType	No_Label
	LabelCounter	section
	TocLevel	1
	LatexType	Command
	LatexName	section
	NeedProtect	1
	NextNoIndent	1
	LabelSep	xxx
	ParSkip		0.4
	TopSep		1.3
	BottomSep	0.7
	ParSep		0.7
	Align		Block
	RefPrefix sec
	OptionalArgs	1
	Font
	  Series	Bold
	  Size		Larger
	EndFont
End

Style Subsection
	CopyStyle	Section
	TocLevel	2
	LatexName	subsection
	TopSep		0.9
	BottomSep	0.5
	ParSep		0.5
	RefPrefix sub
	Font
	  Series	Bold
	  Size		Large
	EndFont
End

InsetLayout Flex:Sidenote
	LyxType		custom
	LatexType	command
	LatexName	sidenote
	Decoration	classic
	LabelString	"sidenote"
	Font
	  Color		foreground
	  Size		Small
	  Misc		No_Emph
	  Misc		No_Noun
	  Misc		No_Bar
	EndFont
	LabelFont
	  Color		marginlabel
	  Size		Small
	EndFont
End

InsetLayout Flex:Marginnote
	CopyStyle	Flex:Sidenote
	LatexName	marginnote
	Decoration	classic
	LabelString	"marginnote"
	Font
	  Family	Roman
	  Shape		Up
	  Series	Medium
	EndFont
	MultiPar	true
End

InsetLayout Flex:NewThought
	LyXType		charstyle
	LatexType	Command
	LatexName	newthought
	LabelString	"new thought"
	Font
	  Shape		SmallCaps
	EndFont
	LabelFont
	  Family	Roman
	  Color		red
	EndFont
End

InsetLayout Flex:AllCaps
	CopyStyle	Flex:NewThought
	LatexName	allcaps
	LabelString	"allcaps"
	Font
	  Shape		Up
	  Misc		Noun
	EndFont
	LabelFont
	  Color		blue
	EndFont
End

InsetLayout Flex:SmallCaps
	CopyStyle	Flex:NewThought
	LatexName	smallcaps
	LabelString	"smallcaps"
	LabelFont
	  Color		green
	EndFont
End

Style Full_Width
	Margin		Static
	LaTeXType	environment
	LaTeXName	fullwidth
	Category	MainText
	NextNoIndent	1
	ParSkip		0
	ItemSep		0
	TopSep		0.5
	BottomSep	0.5
	ParSep		0
	Align		Block
	AlignPossible	Block, Left, Right, Center
	LabelType	No_Label
End

# this steps the counters
Counter		marginfigure
End

Counter		margintable
End

# define the floats
Float
	Type		margintable
	GuiName		MarginTable
	Placement	tbp
	Extension	lot
	NumberWithin	none
	Style		plain
	ListName	"List of Tables"
	ListCommand	listoftables
	IsPredefined true
	UsesFloatPkg false
End

Float
	Type		marginfigure
	GuiName		MarginFigure
	Placement	tbp
	Extension	lof
	NumberWithin	none
	Style		plain
	ListName	"List of Figures"
	ListCommand	listoffigures
	IsPredefined true
	UsesFloatPkg false
End

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