Re: Vertically centered refrain

Gabriel Ellsworth <[email protected]> Fri, 26 Jun 2026 08:25:52 -0400
Newsgroups gmane.comp.gnu.lilypond.general
Message-ID <CAHavgtVdeuFAtzKPJ2u=w=Ub6v2BjJAB10tom8dmi6EG+ScQSg@mail.gmail.com>
Dear Helge,

I have a song with an even number of stanzas. I want to have the refrain
> in the vertical mid of all stanzas. In this case it's necessary to move
> the text in one verse up or down. It would be preferred to find an
> automatic calculation to find the best location, but I tried at least a
> manual adjustment. Unfortunately it works only with the characters, not
> wit the hyphen. How can I make this better?
>

I think that this snippet has a solution for you:

https://wiki.lilypond.community/wiki/Vertically_centered_common_lyrics

(or)

Vertically centered common lyrics (LilyPond snippets)
<https://lilypond.org/doc/v2.26/Documentation/snippets/vocal-music-_002d-vertically-centered-common-lyrics>

As you’ll see there in the dropLyrics command definition, the key is to
override extra-offset for multiple elements, not just LyricText.

Cheers,

Gabriel

PS In case helpful: I found this snippet by going to
https://wiki.lilypond.community/wiki/Special:Categories, which is now
accessible from the home page of https://wiki.lilypond.community.