]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/marking-notes-of-spoken-parts-with-a-cross-on-the-stem.ly
Merge remote-tracking branch 'origin/master' into translation
[lilypond.git] / Documentation / snippets / marking-notes-of-spoken-parts-with-a-cross-on-the-stem.ly
index b44968531f948bdd60929d3db36af05063148b4a..31d0b8505b8fb6af99c4289a03691ccc92bb4cf8 100644 (file)
@@ -1,22 +1,13 @@
 %% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
 %% and then run scripts/auxiliar/makelsr.py
 %%
 %% This file is in the public domain.
-\version "2.15.40"
+\version "2.18.0"
 
 \header {
-  lsrtags = "workaround, contemporary-notation, vocal-music, editorial-annotations"
-
-%% Translation of GIT committish: 57f9346bb030f49336a858fcbf1519366fe56454
-  texidocfr = "
-Voici comment ajouter une croix aux hampes.  Le début du fragment parlé
-est stipulé par une commande @code{\\speakOn}, et la fin par une
-commande @code{\\speakOff}.
-
-"
-  doctitlefr = "Adjonction d'une croix sur la hampe des notes d'un fragment parlé"
+  lsrtags = "contemporary-notation, editorial-annotations, vocal-music, workaround"
 
   texidoc = "
 This example shows how to put crosses on stems.  Mark the beginning of
@@ -27,9 +18,8 @@ a spoken section with the @code{\\speakOn} keyword, and end it with the
   doctitle = "Marking notes of spoken parts with a cross on the stem"
 } % begin verbatim
 
-
 speakOn = {
-  \override Stem #'stencil =
+  \override Stem.stencil =
     #(lambda (grob)
        (let* ((x-parent (ly:grob-parent grob X))
               (is-rest? (ly:grob? (ly:grob-object x-parent 'rest))))
@@ -46,8 +36,8 @@ speakOn = {
 }
 
 speakOff = {
-  \revert Stem #'stencil
-  \revert Flag #'stencil
+  \revert Stem.stencil
+  \revert Flag.stencil
 }
 
 \score {
@@ -62,4 +52,3 @@ speakOff = {
     }
   }
 }
-