]> git.donarmstrong.com Git - lilypond.git/blob - input/test/staff-size.ly
(conv): dashes rule.
[lilypond.git] / input / test / staff-size.ly
1 #(ly:set-option 'old-relative)
2 \version "1.9.1"
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{\outputproperty}. Both methods are shown in this example. "
9
10 }
11
12 \score {
13   \notes \relative c' < \context StaffContainer = SA{
14      \property StaffContainer.StaffSymbol \set #'staff-space = #(/ 16 20)
15
16         \property Staff.fontSize = #-1
17         \property Voice.fontSize = #-1
18         
19         \dynamicUp\stemDown
20
21         %\key gis \major
22         c8 d  e[ f g a] b c \ff
23   }
24
25 \context Staff = SB \relative c'' { \dynamicDown c,,4 \ff c c c  }
26 \context Staff = SC {
27   \context Staff \outputproperty #(make-type-checker 'staff-symbol-interface)
28     #'staff-space =  #0.8
29   \property Staff.fontSize = #-1
30   \clef bass
31   c8 c c c  c c c c
32 }
33 >
34 \paper { raggedright = ##t}
35 }
36
37