]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/staff-lines.ly
Merge branch 'master' of ssh://hanwen@repo.or.cz/srv/git/lilypond into master-hanwen
[lilypond.git] / input / test / staff-lines.ly
index 33c5c923032326ad0a4c953ad775cf7110c061f9..bfca8e4b4fd85acbb5abc906d68a490274a88615 100644 (file)
@@ -1,19 +1,21 @@
 
-\version "2.1.7"
+\version "2.7.39"
 
 \header {
 
-    texidoc="@cindex Staff Lines Staff symbol properties may also be
- set with @code{\\property}. "
+    texidoc="@cindex Staff Lines 
+The number of lines in a staff may changed by overriding @code{line-count}
+in the properties of @code{StaffSymbol}.
+"
          
 }
 
 
-upper = \notes\relative c'' {
+upper = \relative c'' {
   c1 d e f
 }
 
-lower = \notes\relative c {
+lower = \relative c {
   c1 b a g
 }
 
@@ -23,10 +25,10 @@ lower = \notes\relative c {
       \upper
     >>  
     \new Staff  {
-       \property Staff.StaffSymbol \set #'line-count = #4 
+       \override Staff.StaffSymbol  #'line-count = #4 
         \clef bass
         \lower
     }
   >>
-  \paper { raggedright=##t}  
+  \layout { ragged-right=##t}  
 }