]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/ambitus-cue.ly
83b10e3ac73b6a09e475118dd21ac6df1a7762dc
[lilypond.git] / input / regression / ambitus-cue.ly
1 \version "2.16.0"
2
3 \header {
4   texidoc = "Ambitus for pieces beginning with @code{\\cueDuringWithClef}.
5
6 Cues are often used at or near the beginning of a piece. Furthermore,
7 a cue is frequently in a different clef, so the
8 @code{\\cueDuringWithClef} command is handy.  Using this command at
9 the beginning of a piece should leave the ambitus displayed based
10 on the main clef.
11 "
12 }
13
14 \addQuote "other" \relative c { r4 c e g }
15
16 \new Staff \new Voice \relative c'
17 {
18  \cueDuringWithClef #"other" #UP #"bass" { R1 } |
19  e4 b c2
20 }
21
22 \layout {
23  \context {
24    \Voice
25    \consists "Ambitus_engraver"
26  }
27 }