]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/adding-orchestral-cues-to-a-vocal-score.ly
Doc: run makelsr locally
[lilypond.git] / Documentation / snippets / adding-orchestral-cues-to-a-vocal-score.ly
index ce93b59f8a74701d76fb7c47c354d5a8c514e715..9ee495e2a0ffe56ce442a6d25744b870002946a2 100644 (file)
@@ -1,15 +1,14 @@
-%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.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.12.2"
+% 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"
 
 \header {
-  lsrtags = "staff-notation, vocal-music"
-
-%% Translation of GIT committish: 59caa3adce63114ca7972d18f95d4aadc528ec3d
+%% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
 
   texidoces = "
    Este ejemplo muestra una forma de simplificar la adición de muchas
@@ -52,15 +51,14 @@ Abschnitte können zitiert werden, aber sie dürfen sich nicht überlappen.
   doctitlede = "Orchesterstichnoten zu einem Klavierauszug hinzufügen"
 
 
-%% Translation of GIT committish: c1d5bb448321d688185e0c6b798575d4c325ae80
-
+%% Translation of GIT committish: 3b125956b08d27ef39cd48bfa3a2f1e1bb2ae8b4
   texidocfr = "
 Lorsque le nombre d'instruments cités dans la réduction pour piano se
 multiplie, vous pourriez avoir intérêt à créer votre propre fonction
 pour gérer ces repères.  La fonction musicale @code{\\cueWhile} prend
 quatre arguments@tie{}: la musique d'où provient la citation, telle que
 définie par @code{\\addQuote}, le nom qui sera mentionné en regard de
-cette citation, son positionnement -- @code{#UP} ou @code{#DOWN} selon
+cette citation, son positionnement -- @code{UP} ou @code{DOWN} selon
 qu'il sera attribué à @code{\\voiceOne} et placé au-dessus ou
 @code{\\voiceTwo} et placé en dessous -- et enfin la musique du piano
 qui interviendra en parallèle.  Le nom de l'instrument en question
@@ -68,10 +66,11 @@ viendra s'aligner sur la gauche de la citation.  Bien que vous puissiez
 effectuer plusieurs citations, elle ne peuvent être simultanées.
 
 "
- doctitlefr = "Indication de l'instrument cité dans l'accompagnement d'une
-partition pour chœur"
+ doctitlefr = "Indication de l'instrument cité dans l'accompagnement d'une partition pour chœur"
 
 
+  lsrtags = "staff-notation, vocal-music"
+
   texidoc = "
 This shows one approach to simplify adding many orchestral cues to the
 piano reduction in a vocal score.  The music function @code{\\cueWhile}
@@ -88,15 +87,16 @@ 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)
    (string? string? ly:dir? ly:music?)
    #{
-     \cueDuring $instrument #$dir {
+     \cueDuring $instrument #dir {
        \once \override TextScript #'self-alignment-X = #RIGHT
        \once \override TextScript #'direction = $dir
-       s1*0-\markup { \tiny $name }
+       s1*0-\markup { \tiny #name }
        $music
      }
    #})