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