]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/rest-collision.ly
release: 1.1.41
[lilypond.git] / input / test / rest-collision.ly
index d34df43f90a64bf92b5e72fddd3c4811fff11950..1b9d1e2a14e622a2e686dcb25f945422144b87a5 100644 (file)
@@ -7,18 +7,18 @@ rests = \notes             {
   r r r  r r r r r r r r r r r r r
 } 
 
-scales = \type Staff \notes <
-       \type Voice=i { \stemup r1 r2 r2   \scale    c''1 c'2 a'2 \rests  }
-       \type Voice = ii { \stemdown a'1 a'2 d'2 \rests r1 r2 r2  \scale }
+scales = \context Staff \notes <
+       \context Voice=i { \stemup r1 r2 r2   \scale    c''1 c'2 a'2 \rests  }
+       \context Voice = ii { \stemdown a'1 a'2 d'2 \rests r1 r2 r2  \scale }
 >
 
-restsII = \type Staff \notes {
+restsII = \context Staff \notes {
        r4 r8
-       \type Staff < { \stemup r8 } { \stemdown r8} >
-       \type Staff < {\stemup r8} r8 { \stemdown r8} >
-       \type Staff < {\stemup r8} r8 r8 { \stemdown r8} >
-       \type Staff < {\stemup r} { \stemdown r} >
-       \type Staff < {\stemup r} r { \stemdown r} >
+       \context Staff < { \stemup r8 } { \stemdown r8} >
+       \context Staff < {\stemup r8} r8 { \stemdown r8} >
+       \context Staff < {\stemup r8} r8 r8 { \stemdown r8} >
+       \context Staff < {\stemup r} { \stemdown r} >
+       \context Staff < {\stemup r} r { \stemdown r} >
        \stemup
        \transpose c'' { [c''8 r8 c''8 c''8]
        [c8 r8 c8 c8]
@@ -33,3 +33,5 @@ restsII = \type Staff \notes {
                \restsII 
        }
 }      
+
+\version "1.0.16";