Prevent segfault with arpeggio + no staff-symbol.
[lilypond/mpolesky.git] / input / regression / quote-cue-event-types.ly
blobf7971e33d03c2d56c3c957c27d2e4f9bcc1a2700
1 \header {
4 texidoc = " The @code{cueDuring} and @code{quoteDuring} forms of quotation
5 will use the variables @code{quotedCueEventTypes} and @code{quotedEventTypes}
6 to determine which events are quoted. This allows different events to be
7 quoted for cue notes than for normal quotes.
9 @code{quotedEventTypes} is also the fallback for cue notes if
10 @code{quotedCueEventTypes} is not set."
14 \version "2.13.10"
16 quoteMe = \relative c' { fis8 r16-. a8.-> \acciaccatura c8 b4(-\ff~ b16 c8. b8) }
17 \addQuote quoteMe \quoteMe
20 \new Staff \with { instrumentName = "Quoted Voice" } {
21 \quoteMe
23 \new Staff \with { instrumentName = "quoteDuring" } {
24 % \set Staff.quotedEventTypes = #'(StreamEvent)
25 \relative c' { c8 \quoteDuring "quoteMe" { s8 s4 s2 } }
27 \new Staff \with { instrumentName = "cueDuring" } {
28 \relative c' { c8 \cueDuring "quoteMe" #UP { r8 r4 r2 } }
33 \new Staff \with { instrumentName = "Fallback" } {
34 \unset Score.quotedCueEventTypes
35 \relative c' { c8 \cueDuring "quoteMe" #UP { r8 r4 r2 } }