]> git.donarmstrong.com Git - lilypond.git/blob - input/test/staff-size.ly
* input/test/slur-shape.ly (x): remove file.
[lilypond.git] / input / test / staff-size.ly
1 #(ly:set-option 'old-relative)
2 \version "2.1.6"
3
4 \header { texidoc = "@cindex Staff Size
5
6 Setting staff sizes is a little clumsy.  There are two options: using
7 @code{StaffContainer} and override/revert, or
8 @code{\applyoutput}. Both methods are shown in this example."
9
10 }
11
12 \score {
13   \notes \relative c' <<
14       \new StaffContainer {
15           \property StaffContainer.StaffSymbol \set #'staff-space = #(/ (* magstep magstep))
16           \property Staff.fontSize = #-2
17         
18           \dynamicUp\stemDown
19           
20                                 %\key gis \major
21           c8 d  e[ f g a] b c \ff
22       }
23
24       \new Staff \relative c'' {
25           \dynamicDown c,,4 \ff c c c
26       }
27       \new Staff \with {
28           fontSize = #-1
29           StaffSymbol \set #'staff-space = #(/ magstep)
30       } {
31           \clef bass
32           c8 c c c  c c c c
33       }
34   >>
35   \paper { raggedright = ##t}
36 }
37
38