]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/staff-lines.ly
*** empty log message ***
[lilypond.git] / input / test / staff-lines.ly
index 6bbbf0d1fb78fc70008e4f74c5552c4d9df88cd2..2b15132bb520a983bc558dde560c1eeae28bb398 100644 (file)
@@ -1,33 +1,34 @@
 
-\version "1.9.2"
+\version "2.3.4"
 
-\header { texidoc="@cindex Staff Lines
-Staff symbol property set workaround. "
+\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'' {
-  c1-"x" d-"x" e-"x" f-"x"
+upper = \relative c'' {
+  c1 d e f
 }
 
-lower = \notes\relative c {
-  c1-"x" b-"x" a-"x" g-"x"
+lower = \relative c {
+  c1 b a g
 }
 
 \score {
-  \context PianoStaff <
-    %\time 4/4
-    \new Staff <
+  \context PianoStaff <<
+    \new Staff <<
       \upper
-      \outputproperty #(make-type-checker 'staff-symbol-interface)
-        #'line-count = #5
-    >  
-    \new Staff <
-      \clef bass
-      \lower
-      \outputproperty #(make-type-checker 'staff-symbol-interface)
-        #'line-count = #4
-    >  
-  >
+    >>  
+    \new Staff  {
+       \override Staff.StaffSymbol  #'line-count = #4 
+        \clef bass
+        \lower
+    }
+  >>
   \paper { raggedright=##t}  
 }