Adjusting vertical spacing of lyrics

Revision as of 15:18, 12 December 2025 by Lemzwerg (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This snippet shows how to bring the lyrics line closer to the staff.

\version "2.24"

% Default layout:
<<
  \new Staff \new Voice = melody \relative c' {
    c4 d e f | g4 f e d | c1
  }
  \new Lyrics \lyricsto melody { aa aa aa aa aa aa aa aa aa }

  \new Staff \new Voice = melody \relative c' {
    c4 d e f | g4 f e d | c1
  }

  % Reducing the minimum space below the staff and above the lyrics:
  \new Lyrics \with {
    \override VerticalAxisGroup.nonstaff-relatedstaff-spacing =
      #'((basic-distance . 1))
  }
  \lyricsto melody { aa aa aa aa aa aa aa aa aa }
>>