]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/marking-notes-of-spoken-parts-with-a-cross-on-the-stem.ly
resolve merge
[lilypond.git] / input / lsr / marking-notes-of-spoken-parts-with-a-cross-on-the-stem.ly
diff --git a/input/lsr/marking-notes-of-spoken-parts-with-a-cross-on-the-stem.ly b/input/lsr/marking-notes-of-spoken-parts-with-a-cross-on-the-stem.ly
deleted file mode 100644 (file)
index 800d93b..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
-%% This file is in the public domain.
-\version "2.12.3"
-
-\header {
-  lsrtags = "editorial-annotations, vocal-music"
-
-  texidoc = "
-This example shows how to put crosses on stems.  Mark the beginning of
-a spoken section with the @code{\\speakOn} keyword, and end it with the
-@code{\\speakOff} keyword.
-
-"
-  doctitle = "Marking notes of spoken parts with a cross on the stem"
-} % begin verbatim
-
-speakOn = {
-  \override Stem #'stencil = #(lambda (grob)
-    (let* ((x-parent (ly:grob-parent grob X))
-           (is-rest? (ly:grob? (ly:grob-object x-parent 'rest))))
-      (if is-rest?
-        empty-stencil
-        (ly:stencil-combine-at-edge
-          (ly:stem::print grob)
-          Y
-          (- (ly:grob-property grob 'direction))
-          (grob-interpret-markup grob
-            (markup #:hspace -1.025 #:fontsize -4
-              #:musicglyph "noteheads.s2cross"))
-          -2.3 0))))
-}
-
-speakOff = {
-  \revert Stem #'stencil
-}
-
-\score {
-  \new Staff {
-    \relative c'' {
-      a4 b a c
-      \speakOn
-      g4 f r g
-      b4 r d e
-      \speakOff
-      c4 a g f
-    }
-  }
-}
-