]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/repeat-volta.ly
release: 1.3.146
[lilypond.git] / input / regression / repeat-volta.ly
index 634ba4dadd70b0efe20d90fcf5642310e34ac0ee..0d667989a3fb360084ee379098377d5ba9d88eb7 100644 (file)
@@ -1,25 +1,23 @@
+\version "1.3.146"
+
 \header{
 texidoc="
 Volta (Semi folded) behavior.  Voltas can start on non-barline moments.
 If they don't barlines should still be shown.
-";
+"
 }
 
 %  no alts.
-\score { \notes
-  \relative c'' {
-% repeat non aligning with barlines.
-e
-\repeat volta 3 { c^"3$\\times$ 0alt" d e }
-% less alts than body
-\repeat volta 4 { c^"4$\\times$ 2alt" d } \alternative { e f }
-
-% more alts than body
-\repeat volta 2 { c^"2$\\times$ 3alt" d } \alternative { e f g } 
-}
-
-       \midi{}
-       \paper{}
-
+\score {
+  \notes \context Voice \relative c'' {
+    % repeat non aligning with barlines.
+    \repeat volta 3 { c^"3$\\times$ 0alt" d e }
+    % less alts than body
+    \repeat volta 4 { c^"4$\\times$ 2alt" d } \alternative { e f }
+    % more alts than body
+    \repeat volta 2 { c^"2$\\times$ 3alt" d } \alternative { e f g }
+  }
+  \paper {}
+  \midi {}
 }