Subject: How to assign syllables to specific notes when melody serves
different purposes?
Dear LilyPond community,
I’m currently working on a piece of music that uses the following structure:
```
\version "2.24.4"
melody = \relative c'' {
\key c \major
\time 4/4
a8 (g8) f4 e d \break
}
lyricsOne = \lyricmode {
I would like to
}
lyricsTwo = \lyricmode {
This_is a pen.
}
\score {
<<
\new Staff {
\new Voice = "mel" {
\melody
}
}
\new Lyrics \lyricsto "mel" \lyricsOne
\new Lyrics \lyricsto "mel" \lyricsTwo
>>
\layout {
ragged-last = ##f
}
}
```
[image: image.png]
My goal is to align the syllables “This is a pen” with the melody notes in
such a way that the word “is” appears directly under the G note, and not
grouped together with “This” under the A note. However, the current
behavior causes “This is” to be combined under the A, which is not what I
intended.
So my question is:
How can I control lyric alignment more precisely when two sets of lyrics
follow different segmentation logic?
I would appreciate any guidance on how to handle this, or if there’s an
idiomatic LilyPond approach to this kind of dual-purpose text.
Thank you in advance for your help and for all the amazing work you do.
Best regards,
Peter