X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Ftest%2Fstaff-size.ly;h=650d6d49e70ca264bdcc69754ada59f5e1a18892;hb=59acb35a4ee5d143b59ae13eb30c22b9dfa80cb7;hp=48beef13b1fe66dec587838332bbfe667b3488e8;hpb=630e8a2f3ab6cf78258fea9c131715e3e76dcbc7;p=lilypond.git diff --git a/input/test/staff-size.ly b/input/test/staff-size.ly index 48beef13b1..650d6d49e7 100644 --- a/input/test/staff-size.ly +++ b/input/test/staff-size.ly @@ -1,17 +1,34 @@ +\version "1.7.18" + +\header { texidoc = "@cindex Staff Size +Setting staff sizes is a little clumsy. There +are two options: using StaffContainer and override/revert, or +\outputproperty. Both methods are shown in this example. " +} + \score { - \notes \relative c' < \context Voice { - \property Staff.staffSpace = #10 + \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 { \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.42"; + +%% new-chords-done %%