]> git.donarmstrong.com Git - lilypond.git/commitdiff
Add info about \transposedCueDuring.
authorGraham Percival <graham@percival-music.ca>
Fri, 29 Dec 2006 03:40:19 +0000 (19:40 -0800)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 30 Dec 2006 14:30:40 +0000 (15:30 +0100)
Documentation/user/advanced-notation.itely

index 85f3db44308e3d4e1fe96a6854808ef5f979d426..bdc345a0b919a9fe2d2cceed3d29d12732e03e4e 100644 (file)
@@ -1582,6 +1582,34 @@ the original clef should be stated once again.
 
 @end itemize
 
+The macro @code{\transposedCueDuring} is
+useful to add cues to instruments which use a completely different
+octave range (for example, having a cue of a piccolo flute within
+a contra bassoon part).
+
+@lilypond[verbatim,ragged-right,quote]
+picc = \relative c''' {
+  \clef "treble^8"
+  R1 |
+  c8 c c e g2 |
+  a4 g g2 |
+}
+\addquote "picc" { \picc }
+
+cbsn = \relative c, {
+  \clef "bass_8"
+  c4 r g r
+  \transposedCueDuring #"picc" #UP c,, { R1 } |
+  c4 r g r |
+}
+
+<<
+  \context Staff = "picc" \picc
+  \context Staff = "cbsn" \cbsn
+>>
+@end lilypond
+
+
 
 @node Aligning to cadenzas
 @subsection Aligning to cadenzas