Scaling vertical spacing: Difference between revisions

Import snippet from LSR
 
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
Line 1: Line 1:
To increase or decrease the vertical spacing in general (rather than the spacing of just one particular aspect) you can multiply all of the default flexible vertical spacing properties by a given scaling factor. This approach helps preserve the spacing proportions, as compared with changing just one or two of these properties. In this snippet two variables are used as the scaling factors for (1) within-system spacing and (2) page layout (outside-system) spacing.
To increase or decrease the vertical spacing in general (rather than the spacing of just one particular aspect) you can multiply all of the default flexible vertical spacing properties by a given scaling factor. This approach helps preserve the spacing proportions, as compared with changing just one or two of these properties. In this snippet two variables are used as the scaling factors for (1) within-system spacing and (2) page layout (outside-system) spacing.


<lilypond version="2.24.0">
<lilypond version="2.24">
% This snippet shows how to increase or decrease the overall vertical spacing
% This snippet shows how to increase or decrease the overall vertical spacing
% (of staves, systems, lyrics, chord names, etc.) by scaling all of the properties
% (of staves, systems, lyrics, chord names, etc.) by scaling all of the properties