]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/staff-lines.ly
The grand \paper -> \layout, \bookpaper -> \paper renaming.
[lilypond.git] / input / test / staff-lines.ly
index 6418038c0ca0d80c1acb83f431f941ccca3b8071..5bb326096ad404ae76c81a6aa6c929b1f71d5b7a 100644 (file)
@@ -1,16 +1,21 @@
 
-\version "1.9.8"
+\version "2.3.22"
 
-\header { texidoc="@cindex Staff Lines
-Set staff symbol property. "
+\header {
+
+    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
 }
 
@@ -19,10 +24,11 @@ lower = \notes\relative c {
     \new Staff <<
       \upper
     >>  
-    \new Staff \with { StaffSymbol \set #'line-count = #4 } <<
-      \clef bass
-      \lower
-    >>  
+    \new Staff  {
+       \override Staff.StaffSymbol  #'line-count = #4 
+        \clef bass
+        \lower
+    }
   >>
-  \paper { raggedright=##t}  
+  \layout { raggedright=##t}  
 }