]> git.donarmstrong.com Git - lilypond.git/blob - input/test/staff-size.ly
* buildscripts/mf-to-table.py (base): break table every three
[lilypond.git] / input / test / staff-size.ly
1 \version "1.7.18"
2
3 \header { texidoc = "@cindex Staff Size
4 Setting staff sizes is a little clumsy.  There
5 are two options: using StaffContainer and override/revert, or
6 \outputproperty. Both methods are shown in this example. "
7 }
8
9 \score {
10   \notes \relative c' < \context StaffContainer = SA{
11      \property StaffContainer.StaffSymbol \set #'staff-space = #(/ 16 20)
12
13         \property Staff.fontSize = #-1
14         \property Voice.fontSize = #-1
15         
16         \dynamicUp\stemDown
17
18         %\key gis \major
19         c8 d  e-[ f g a] b c -\ff
20   }
21
22 \context Staff = SB { \dynamicDown c,,4 -\ff c c c  }
23 \context Staff = SC {
24   \context Staff \outputproperty #(make-type-checker 'staff-symbol-interface)
25     #'staff-space =  #0.8
26   \property Staff.fontSize = #-1
27   \clef bass
28   c8 c c c  c c c c
29 }
30 >
31 \paper { raggedright = ##t}
32 }
33
34