On 08/07/2025 07:39, [email protected] wrote:
I want to write a song for a SA-B choir. The lyrics are common for
most of the notes. But at the beginning of the song, the bass sings
alone. Later in the song, soprano and alto have different lyrics than
basso.
Because the lyrics are common the text should be between the two
systems. Lilypond hesitates any way I tried to place the text above
the bass. I also tried to add a hidden System with the bass notes as
an anchor for the lyrics. This allows to place the lyrics at the
desired position, but I failed to remove all engravers. \hideNotes
could be used to make the notes white, but they still occupy space.
Because the bass has a different rhythm and lyrics in the last for
measures, it’s also not a good idea to abuse the bass lyrics as common
lyrics. Therefore, I added a fake voice that should be invisible at
the paper. Unfortunately, not all engravers could be removed.
Any idea to mimic this layout?
Best regards,
Helge
You should name one of the Staff contexts and use that information to
position the Lyrics context with alignAboveContext (or
alignBelowContext), e.g.
\score {
\new ChoirStaff <<
\new Staff \with {
\consists Merge_rests_engraver
} <<
\new Voice { \voiceOne \soprano }
\new Voice { \voiceTwo \alto }
>>
\new Staff="lower" {
\new Voice = "basso" { \basso }
}
\new Lyrics \with { alignAboveContext="lower" } \lyricsto "basso" {
\verseI
}
>>
}
--
Timothy Lanfear, Bristol, UK.