]> 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 6645f1e2aeda25c2fa7290fa1b7c6a310e0f5728..9ee495e2a0ffe56ce442a6d25744b870002946a2 100644 (file)
@@ -1,23 +1,22 @@
-%% 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.14.0"
+% 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: 70f5f30161f7b804a681cd080274bfcdc9f4fe8c
+%% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
 
   texidoces = "
    Este ejemplo muestra una forma de simplificar la adición de muchas
 notas guía orquestales a la reducción de piano en una partitura vocal.
 La función musical @code{\\cueWhile} toma cuatro argumentos: la música
 de la que se toma la cita, como viene definida por @code{\\addQuote},
-el nombre que insertar antes de las notas guía, y después @code{UP} o
-@code{DOWN} para especificar @code{\\voiceOne} con el nombre encima
+el nombre que insertar antes de las notas guía, y después @code{#UP} o
+@code{#DOWN} para especificar @code{\\voiceOne} con el nombre encima
 del pentagrama o bien @code{\\voiceTwo} con el nombre debajo del
 pentagrama, y finalmente la música de piano con la que las notas guía
 deben aparecer en paralelo.  El nombre del instrumento citado se
@@ -41,7 +40,7 @@ zu einem Klavierauszug hinzufügen kann.  Die musikalische Funktion
 @code{\\cueWhile} braucht vier Argumente:  Die Noten, von denen die
 Stichnoten formatiert werden sollen, definiert durch @code{\\addQuote},
 die Bezeichnung, die mit den Noten angegeben werden soll, dann entweder
-@code{UP} (hoch) oder @code{DOWN} (runter) zur Angabe von entweder
+@code{#UP} (hoch) oder @code{#DOWN} (runter) zur Angabe von entweder
 @code{\\voiceOne} mit der Bezeichnung über dem System oder @code{\\voiceTwo}
 mit der Bezeichnung unter dem System, und schließlich die Klaviermusik,
 die parallel zu den Stichnoten gespielt werden soll.  Die Bezeichnung des
@@ -52,8 +51,7 @@ 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
@@ -68,16 +66,17 @@ 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}
 takes four arguments: the music from which the cue is to be taken, as
 defined by @code{\\addQuote}, the name to be inserted before the cue
-notes, then either @code{UP} or @code{DOWN} to specify either
+notes, then either @code{#UP} or @code{#DOWN} to specify either
 @code{\\voiceOne} with the name above the staff or @code{\\voiceTwo}
 with the name below the staff, and finally the piano music in parallel
 with which the cue notes are to appear.  The name of the cued
@@ -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
      }
    #})