]> git.donarmstrong.com Git - lilypond.git/blob - input/test/staff-lines.ly
Merge branch 'origin' into master-hanwen
[lilypond.git] / input / test / staff-lines.ly
1
2 \version "2.10.0"
3
4 \header {
5
6     texidoc="@cindex Staff Lines 
7 The number of lines in a staff may changed by overriding @code{line-count}
8 in the properties of @code{StaffSymbol}.
9 "
10           
11 }
12
13
14 upper = \relative c'' {
15   c1 d e f
16 }
17
18 lower = \relative c {
19   c1 b a g
20 }
21
22 \score {
23   \context PianoStaff <<
24     \new Staff <<
25       \upper
26     >>  
27     \new Staff  {
28         \override Staff.StaffSymbol  #'line-count = #4 
29         \clef bass
30         \lower
31     }
32   >>
33   \layout { ragged-right=##t}  
34 }