X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Ftest%2Fstaff-size.ly;h=05d7cde1b1dd52777dcec3d6e9784c0553deded2;hb=b209affed3653e31c4078557342ba392209dff55;hp=37046fc5f0147580e4a4489f78b0bd1cae932c53;hpb=ecc78dcec0897404eb18f103a82d7b192184084b;p=lilypond.git diff --git a/input/test/staff-size.ly b/input/test/staff-size.ly index 37046fc5f0..05d7cde1b1 100644 --- a/input/test/staff-size.ly +++ b/input/test/staff-size.ly @@ -1,17 +1,36 @@ +\version "1.7.18" + +\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. " + +} + \score { - \notes \relative c' < \context Voice { - \property Staff.staffLineLeading = 4 + \notes \relative c' < \context StaffContainer = SA{ + \property StaffContainer.StaffSymbol \set #'staff-space = #(/ 16 20) + \property Staff.fontSize = #-1 \property Voice.fontSize = #-1 - \property Voice . dynamicDirection = \up \stemdown -%\key gis; - c8 d [e f g a] b c \ff - } + \dynamicUp\stemDown -\context Staff = VB { \property Voice . dynamicDirection = \down c,,4 \ff c c c } + %\key gis \major + 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 + \property Staff.fontSize = #-1 + \clef bass + c8 c c c c c c c +} > -\paper { linewidth = -1.; } +\paper { raggedright = ##t} } -\version "1.3.5"; + +