]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/repeat-fold.ly
release commit
[lilypond.git] / input / regression / repeat-fold.ly
index 28313665a578ca250cb005647f9245c3c4794ae1..6676fd517a3e6a920404249fd2a835f1baefc021 100644 (file)
@@ -1,14 +1,20 @@
+\version "2.8.0"
+
 \header{
 texidoc="
-Folded.  This doesn't make sense without alternatives, but it works.
-";
+Folded repeat may not make sense without alternatives, and there
+should not be more alternatives than repeats.
+"
 }
 
-\score { \notes\context Staff\relative c'' {
-\repeat fold 3 { c^"3$\\times$ 0alt" d }
-% less alts than body
-\repeat fold 4 { c^"4$\\times$ 2alt" d } \alternative { e f }
-% more alts than body
-\repeat fold 2 { c^"2$\\times$ 3alt" d } \alternative { e f g } 
-}}
+\paper { ragged-right = ##t } 
+
+\context Staff  \relative c'' {
+    \repeat fold 3 { c^"3x 0alt" d }
+    % less alts than body
+    \repeat fold 4 { c^"4x 2alt" d } \alternative { e f }
+    % more alts than body
+    \repeat fold 2 { c^"2x 3alt" d } \alternative { e f g }
+  }
+