1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
7 lsrtags
= "editorial-annotations, vocal-music"
10 This example shows how to put crosses on stems. Mark the beginning of
11 a spoken section with the @code{\\speakOn} keyword, and end it with the
12 @code{\\speakOff} keyword.
15 doctitle
= "Marking notes of spoken parts with a cross on the stem"
19 \override Stem
#'stencil
= #(lambda
(grob
)
20 (let
* ((x-parent
(ly
:grob-parent grob X
))
21 (is-rest?
(ly
:grob?
(ly
:grob-object x-parent
'rest
))))
24 (ly
:stencil-combine-at-edge
27 (-
(ly
:grob-property grob
'direction
))
28 (grob-interpret-markup grob
29 (markup
#:hspace -
1.025 #:fontsize -
4
30 #:musicglyph
"noteheads.s2cross"))
35 \revert Stem
#'stencil