]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/partial-blank.ly
Imported sources
[lilypond.git] / input / test / partial-blank.ly
index 26667edea65a365d1e6edf4c152ba5e4c6b2a660..256a328436164d3fb9cd381cad865d09a5da1cb3 100644 (file)
@@ -1,5 +1,5 @@
-#(ly:set-option 'old-relative)
-\version "1.9.1"
+
+\version "2.1.7"
 % check with invisible-notes or blank-notes.  possible rename. -gp
 \header{ texidoc = "@cindex Partial Blank
 When entering half music (i.e. for students to complete by hand)
@@ -15,19 +15,19 @@ quickmeasure = \notes {
 mel = \notes \relative c' {c16 d16 e8 a4 g2 e8 d c2. g'1 e4 d c2}
 
 \score {
-\context PianoStaff \notes <
-  \context Staff = v <
+\context PianoStaff \notes <<
+  \new Staff <<
     \clef G
-    \context Voice=melo {\mel}
-    \context Voice=invisible {
+    \new Voice {\mel}
+    \new Voice {
        \property Voice.NoteHead \override #'transparent = ##t
        \property Voice.Stem \override #'transparent = ##t
        \property Voice.Beam \override #'transparent = ##t
         \repeat unfold 4 \quickmeasure
     }
-  >
-  \context Staff = empty \notes {\clef F s1*4}
->
+  >>
+  \new Staff \notes {\clef F s1*4}
+>>
 \paper {}
 }