I learned something new and useful for my engravings today!
Werner LEMBERG wrote:

> In LilyPond's 'snippets' documentation file this is covered with the
> snippet “Aligning syllables with melisma”, also available as
>   https://wiki.lilypond.community/wiki/Aligning_syllables_with_melisma


Here’s an alternative approach.

Ever since Jedi Master Kieren MacMillan created code to align notes to
vowels within lyrics
<https://lists.gnu.org/archive/html/lilypond-user/2026-01/msg00339.html>,
I’ve been using functions based on that code many times in my engraving
files.

Mark, my coding of your example includes this:


%%%

cfv = \once \override LyricText.X-offset = #center-on-first-vowel % see
Kieren’s work

cvs = \once \override LyricText.X-offset = #center-between-vowels % see
Kieren’s work

\relative c'' {

  \key ef \major

  \time 3/4

  g8.( f16) ef2

} \addlyrics {

  \cfv Lead __ me,

}

%%%

I don’t need to use \set lyricMelismaAlignment, and the output is beautiful!


Screenshot:
[image: image.png]

Reply via email to