]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/ambitus-cue.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / input / regression / ambitus-cue.ly
1 \version "2.19.21"
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 An @code{Ambitus_engraver} should ignore notes in @code{CueVoice}
13 contexts.
14 "
15 }
16
17 \addQuote "other" \relative { r4 c e g }
18
19 \new Staff \new Voice \relative c'
20 {
21  \cueDuringWithClef #"other" #UP #"bass" { R1 } |
22  e4 b c2
23 }
24
25 \layout {
26  \context {
27    \Staff
28    \consists "Ambitus_engraver"
29  }
30 }