]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/flute-slap-notation.ly
Imported Upstream version 2.18.0
[lilypond.git] / Documentation / snippets / flute-slap-notation.ly
index b239a2036d266a37a4e5982a6b0cd31d310bcee2..fb387f9b69d739bdaede5326c280368a491d9979 100644 (file)
@@ -4,7 +4,7 @@
 %% and then run scripts/auxiliar/makelsr.py
 %%
 %% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
 
 \header {
   lsrtags = "contemporary-notation, winds"
@@ -22,11 +22,11 @@ glyph.
 slap =
 #(define-music-function (parser location music) (ly:music?)
 #{
-  \override NoteHead #'stencil =
+  \override NoteHead.stencil =
   #(lambda (grob)
      (grob-interpret-markup grob
       (markup #:musicglyph "scripts.sforzato")))
-  \override NoteHead #'stem-attachment =
+  \override NoteHead.stem-attachment =
   #(lambda (grob)
      (let* ((thickness (ly:staff-symbol-line-thickness grob))
             (stem (ly:grob-object grob 'stem))
@@ -36,8 +36,8 @@ slap =
                       0)
                   (/ thickness 2)))))
   $music
-  \revert NoteHead #'stencil
-  \revert NoteHead #'stem-attachment
+  \revert NoteHead.stencil
+  \revert NoteHead.stem-attachment
 #})
 
 \relative c' {