# Flaming Hakama Design Consultancy

## Adding Vertical Whitespace in Lilypond

Try changing the values in the \score block for

• basic-distance
• minimum-distance
• stretchability

As long as the values are sensible in relation to each other.

Try changing the basic & minimum distances just enough to fix the one system you’re trying to improve, without making all the others too spread out.

Generally leave the padding at 1 or 0.

The key bit that allows this control is removing the Vertical_align_engraver.

Also, in the \paper block, the system-system spacing (or other spacing variables you might use) obviously plays a role in overall spacing, but I always try compiling before using any of those to see how things look before I start messing.

\version "2.19.39"

\paper {
%  system-system-spacing.basic-distance = #22
indent = 0\cm
ragged-last-bottom = ##f
}

global = {
\time 4/4
\key c \major
}

rightOne = \relative c' {
\global
c4 d e f
g a b c
\repeat unfold 50 { c,4 d e f
g a b c }
\bar "|."
}

rightTwo = \relative c' {
\global
\repeat unfold 51 { c4 c c c
c c c c }
}

leftOne = \relative c' {
\global
c4 b a g
f e d c
\repeat unfold 50 { c'4 b a g
f e d c }
}

leftTwo = \relative c {
\global
\repeat unfold 51 { c4 c c c
c c c c }
}

\score {
\new PianoStaff \with { \remove "Vertical_align_engraver" }
<<
\new Staff = "right" \with {
\override VerticalAxisGroup.default-staff-staff-spacing =
#'((basic-distance . 12)
(minimum-distance . 8)