X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fmarking-notes-of-spoken-parts-with-a-cross-on-the-stem.ly;h=31d0b8505b8fb6af99c4289a03691ccc92bb4cf8;hb=d9b67cc332fa253ab0679b54873b2f17fc37e099;hp=6e6c6e91340de184de121a88fc12c0cdec224b15;hpb=c833f8a341b81466e084ed031362eadeb4a815aa;p=lilypond.git diff --git a/Documentation/snippets/marking-notes-of-spoken-parts-with-a-cross-on-the-stem.ly b/Documentation/snippets/marking-notes-of-spoken-parts-with-a-cross-on-the-stem.ly index 6e6c6e9134..31d0b8505b 100644 --- a/Documentation/snippets/marking-notes-of-spoken-parts-with-a-cross-on-the-stem.ly +++ b/Documentation/snippets/marking-notes-of-spoken-parts-with-a-cross-on-the-stem.ly @@ -1,13 +1,13 @@ %% DO NOT EDIT this file manually; it is automatically -%% generated from LSR http://lsr.dsi.unimi.it +%% generated from LSR http://lsr.di.unimi.it %% Make any changes in LSR itself, or in Documentation/snippets/new/ , %% and then run scripts/auxiliar/makelsr.py %% %% This file is in the public domain. -\version "2.15.32" +\version "2.18.0" \header { - lsrtags = "vocal-music, editorial-annotations, workaround, contemporary-notation" + lsrtags = "contemporary-notation, editorial-annotations, vocal-music, workaround" texidoc = " This example shows how to put crosses on stems. Mark the beginning of @@ -18,9 +18,8 @@ a spoken section with the @code{\\speakOn} keyword, and end it with the doctitle = "Marking notes of spoken parts with a cross on the stem" } % begin verbatim - speakOn = { - \override Stem #'stencil = + \override Stem.stencil = #(lambda (grob) (let* ((x-parent (ly:grob-parent grob X)) (is-rest? (ly:grob? (ly:grob-object x-parent 'rest)))) @@ -37,8 +36,8 @@ speakOn = { } speakOff = { - \revert Stem #'stencil - \revert Flag #'stencil + \revert Stem.stencil + \revert Flag.stencil } \score { @@ -53,4 +52,3 @@ speakOff = { } } } -