]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/adding-orchestral-cues-to-a-vocal-score.ly
Issue 5167/1: Reorganize markup commands to use object properties
[lilypond.git] / Documentation / snippets / adding-orchestral-cues-to-a-vocal-score.ly
index f175a9d110435da57c42f3b299953d18068b75dc..a03e901d16899ffa01e5add125a12c3ac4b0c584 100644 (file)
@@ -1,11 +1,10 @@
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.15.20
-\version "2.15.20"
+%% DO NOT EDIT this file manually; it is automatically
+%% 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.19.22"
 
 \header {
   lsrtags = "staff-notation, vocal-music"
@@ -26,15 +25,14 @@ can be cued, but they cannot overlap each other in time.
   doctitle = "Adding orchestral cues to a vocal score"
 } % begin verbatim
 
-
 cueWhile =
 #(define-music-function
-   (parser location instrument name dir music)
+   (instrument name dir music)
    (string? string? ly:dir? ly:music?)
    #{
      \cueDuring $instrument #dir {
-       \once \override TextScript #'self-alignment-X = #RIGHT
-       \once \override TextScript #'direction = $dir
+       \once \override TextScript.self-alignment-X = #RIGHT
+       \once \override TextScript.direction = $dir
        <>-\markup { \tiny #name }
        $music
      }