]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/partial-blank.ly
Imported sources
[lilypond.git] / input / test / partial-blank.ly
index 4b1c7a145a0cdc581df33d7b2eba252b50d3ee80..256a328436164d3fb9cd381cad865d09a5da1cb3 100644 (file)
@@ -1,28 +1,33 @@
-\version "1.7.18"
 
-%{  When entering half music (I.e. for students to complete by hand)
-    you need the spacing to correspond to the timing - all measures same length, etc.
-    This thing implements it by adding invisible staff with lots of fast notes.
-%}
+\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)
+you need the spacing to correspond to the timing -- all measures
+same length, etc.  This thing implements it by adding invisible
+staff with lots of fast notes. "
+}
 
+quickmeasure = \notes {
+    \repeat unfold 16 c''16
+}
 
-quickmeasure = \notes {[\repeat unfold 16 c''16]}
 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 {}
 }
-%% new-chords-done %%
+