]> git.donarmstrong.com Git - lilypond.git/blob - input/test/repeat-shorter-bracket.ly
.ly version update.
[lilypond.git] / input / test / repeat-shorter-bracket.ly
1 #(ly:set-option 'old-relative)
2 \version "1.9.8"
3 \header{
4         texidoc="
5
6 @cindex shorter volta bracket
7
8 By setting @code{voltaSpannerDuration} the length of a volta bracket
9 can be shortened.
10
11 "
12
13 }
14
15
16 \score {
17         <<
18                 \context Staff \notes\relative c''{
19                         c c c c
20                         % coda-klugde: let volta span only one bar
21                         \property Staff.voltaSpannerDuration = #(ly:make-moment 1 1)
22                         \repeat "volta" 5 { d d d d }
23                                 \alternative { { e e e e f f f f }
24                         { g g g g } }
25                 }
26                 \context Lyrics \lyrics{
27                         intro1
28                         \repeat fold 5 { }
29                         \alternative {
30                                 { chorus1 one verse1 }
31                                 { chorus1 two verse1 }
32                                 { chorus1 three verse }
33                                 { chorus1 four verse }
34                         }
35                         five1
36                 }
37         >>
38 \paper{raggedright = ##t}
39 }
40
41
42
43