Changes the spanner-placement property of FootnoteSpanner to ly:dir
[lilypond/patrick.git] / input / regression / quote-overrides.ly
blobc24c92ff98648b18e85eac2d78e138ec34d592c0
1 \version "2.13.5"
3 \header {
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
8 identical.
10 By default, not all events are quoted. By setting the quoted event types to
11 @code{'(StreamEvent)}, everything should be quoted."
14 mus = \relative c' {
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
19 \set fontSize = #6 f
20 \unset fontSize f |
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
30 % and the other
31 \revert Stem #'stroke-style c8
33 % checking tweaks
34 c2-\tweak #'color #red ->
36 \addQuote "music" \mus
38 \layout {
39 \context {
40 \Score
41 quotedEventTypes = #'(StreamEvent)
45 \score
46 { <<
47 \new Staff \mus
48 \new Voice { \quoteDuring #"music" s1*2 }
49 >> }