]> git.donarmstrong.com Git - lilypond.git/blob - input/test/partial-blank.ly
Fix #362 (2)
[lilypond.git] / input / test / partial-blank.ly
1
2 \version "2.10.0"
3 % check with invisible-notes or blank-notes.  possible rename. -gp
4 \header{ texidoc = "@cindex Partial Blank
5 When entering partially typeset music (i.e. for students to be 
6 completed by hand), you may need the spacing that correspond to the 
7 timing of notes: all measures have same length, etc.  It can be
8 implemented by adding an invisible staff with a lot of fast notes. "
9 }
10
11 quickmeasure =  {
12     \repeat unfold 16 c''16
13 }
14
15 mel =  \relative c' {c16 d16 e8 a4 g2 e8 d c2. g'1 e4 d c2}
16
17 \score {
18 \context PianoStaff  <<
19   \new Staff <<
20     \clef G
21     \new Voice {\mel}
22     \new Voice {
23         \override NoteHead  #'transparent = ##t
24         \override Stem  #'transparent = ##t
25         \override Beam  #'transparent = ##t
26         \repeat unfold 4 \quickmeasure
27     }
28   >>
29   \new Staff  {\clef F s1*4}
30 >>
31 \layout {}
32 }
33