]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/repeat-unfold.ly
* input/regression/hara-kiri-pianostaff.ly (disappear): remove
[lilypond.git] / input / regression / repeat-unfold.ly
index 314aac5d35af9adabea793b3eae0df2e4f8c381e..8381b3bf02c179682eb4915a78b9d074a242fd31 100644 (file)
@@ -1,8 +1,7 @@
-#(ly:set-option 'old-relative)
-\version "2.1.7"
+\version "2.6.0"
 
 \header{
-texidoc="
+  texidoc="
 LilyPond has three modes for repeats: folded, unfolded and
 semi-unfolded.  Unfolded repeats are fully written out. Semi unfolded
 repeats have the body written and all alternatives sequentially.
@@ -16,14 +15,14 @@ Unfolded behavior:
 "
 }
 
-\score {
 
-  \context Voice \notes\relative c'' {
-\repeat unfold 3 { c^"3x 0a" d }
-% less alts than body
-\repeat unfold 4 { c^"4x 0a" d } \alternative { e f }
-% more alts than body
-\repeat unfold 2 { c^"2x 3a" d } \alternative { e f g } 
-}}
+
+\context Voice \relative c'' {
+  \repeat unfold 3 { c^"3x 0a" d }
+  %% less alts than body
+  \repeat unfold 4 { c^"4x 0a" d } \alternative { e f }
+  %% more alts than body
+  \repeat unfold 2 { c^"2x 3a" d } \alternative { e f g } 
+}