4 lsrtags = "editorial-annotations, vocal-music"
7 This example shows how to put crosses on stems. Mark the beginning
8 of a spoken section with the @code{\\speakOn} keyword, and end it
9 with the @code{\\speakOff} keyword. Remember to end cross sections
10 before entering any rest: this function also adds crosses to the
11 invisible stems of rests.
13 doctitle = "Marking notes of spoken parts with a cross on the stem"
17 \override Stem #'stencil = #(lambda (grob)
18 (ly:stencil-combine-at-edge
21 (- (ly:grob-property grob 'direction))
22 (grob-interpret-markup grob
23 (markup #:hspace -1.025 #:fontsize -4
24 #:musicglyph "noteheads.s2cross"))
29 \revert Stem #'stencil