]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/glissando.ly
The grand \paper -> \layout, \bookpaper -> \paper renaming.
[lilypond.git] / input / regression / glissando.ly
index 6611bf6e8b77df0acab99f8bd42abaa48b209c1e..77c6988e0d2e590847bbdd3eee45976ab737a2bf 100644 (file)
@@ -1,32 +1,35 @@
-\version "1.3.146"
+#(ly:set-option 'old-relative)
+\version "2.3.22"
 
 \header{
 
-texidoc=" Simple glissando lines between notes are supported.
-The first two glissandi are not consecutive.
+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
-< @{ s8 s8 s4 @} @{ c4 \\gliss d4 @} > working correctly.
+<< @{ s8 s8 s4 @} @{ c4 \\gliss d4 @} >> working correctly.
 
 "
 }
 
 \score{
-        \context Staff=one \notes\relative c''{
+        \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 } >
-            
+            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
     }
-    \paper{
-        linewidth = 70.\mm
-       \translator{
-              \StaffContext
+    \layout{
+        linewidth = 50.\mm indent = 0
+       \context{
+              \Staff
               % makes for handier debugging
               % \remove Clef_engraver
        }
     }
 }
+