-\version "2.3.1"
+\version "2.19.21"
-\header { texidoc = "Volta repeats may be unfolded through the Scheme
- function @code{unfold-repeats}."
+\header { texidoc = "Volta repeats may be unfolded through the music
+ function @code{\\unfoldRepeats}."
}
-nots = \notes\relative c' {
- c4 \repeat volta 2 c4 \alternative { d e }
+nots = \relative {
+ c'4 \repeat volta 2 c4 \alternative { d e }
}
+\layout {ragged-right = ##t}
-\score {
- \notes \context Voice {
- \nots
- \bar "||"
- \applymusic #unfold-repeats \nots
- }
- \paper {raggedright = ##t}
+\context Voice {
+ \nots
+ \bar "||"
+ \unfoldRepeats \nots
}