X-Git-Url: https://git.donarmstrong.com/lilypond.git?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fflute-slap-notation.ly;h=fb387f9b69d739bdaede5326c280368a491d9979;hb=0ac07f31e0f95fc18e5916ce756b9c746af7cc58;hp=b239a2036d266a37a4e5982a6b0cd31d310bcee2;hpb=2f1263e2ccdddcac2eb9f7d8ce2ed92867d3d160;p=lilypond.git diff --git a/Documentation/snippets/flute-slap-notation.ly b/Documentation/snippets/flute-slap-notation.ly index b239a2036d..fb387f9b69 100644 --- a/Documentation/snippets/flute-slap-notation.ly +++ b/Documentation/snippets/flute-slap-notation.ly @@ -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' {