Putting lyrics inside the staff

Revision as of 19:02, 10 December 2025 by Lemzwerg (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Lyrics can be moved vertically to place them inside the staff. The lyrics are moved with \override LyricText.extra-offset = #'(0 . dy), and there are similar commands to move the extenders and hyphens. A good value for dy must be found by trial and error.

\version "2.24"

% LSR contributed by Jan-Peter Voigt
% LSR http://lists.gnu.org/archive/html/lilypond-user/2010-10/msg00451.html

<<
  \new Staff <<
    \new Voice = "voc" \relative c' { \stemDown a bes c8 b c4 }
  >>
  \new Lyrics \with {
    \override LyricText.extra-offset = #'(0 . 8.6)
    \override LyricExtender.extra-offset = #'(0 . 8.6)
    \override LyricHyphen.extra-offset = #'(0 . 8.6)
  } \lyricsto "voc" { La la -- la __ _ la }
>>