]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/glissando.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / glissando.ly
index cd3a732650760556797dc76a0b1edc6d4d38d170..057b8d3c4eb0e01552716606844ca5b3bbb54482 100644 (file)
@@ -1,8 +1,8 @@
-\version "2.6.0"
+\version "2.16.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,23 @@ 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
-       }
-    }
+
+\layout{
+  line-width = 50.\mm
+  indent = 0
+}
+
+\new Staff \relative c''{
+  \override Glissando #'breakable = ##t
+  
+  %% gliss non gliss and 
+  c4 \glissando d e \glissando f \glissando \break
+  %% consecutive 
+  c \glissando d, \glissando e'
+  << { e8 \glissando g8 } \\
+     { \repeat unfold 4 d16 } >>
+  \override Glissando  #'style = #'zigzag
+  c4 \glissando c,, \glissando c' \glissando d
 }
 
+