4 texidoc
= "With @code{\\cueDuring} and @code{\\quoteDuring},
5 fragments of previously entered music may be
6 quoted. @code{quotedEventTypes} will determines what things are
7 quoted. In this example, a 16th rest is not quoted, since
8 @code{rest-event} is not in @code{quotedEventTypes}."
17 quoteM
e = \relative c' { fis4 r
16 a8.-
> b4-
\ff c }
19 \addQuote quoteM
e \quoteMe
20 original
= \relative c'' { c8 d s2 es8 gis8 }
24 \set Staff
.instrumentName
= "quoteMe"
28 \set Staff
.instrumentName
= "orig"
31 \new Staff
\relative c'' <<
33 \set Staff
.instrumentName
= "orig+quote"
34 \set Staff
.quotedEventTypes
= #'(note-event articulation-event
)
36 { s4 \quoteDuring #"quoteMe" { s2. } }