]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/glissando.ly
Fix off-by-one error in constrained-breaking.
[lilypond.git] / input / regression / glissando.ly
index 8f41dcff3cf8069969d64ce5185e05d03f344a22..407ad0b9cb7fada29ae2f5341c608ecb3379f5f9 100644 (file)
@@ -1,8 +1,8 @@
-\version "2.4.0"
+\version "2.10.0"
 
 \header{
 
-texidoc=" Between notes, there may be simple glissando lines.
+  texidoc=" Between notes, there may be simple glissando lines.
 Here, the first two glissandi are not consecutive.
 
 The engraver does no time-keeping, so it involves some trickery to get
@@ -11,24 +11,21 @@ The engraver does no time-keeping, so it involves some trickery to get
 "
 }
 
-\score{
-        \context Staff = "one" \relative c''{
-                    % gliss non gliss and 
-            c4 \glissando d e \glissando f \glissando \break
-            % consecutive 
-            c \glissando d, \glissando e'
-             << { \stemUp e8 \glissando g8 }
-               \context Voice = VB {\stemDown \repeat unfold 4 d16 } >>
-               \override Glissando  #'style = #'zigzag
-               c4 \glissando c,, \glissando c' \glissando d
-    }
-    \layout{
-        linewidth = 50.\mm indent = 0
-       \context{
-              \Staff
-              % makes for handier debugging
-              % \remove Clef_engraver
-       }
-    }
+
+\new Staff \relative c''{
+                               % gliss non gliss and 
+  c4 \glissando d e \glissando f \glissando \break
+                               % consecutive 
+  c \glissando d, \glissando e'
+  << { \stemUp e8 \glissando g8 }
+     \context Voice = VB {\stemDown \repeat unfold 4 d16 } >>
+  \override Glissando  #'style = #'zigzag
+  c4 \glissando c,, \glissando c' \glissando d
+}
+
+\layout{
+  line-width = 50.\mm
+  indent = 0
 }
 
+