1\header {
2  texidoc = "The @code{cueDuring} and @code{quoteDuring} forms of quotation
3use the variables @code{quotedCueEventTypes} and @code{quotedEventTypes} to
4determine which events are quoted.  This allows different events to be
5quoted for cue notes in comparison to normal quotes.
6
7@code{quotedEventTypes} is also the fallback for cue notes if
8@code{quotedCueEventTypes} is not set."
9}
10
11\version "2.19.21"
12
13quoteMe = \relative { fis'8 r16-. a8.->
14                      \acciaccatura c8 b4:8(-\ff~  b16 c8. b8) }
15\addQuote quoteMe \quoteMe
16
17<<
18  \new Staff \with { instrumentName = "Quoted Voice" } {
19    \quoteMe
20  }
21  \new Staff \with { instrumentName = "quoteDuring" } {
22%     \set Staff.quotedEventTypes = #'(StreamEvent)
23    \relative { c'8 \quoteDuring "quoteMe" { s8 s4 s2 } }
24  }
25  \new Staff \with { instrumentName = "cueDuring" } {
26    \relative { c'8 \cueDuring "quoteMe" #UP { r8 r4 r2 } }
27  }
28>>
29
30<<
31  \new Staff \with { instrumentName = "Fallback" } {
32    \unset Score.quotedCueEventTypes
33    \relative { c'8 \cueDuring "quoteMe" #UP { r8 r4 r2 } }
34  }
35>>
36