This file is indexed.

/usr/share/lilypond/2.16.2/ly/property-init.ly is in lilypond-data 2.16.2-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
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
% property-init.ly

\version "2.16.0"

%% for dashed slurs, phrasing slurs, and ties
#(define (make-simple-dash-definition dash-fraction dash-period)
    (list (list 0 1 dash-fraction dash-period)))

%% common definition for all note head styles reverting
%% (palm mute, harmonics, dead notes, ...)
defaultNoteHeads =
#(define-music-function (parser location) ()
   (_i "Revert to the default note head style.")
   (revert-head-style '(NoteHead TabNoteHead)))


accidentalStyle =
#(define-music-function
   (parser location context style) ((symbol?) string?)
   (_i "Set accidental style to @var{style}, a string.  If an optional
@var{context} symbol is given, e.g. @code{#'Staff} or @code{#'Voice},
the settings are applied to that context.  Otherwise, the context
defaults to @samp{Staff}, except for piano styles, which use
@samp{GrandStaff} as a context." )
   (if context
       (set-accidental-style (string->symbol style) context)
       (set-accidental-style (string->symbol style))))

%% arpeggios

% For drawing vertical chord brackets with \arpeggio
% This is a shorthand for the value of the print-function property
% of either Staff.Arpeggio or PianoStaff.Arpeggio, depending whether
% cross-staff brackets are desired.

arpeggio = #(make-music 'ArpeggioEvent)
arpeggioArrowUp = {
  \revert Arpeggio  #'stencil
  \revert Arpeggio #'X-extent
  \override Arpeggio  #'arpeggio-direction = #UP
}
arpeggioArrowDown = {
  \revert Arpeggio #'stencil
  \revert Arpeggio #'X-extent
  \override Arpeggio  #'arpeggio-direction = #DOWN
}
arpeggioNormal = {
  \revert Arpeggio #'stencil
  \revert Arpeggio #'X-extent
  \revert Arpeggio #'arpeggio-direction
  \revert Arpeggio #'dash-definition
}
arpeggioBracket = {
  \revert Arpeggio #'X-extent
  \override Arpeggio #'stencil = #ly:arpeggio::brew-chord-bracket
}
arpeggioParenthesis = {
  \override Arpeggio #'stencil = #ly:arpeggio::brew-chord-slur
  \override Arpeggio #'X-extent = #ly:grob::stencil-width
  \revert Arpeggio #'dash-definition
}
arpeggioParenthesisDashed = {
  \override Arpeggio #'stencil = #ly:arpeggio::brew-chord-slur
  \override Arpeggio #'X-extent = #ly:grob::stencil-width
  \override Arpeggio #'dash-definition = #'((0 1 0.4 0.75))
}


%% auto beaming

autoBeamOn  = \set autoBeaming = ##t
autoBeamOff = \set autoBeaming = ##f


%% balloon length

balloonLengthOn = {
  \override BalloonTextItem #'extra-spacing-width = #'(0 . 0)
  \override BalloonTextItem #'extra-spacing-height = #'(-inf.0 . +inf.0)
}
balloonLengthOff = {
  \override BalloonTextItem #'extra-spacing-width = #'(+inf.0 . -inf.0)
  \override BalloonTextItem #'extra-spacing-height = #'(0 . 0)
}


%% bass figures

bassFigureExtendersOn = {
  \set useBassFigureExtenders = ##t
  \set Staff.useBassFigureExtenders = ##t
}
bassFigureExtendersOff = {
  \set useBassFigureExtenders = ##f
  \set Staff.useBassFigureExtenders = ##f
}
bassFigureStaffAlignmentDown =
  \override Staff.BassFigureAlignmentPositioning #'direction = #DOWN
bassFigureStaffAlignmentUp =
  \override Staff.BassFigureAlignmentPositioning #'direction = #UP
bassFigureStaffAlignmentNeutral =
  \revert Staff.BassFigureAlignmentPositioning #'direction


%% cadenzas

cadenzaOn  = {
  \set Timing.timing = ##f
  \set Timing.autoBeaming = ##f
}

cadenzaOff = {
  \set Timing.timing = ##t
  \set Timing.measurePosition = #ZERO-MOMENT
  \set Timing.autoBeaming = ##t
}


%% chord names

frenchChords = {
  \set chordRootNamer = #(chord-name->italian-markup #t)
  \set chordPrefixSpacer = #0.4
}
germanChords = {
  \set chordRootNamer = #(chord-name->german-markup #t)
  \set chordNoteNamer = #note-name->german-markup
}
semiGermanChords = {
  \set chordRootNamer = #(chord-name->german-markup #f)
  \set chordNoteNamer = #note-name->german-markup
}
italianChords = {
  \set chordRootNamer = #(chord-name->italian-markup #f)
  \set chordPrefixSpacer = #0.4
}
powerChords = {
  \set chordNameExceptions = #powerChordExceptions
}


%% compressFullBarRests

compressFullBarRests = \set Score.skipBars = ##t
expandFullBarRests   = \set Score.skipBars = ##f


%% dots

dotsUp      = \override Dots #'direction = #UP
dotsDown    = \override Dots #'direction = #DOWN
dotsNeutral = \revert Dots #'direction


%% dynamics

dynamicUp = {
  \override DynamicText #'direction = #UP
  \override DynamicLineSpanner #'direction = #UP
}
dynamicDown = {
  \override DynamicText #'direction = #DOWN
  \override DynamicLineSpanner #'direction = #DOWN
}
dynamicNeutral = {
  \revert DynamicText #'direction
  \revert DynamicLineSpanner #'direction
}


%% easy heads

easyHeadsOn = {
  \override NoteHead #'stencil = #note-head::brew-ez-stencil
  \override NoteHead #'font-size = #-8
  \override NoteHead #'font-family = #'sans
  \override NoteHead #'font-series = #'bold
}
easyHeadsOff = {
  \revert NoteHead #'stencil
  \revert NoteHead #'font-size
  \revert NoteHead #'font-family
  \revert NoteHead #'font-series
}


%% endincipit

%% End the incipit and print a ``normal line start''.
endincipit = \context Staff {
  \partial 16 s16  % Hack to handle e.g. \bar ".|" \endincipit
  \once \override Staff.Clef #'full-size-change = ##t
  \once \override Staff.Clef #'non-default = ##t
  \bar ""
}


%% fermata markup

fermataMarkup =
#(make-music 'MultiMeasureTextEvent
             'tweaks (list
                      ;; Set the 'text based on the 'direction
                      (cons 'text (lambda (grob)
                                    (if (eq? (ly:grob-property grob 'direction) DOWN)
                                        (markup #:musicglyph "scripts.dfermata")
                                        (markup #:musicglyph "scripts.ufermata"))))
                      (cons 'outside-staff-priority 40)
                      (cons 'outside-staff-padding 0)))

%% font sizes

teeny      = \set fontSize = #-3
tiny       = \set fontSize = #-2
small      = \set fontSize = #-1
normalsize = \set fontSize = #0
large      = \set fontSize = #1
huge       = \set fontSize = #2


%% glissando

glissando = #(make-music 'GlissandoEvent)


%% harmonics

harmonicsOn =
#(define-music-function (parser location) ()
   (_i "Set the default note head style to a diamond-shaped style.")
   (override-head-style '(NoteHead TabNoteHead) 'harmonic))
harmonicsOff = \defaultNoteHeads
harmonicNote =
#(define-music-function (parser location note) (ly:music?)
   (_i "Print @var{note} with a diamond-shaped note head.")
   (style-note-heads 'NoteHead 'harmonic note))


%% hideNotes

hideNotes = {
  % hide notes, accidentals, etc.
  \override Dots #'transparent = ##t
  \override NoteHead #'transparent = ##t
  \override NoteHead #'no-ledgers = ##t
  \override Stem #'transparent = ##t
  \override Flag #'transparent = ##t
  \override Beam #'transparent = ##t
  \override Accidental #'transparent = ##t
  \override Rest #'transparent = ##t
  \override TabNoteHead #'transparent = ##t
}
unHideNotes = {
  \revert Accidental #'transparent
  \revert Beam #'transparent
  \revert Stem #'transparent
  \revert Flag #'transparent
  \revert NoteHead #'transparent
  \revert NoteHead #'no-ledgers
  \revert Dots #'transparent
  \revert Rest #'transparent
  \revert TabNoteHead #'transparent
}


%% improvisation

improvisationOn = {
  \set squashedPosition = #0
  \override NoteHead #'style = #'slash
  \override Accidental #'stencil = ##f
  \override AccidentalCautionary #'stencil = ##f
}
improvisationOff = {
  \unset squashedPosition
  \revert NoteHead #'style
  \revert Accidental #'stencil
  \revert AccidentalCautionary #'stencil
}


%% merging

mergeDifferentlyDottedOn =
  \override Staff.NoteCollision #'merge-differently-dotted = ##t
mergeDifferentlyDottedOff =
  \revert Staff.NoteCollision #'merge-differently-dotted
mergeDifferentlyHeadedOn =
  \override Staff.NoteCollision #'merge-differently-headed = ##t
mergeDifferentlyHeadedOff =
  \revert Staff.NoteCollision #'merge-differently-headed


%% numeric time signature

numericTimeSignature = \override Staff.TimeSignature #'style = #'numbered
defaultTimeSignature = \revert Staff.TimeSignature #'style


%% palm mutes

palmMuteOn =
#(define-music-function (parser location) ()
   (_i "Set the default note head style to a triangle-shaped style.")
   (override-head-style 'NoteHead 'do))
palmMuteOff = \defaultNoteHeads
palmMute =
#(define-music-function (parser location note) (ly:music?)
   (_i "Print @var{note} with a triangle-shaped note head.")
   (style-note-heads 'NoteHead 'do note))


%% phrasing slurs

% directions
phrasingSlurUp      = \override PhrasingSlur #'direction = #UP
phrasingSlurDown    = \override PhrasingSlur #'direction = #DOWN
phrasingSlurNeutral = \revert PhrasingSlur #'direction

% dash-patterns (make-simple-dash-definition defined at top of file)
phrasingSlurDashPattern =
#(define-music-function (parser location dash-fraction dash-period)
   (number? number?)
   (_i "Set up a custom style of dash pattern for @var{dash-fraction} ratio of
line to space repeated at @var{dash-period} interval for phrasing slurs.")
  #{
     \override PhrasingSlur #'dash-definition =
       $(make-simple-dash-definition dash-fraction dash-period)
  #})
phrasingSlurDashed =
  \override PhrasingSlur #'dash-definition = #'((0 1 0.4 0.75))
phrasingSlurDotted =
  \override PhrasingSlur #'dash-definition = #'((0 1 0.1 0.75))
phrasingSlurHalfDashed =
  \override PhrasingSlur #'dash-definition = #'((0 0.5 0.4 0.75)
						(0.5 1 1 1))
phrasingSlurHalfSolid =
  \override PhrasingSlur #'dash-definition = #'((0 0.5 1 1)
						(0.5 1 0.4 0.75))
phrasingSlurSolid =
  \revert PhrasingSlur #'dash-definition


%% point and click

pointAndClickOn  =
#(define-music-function (parser location) ()
   (_i "Enable generation of code in final-format (e.g. pdf) files to reference the
originating lilypond source statement;
this is helpful when developing a score but generates bigger final-format files.")
   (ly:set-option 'point-and-click #t)
   (make-music 'SequentialMusic 'void #t))

pointAndClickOff =
#(define-music-function (parser location) ()
   (_i "Suppress generating extra code in final-format (e.g. pdf) files to point
back to the lilypond source statement.")
   (ly:set-option 'point-and-click #f)
   (make-music 'SequentialMusic 'void #t))

pointAndClickTypes =
#(define-void-function (parser location types) (list-or-symbol?)
  (_i "Set a type or list of types (such as @code{#'note-event}) for which point-and-click info is generated.")
  (ly:set-option 'point-and-click types))

%% predefined fretboards

predefinedFretboardsOff =
  \set predefinedDiagramTable = ##f
predefinedFretboardsOn =
  \set predefinedDiagramTable = #default-fret-table


%% shape note heads

aikenHeads      = \set shapeNoteStyles = #'#(do re miMirror fa sol la ti)
aikenHeadsMinor = \set shapeNoteStyles = #'#(la ti do re miMirror fa sol)
funkHeads =
  \set shapeNoteStyles = #'#(doFunk reFunk miFunk faFunk solFunk laFunk tiFunk)
funkHeadsMinor =
  \set shapeNoteStyles = #'#(laFunk tiFunk doFunk reFunk miFunk faFunk solFunk)
sacredHarpHeads = \set shapeNoteStyles = #'#(fa sol la fa sol la mi)
sacredHarpHeadsMinor = \set shapeNoteStyles = #'#(la mi fa sol la fa sol)
southernHarmonyHeads =
  \set shapeNoteStyles = #'#(faThin sol laThin faThin sol laThin miThin)
southernHarmonyHeadsMinor =
  \set shapeNoteStyles = #'#(laThin miThin faThin sol laThin faThin sol)
walkerHeads =
  \set shapeNoteStyles = #'#(doWalker reWalker miWalker faWalker solFunk laWalker tiWalker)
walkerHeadsMinor =
  \set shapeNoteStyles = #'#(laWalker tiWalker doWalker reWalker miWalker faWalker solFunk)


%% shifts

shiftOn   = \override NoteColumn #'horizontal-shift = #1
shiftOnn  = \override NoteColumn #'horizontal-shift = #2
shiftOnnn = \override NoteColumn #'horizontal-shift = #3
shiftOff  = \revert NoteColumn #'horizontal-shift


%% slurs

% directions
slurUp         = \override Slur #'direction = #UP
slurDown       = \override Slur #'direction = #DOWN
slurNeutral    = \revert Slur #'direction

% dash-patterns (make-simple-dash-definition defined at top of file)
slurDashPattern =
#(define-music-function (parser location dash-fraction dash-period)
  (number? number?)
  (_i "Set up a custom style of dash pattern for @var{dash-fraction}
ratio of line to space repeated at @var{dash-period} interval for slurs.")
  #{
     \override Slur #'dash-definition =
       $(make-simple-dash-definition dash-fraction dash-period)
  #})
slurDashed     = \override Slur #'dash-definition = #'((0 1 0.4 0.75))
slurDotted     = \override Slur #'dash-definition = #'((0 1 0.1 0.75))
slurHalfDashed = \override Slur #'dash-definition = #'((0 0.5 0.4 0.75)
						       (0.5 1 1 1))
slurHalfSolid  = \override Slur #'dash-definition = #'((0 0.5 1 1)
						       (0.5 1 0.4 0.75))
slurSolid      = \revert Slur #'dash-definition


%% staff switches

showStaffSwitch = \set followVoice = ##t
hideStaffSwitch = \set followVoice = ##f


%% stems

stemUp      = \override Stem #'direction = #UP
stemDown    = \override Stem #'direction = #DOWN
stemNeutral = \revert Stem #'direction


%% tablature

% switch to full notation
tabFullNotation = {
  % time signature
  \revert TabStaff.TimeSignature #'stencil
  % stems (the half note gets a double stem)
  \revert TabVoice.Stem #'length
  \revert TabVoice.Stem #'no-stem-extend
  \revert TabVoice.Flag #'style
  \revert TabVoice.Stem #'details
  \revert TabVoice.Stem #'stencil
  \revert TabVoice.Flag #'stencil
  \override TabVoice.Stem #'stencil = #tabvoice::draw-double-stem-for-half-notes
  \override TabVoice.Stem #'X-extent = #tabvoice::make-double-stem-width-for-half-notes
  \set TabVoice.autoBeaming = ##t
  \revert TabVoice.NoteColumn #'ignore-collision
  % beams, dots
  \revert TabVoice.Beam #'stencil
  \revert TabVoice.StemTremolo #'stencil
  \revert TabVoice.Dots #'stencil
  \revert TabVoice.Tie #'stencil
  \revert TabVoice.Tie #'after-line-breaking
  \revert TabVoice.RepeatTie #'stencil
  \revert TabVoice.RepeatTie #'after-line-breaking
  \revert TabVoice.LaissezVibrerTie #'stencil
  \revert TabVoice.Slur #'stencil
  \revert TabVoice.PhrasingSlur #'stencil
  % tuplet stuff
  \revert TabVoice.TupletBracket #'stencil
  \revert TabVoice.TupletNumber #'stencil
  % dynamic signs
  \revert TabVoice.DynamicText #'stencil
  \revert TabVoice.DynamicTextSpanner #'stencil
  \revert TabVoice.DynamicTextSpanner #'stencil
  \revert TabVoice.Hairpin #'stencil
  % rests
  \revert TabVoice.Rest #'stencil
  \revert TabVoice.MultiMeasureRest #'stencil
  \revert TabVoice.MultiMeasureRestNumber #'stencil
  \revert TabVoice.MultiMeasureRestText #'stencil
  % markups etc.
  \revert TabVoice.Glissando #'stencil
  \revert TabVoice.Script #'stencil
  \revert TabVoice.TextScript #'stencil
  \revert TabVoice.TextSpanner #'stencil
  \revert TabStaff.Arpeggio #'stencil
  \revert TabStaff.NoteColumn #'ignore-collision
}

%tie/repeat tie behaviour
hideSplitTiedTabNotes = {
  \override TabVoice.TabNoteHead #'(details tied-properties break-visibility) = #all-invisible
  \override TabVoice.TabNoteHead #'(details tied-properties parenthesize) = ##f
  \override TabVoice.TabNoteHead #'(details repeat-tied-properties note-head-visible) = ##f
  \override TabVoice.TabNoteHead #'(details repeat-tied-properties parenthesize) = ##f
}

showSplitTiedTabNotes = {
  \override TabVoice.TabNoteHead #'(details tied-properties break-visibility) = #begin-of-line-visible
  \override TabVoice.TabNoteHead #'(details tied-properties parenthesize) = ##t
  \override TabVoice.TabNoteHead #'(details repeat-tied-properties note-head-visible) = ##t
  \override TabVoice.TabNoteHead #'(details repeat-tied-properties parenthesize) = ##t
}

%% text length

textLengthOn = {
  \override TextScript #'extra-spacing-width = #'(0 . 0)
  \override TextScript #'extra-spacing-height = #'(-inf.0 . +inf.0)
}
textLengthOff = {
  \override TextScript #'extra-spacing-width = #'(+inf.0 . -inf.0)
  \override TextScript #'extra-spacing-height = #'(0 . 0)
}


%% text spanners

textSpannerUp      = \override TextSpanner #'direction = #UP
textSpannerDown    = \override TextSpanner #'direction = #DOWN
textSpannerNeutral = \revert TextSpanner #'direction


%% ties

% directions
tieUp      = \override Tie #'direction = #UP
tieDown    = \override Tie #'direction = #DOWN
tieNeutral = \revert Tie #'direction

% dash-patterns (make-simple-dash-definition defined at top of file)
tieDashPattern =
#(define-music-function (parser location dash-fraction dash-period)
  (number? number?)
  (_i "Set up a custom style of dash pattern for @var{dash-fraction}
ratio of line to space repeated at @var{dash-period} interval for ties.")
  #{
     \override Tie #'dash-definition =
       $(make-simple-dash-definition dash-fraction dash-period)
  #})
tieDashed     = \override Tie #'dash-definition = #'((0 1 0.4 0.75))
tieDotted     = \override Tie #'dash-definition = #'((0 1 0.1 0.75))
tieHalfDashed = \override Tie #'dash-definition = #'((0 0.5 0.4 0.75)
						     (0.5 1 1 1))
tieHalfSolid  = \override Tie #'dash-definition = #'((0 0.5 1 1)
						     (0.5 1 0.4 0.75))
tieSolid      = \revert Tie #'dash-definition


%% tuplets

tupletUp      = \override TupletBracket #'direction = #UP
tupletDown    = \override TupletBracket #'direction = #DOWN
tupletNeutral = \revert TupletBracket #'direction


%% voice properties

% dynamic ly:dir?  text script, articulation script ly:dir?
voiceOne   = #(context-spec-music (make-voice-props-set 0)  'Voice)
voiceTwo   = #(context-spec-music (make-voice-props-set 1)  'Voice)
voiceThree = #(context-spec-music (make-voice-props-set 2)  'Voice)
voiceFour  = #(context-spec-music (make-voice-props-set 3)  'Voice)
oneVoice   = #(context-spec-music (make-voice-props-revert) 'Voice)


%% voice styles

voiceOneStyle = {
  \override NoteHead #'style = #'diamond
  \override NoteHead #'color = #red
  \override Stem #'color = #red
  \override Flag #'color = #red
  \override Beam #'color = #red
}
voiceTwoStyle = {
  \override NoteHead #'style = #'triangle
  \override NoteHead #'color = #blue
  \override Stem #'color = #blue
  \override Flag #'color = #blue
  \override Beam #'color = #blue
}
voiceThreeStyle = {
  \override NoteHead #'style = #'xcircle
  \override NoteHead #'color = #green
  \override Stem #'color = #green
  \override Flag #'color = #green
  \override Beam #'color = #green
}
voiceFourStyle = {
  \override NoteHead #'style = #'cross
  \override NoteHead #'color = #magenta
  \override Stem #'color = #magenta
  \override Flag #'color = #magenta
  \override Beam #'color = #magenta
}
voiceNeutralStyle = {
  \revert NoteHead #'style
  \revert NoteHead #'color
  \revert Stem #'color
  \revert Flag #'color
  \revert Beam #'color
}


%% x notes

xNotesOn =
#(define-music-function (parser location) ()
   (_i "Set the default note head style to a cross-shaped style.")
   (override-head-style '(TabNoteHead NoteHead) 'cross))
xNotesOff = \defaultNoteHeads
xNote =
#(define-music-function (parser location note) (ly:music?)
   (_i "Print @var{note} with a cross-shaped note head.")
   (style-note-heads '(TabNoteHead NoteHead) 'cross note))


%% dead notes (these need to come after "x notes")

% Define aliases of cross-head notes for specific purposes
deadNotesOn  = \xNotesOn
deadNotesOff = \xNotesOff
deadNote     = #xNote