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 = "workaround, contemporary-notation, vocal-music, editorial-annotations"
12 %% Translation of GIT committish: 57f9346bb030f49336a858fcbf1519366fe56454
14 Voici comment ajouter une croix aux hampes. Le début du fragment parlé
15 est stipulé par une commande @code{\\speakOn}, et la fin par une
16 commande @code{\\speakOff}.
19 doctitlefr = "Adjonction d'une croix sur la hampe des notes d'un fragment parlé"
22 This example shows how to put crosses on stems. Mark the beginning of
23 a spoken section with the @code{\\speakOn} keyword, and end it with the
24 @code{\\speakOff} keyword.
27 doctitle = "Marking notes of spoken parts with a cross on the stem"
32 \override Stem #'stencil =
34 (let* ((x-parent (ly:grob-parent grob X))
35 (is-rest? (ly:grob? (ly:grob-object x-parent 'rest))))
38 (ly:stencil-combine-at-edge
41 (- (ly:grob-property grob 'direction))
42 (grob-interpret-markup grob
43 (markup #:center-align #:fontsize -4
44 #:musicglyph "noteheads.s2cross"))
49 \revert Stem #'stencil
50 \revert Flag #'stencil