-% Do not edit this file; it is automatically
-% generated from Documentation/snippets/new
-% This file is in the public domain.
-%% Note: this file works from version 2.13.34
-\version "2.13.36"
+%% Do not edit this file; it is automatically
+%% generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.13.39"
\header {
-%% Translation of GIT committish: 5a7301fc350ffc3ab5bd3a2084c91666c9e9a549
+ lsrtags = "staff-notation, vocal-music"
+
+%% Translation of GIT committish: a874fda3641c9e02f61be5c41b215b8304b8ed00
texidoces = "
Este ejemplo muestra una forma de simplificar la adiciĆ³n de muchas
- lsrtags="vocal-music, staff-notation"
- 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 @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 instrument is positioned to the left of the cued notes.
-Many passages can be cued, but they cannot overlap each other in time.
+ 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
+@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
+instrument is positioned to the left of the cued notes. Many passages
+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 {
- \once \override CueVoice.InstrumentSwitch #'self-alignment-X = #RIGHT
- \once \override CueVoice.InstrumentSwitch #'direction = $dir
- \set CueVoice.instrumentCueName = $name
- { $music }
- }
- #}
- )
+#(define-music-function
+ (parser location 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
+ s1*0-\markup { \tiny $name }
+ $music
+ }
+ #})
flute = \relative c'' {
\transposition c'
}
>>
>>
-}
\ No newline at end of file
+}