1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
6 %% This file is in the public domain.
10 lsrtags = "contemporary-notation, editorial-annotations, vocal-music, workaround"
13 This example shows how to put crosses on stems. Mark the beginning of
14 a spoken section with the @code{\\speakOn} keyword, and end it with the
15 @code{\\speakOff} keyword.
18 doctitle = "Marking notes of spoken parts with a cross on the stem"
23 \override Stem.stencil =
25 (let* ((x-parent (ly:grob-parent grob X))
26 (is-rest? (ly:grob? (ly:grob-object x-parent 'rest))))
29 (ly:stencil-combine-at-edge
32 (- (ly:grob-property grob 'direction))
33 (grob-interpret-markup grob
34 (markup #:center-align #:fontsize -4
35 #:musicglyph "noteheads.s2cross"))