]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/staff-size.ly
*** empty log message ***
[lilypond.git] / input / test / staff-size.ly
index d53dbc04015abf5114469efe77dfc9b31be6a042..a8a4159b101d8793beabefaea09cf825152b8ae7 100644 (file)
@@ -1,17 +1,26 @@
-\score {
-  \notes \relative c' < \context Voice {
-       \property Staff.staffSpace = #10
-       \property Staff.fontSize = #-1
-       \property Voice.fontSize = #-1
-       
-       \property Voice . dynamicDirection = \up \stemDown
-%\key gis \major;
-       c8 d [e f g a] b c \ff
-  }
+\version "2.1.22"
+
+\header { texidoc = "@cindex Staff Size
 
-\context Staff = VB {  \property Voice . dynamicDirection = \down c,,4 \ff c c c  }
+For setting staff sizes, both @code{staff-space} and @code{fontSize}
+must be set."
 
->
-\paper { linewidth = -1.; }
 }
-\version "1.3.96"; 
+
+\score {
+  \notes \relative c' <<
+      \new Staff \relative c'' {
+         \dynamicDown c,,4 \ff c c c
+      }
+      \new Staff \with {
+         fontSize = #-1
+         StaffSymbol \set #'staff-space = #(magstep -1)
+      } {
+         \clef bass
+         c8 c c c  c c c c
+      }
+  >>
+  \paper { raggedright = ##t}
+}
+
+