4 texidoc = "@code{\\quoteDuring} and @code{\\cueDuring} shall properly quote
5 voices that create a sub-voice. The sub-voice will not be quoted, though.
6 Exceptions are sections of parallel music @code{<< @{...@} \\ @{...@} >>},
11 % Simple case, normal sub-voice
18 \addQuote "quoteMe" \quoteMe
19 % Also works if wrapped with \new Voice
20 \addQuote "quoteMeA" \new Voice \quoteMe
22 % Also works with voice directly inside relative
23 quoteMeI = \relative \new Voice {
26 \addQuote "quoteMeI" \quoteMeI
28 % Quoting music with some parallel sections (identical rhythm)
29 quoteMeII = \relative {
31 << { d4 e4 } \\ { c4 b4 } >>
34 \addQuote "quoteMeII" \quoteMeII
36 % Quoting music with some parallel sections (different rhythm)
37 quoteMeIII = \relative {
39 << { d4 e4 } \\ { c4. b8 } >>
42 \addQuote "quoteMeIII" \quoteMeIII
48 \new Staff \relative {
49 c''4 \cueDuring #"quoteMe" #DOWN { r4 }
50 c4 \cueDuring #"quoteMe" #DOWN { r4 } % <- no cue note due to sub-voice
52 \new Staff \relative {
53 c''4 \cueDuring #"quoteMeA" #DOWN { r4 }
54 c4 \cueDuring #"quoteMeA" #DOWN { r4 } % <- no cue note due to sub-voice
56 \new Staff \relative {
57 c''4 \cueDuring #"quoteMeI" #DOWN { r4 }
60 \new Staff \relative {
61 c''4 \cueDuring #"quoteMeII" #DOWN { r4 }
62 c4 \cueDuring #"quoteMeII" #DOWN { r4 } % <- quoted parallel notes
64 \new Staff \relative {
65 c''4 \cueDuring #"quoteMeIII" #DOWN { r4 }
66 c4 \cueDuring #"quoteMeIII" #DOWN { r4 } % <- quoted parallel notes