4 texidoc
= "The @code{\\quoteDuring} command shall also quote correctly all
5 @code{\\override}, @code{\\once \\override}, @code{\\revert}, @code{\\set},
6 @code{\\unset} and @code{\\tweak} events. The first line contains the
7 original music, the second line quotes the whole music and should look
10 By default, not all events are quoted. By setting the quoted event types to
11 @code{'(StreamEvent)}, everything should be quoted."
15 % Acciaccaturas contain a slur and \override Stem #'stroke-style
16 % Thus, we're checking \override here
17 c4 \acciaccatura d8 c4
18 % Checking \set and \unset
22 \set autoBeaming
= ##f
23 % Checking \once \override
24 \once \override Stem
#'thickness
= #8.0 d8
25 % Checking two overrides
26 \override Stem
#'thickness
= #8.0 \override Stem
#'stroke-style
= "grace"
28 % reverting one of them
29 \revert Stem
#'thickness
d8
31 \revert Stem
#'stroke-style
c8
34 c2-
\tweak #'color
#red -
>
36 \addQuote "music" \mus
41 quotedEventTypes
= #'(StreamEvent
)
48 \new Voice
{ \quoteDuring #"music" s1*2 }