Changing the staff size: Difference between revisions

m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
Though the simplest way to resize staves is to use <code>#(set-global-staff-size xx)</code>, an individual staff's size can be changed by scaling the properties <code>'staff-space</code> and <code>fontSize</code>.
The simplest way to resize staves is to use
 
  #(set-global-staff-size <var>size</var>)
 
To resize an individual staff’s size, you can use the properties <code>staff-space</code> and <code>fontSize</code>.


<lilypond version="2.24">
<lilypond version="2.24">
<<
<<
   \new Staff {
   \new Staff \relative c'' {
    \relative c'' {
    \dynamicDown c8\ff c c c c c c c
      \dynamicDown
      c8\ff c c c c c c c
    }
   }
   }
   \new Staff \with {
   \new Staff \with {
     fontSize = #-3
     fontSize = #-3
     \override StaffSymbol.staff-space = #(magstep -3)
     \override StaffSymbol.staff-space = #(magstep -3)
   } {
   } \relative c {
     \clef bass
     \clef bass c8 c c c c\f c c c
    c8 c c c c\f c c c
   }
   }
>>
>>
</lilypond>
</lilypond>


[[Category:Paper and layout]]
[[Category:Staff notation]]
[[Category:Staff notation]]
[[Category:Staff notation]]
[[Category:Paper and layout]]
[[Category:Tweaks and overrides]]
[[Category:Tweaks and overrides]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]