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