]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/staff-size.ly
*** empty log message ***
[lilypond.git] / input / test / staff-size.ly
index 94d2a525756b02f528ef0ac7ce0238721871af0d..ca02169a75e4db24cb858dff3bee2e3ceea1763b 100644 (file)
@@ -1,16 +1,16 @@
 #(ly:set-option 'old-relative)
-\version "1.9.0"
+\version "1.9.8"
 
 \header { texidoc = "@cindex Staff Size
 
 Setting staff sizes is a little clumsy.  There are two options: using
 @code{StaffContainer} and override/revert, or
-@code{\outputproperty}. Both methods are shown in this example. "
+@code{\applyoutput}. Both methods are shown in this example. "
 
 }
 
 \score {
-  \notes \relative c' < \context StaffContainer = SA{
+  \notes \relative c' << \new StaffContainer {
      \property StaffContainer.StaffSymbol \set #'staff-space = #(/ 16 20)
 
        \property Staff.fontSize = #-1
@@ -19,18 +19,17 @@ Setting staff sizes is a little clumsy.  There are two options: using
        \dynamicUp\stemDown
 
        %\key gis \major
-       c8 d  e-[ f g a] b c -\ff
+       c8 d  e[ f g a] b c \ff
   }
 
-\context Staff = SB \relative c'' { \dynamicDown c,,4 -\ff c c c  }
-\context Staff = SC {
-  \context Staff \outputproperty #(make-type-checker 'staff-symbol-interface)
-    #'staff-space =  #0.8
+\new Staff \relative c'' { \dynamicDown c,,4 \ff c c c  }
+\new Staff {
+  \context Staff \applyoutput #(outputproperty-compatibility (make-type-checker 'staff-symbol-interface) 'staff-space 0.8)
   \property Staff.fontSize = #-1
   \clef bass
   c8 c c c  c c c c
 }
->
+>>
 \paper { raggedright = ##t}
 }