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=9bcbb35a77fee62ea4a032c5cae88e9b362a83de;hb=580faff1d6167b1500228dc5c5ae073dca0ead40;hp=a8e13775180487ed3ea9044ffb6fbbe8e64030fb;hpb=8f6e4647c475ad911e15fdc26493f77e6c4a6088;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 a8e1377518..9bcbb35a77 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,7 +1,7 @@ %% Do not edit this file; it is automatically %% generated from LSR http://lsr.dsi.unimi.it %% This file is in the public domain. -\version "2.13.16" +\version "2.13.39" \header { lsrtags = "editorial-annotations, vocal-music" @@ -16,19 +16,20 @@ a spoken section with the @code{\\speakOn} keyword, and end it with the } % begin verbatim speakOn = { - \override Stem #'stencil = #(lambda (grob) - (let* ((x-parent (ly:grob-parent grob X)) - (is-rest? (ly:grob? (ly:grob-object x-parent 'rest)))) - (if is-rest? - empty-stencil - (ly:stencil-combine-at-edge - (ly:stem::print grob) - Y - (- (ly:grob-property grob 'direction)) - (grob-interpret-markup grob - (markup #:hspace -1.025 #:fontsize -4 - #:musicglyph "noteheads.s2cross")) - -2.3 0)))) + \override Stem #'stencil = + #(lambda (grob) + (let* ((x-parent (ly:grob-parent grob X)) + (is-rest? (ly:grob? (ly:grob-object x-parent 'rest)))) + (if is-rest? + empty-stencil + (ly:stencil-combine-at-edge + (ly:stem::print grob) + Y + (- (ly:grob-property grob 'direction)) + (grob-interpret-markup grob + (markup #:center-align #:fontsize -4 + #:musicglyph "noteheads.s2cross")) + -2.3 0)))) } speakOff = {