]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/partial-blank.ly
only call profile-measurements when appropriate.
[lilypond.git] / input / test / partial-blank.ly
index f9dde1ef790de99adb5a97e08b30ea19446a1401..fcf05bb60c377fe88fd3bbc91e555a0c807badd9 100644 (file)
@@ -1,30 +1,33 @@
-\version "1.7.16"
 
-%{  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.
-%}
-
-\include "paper16.ly"
+\version "2.10.0"
+% check with invisible-notes or blank-notes.  possible rename. -gp
+\header{ texidoc = "@cindex Partial Blank
+When entering partially typeset music (i.e. for students to be 
+completed by hand), you may need the spacing that correspond to the 
+timing of notes: all measures have same length, etc.  It can be
+implemented by adding an invisible staff with a lot of fast notes. "
+}
 
+quickmeasure =  {
+    \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}
+mel =  \relative c' {c16 d16 e8 a4 g2 e8 d c2. g'1 e4 d c2}
 
 \score {
-\context PianoStaff \notes <
-  \context Staff = v <
+\context PianoStaff  <<
+  \new Staff <<
     \clef G
-    \context Voice=melo {\mel}
-    \context Voice=invisible {
-       \property Voice.NoteHead \override #'transparent = ##t
-       \property Voice.Stem \override #'transparent = ##t
-       \property Voice.Beam \override #'transparent = ##t
+    \new Voice {\mel}
+    \new Voice {
+       \override NoteHead  #'transparent = ##t
+       \override Stem  #'transparent = ##t
+       \override Beam  #'transparent = ##t
         \repeat unfold 4 \quickmeasure
     }
-  >
-  \context Staff = empty \notes {\clef F s1*4}
->
-\paper {}
+  >>
+  \new Staff  {\clef F s1*4}
+>>
+\layout {}
 }
-%% new-chords-done %%
+