Hi there,
> I want lyrics to respect bar lines, but I don't want to print bar lines in
> the lyrics themselves.
Maybe something like this?
%%% SNIPPET BEGINS
\version "2.22.1"
musicOne = \relative c'' { a1 a2 a2 a1 }
musicTwo = \relative c { a1 a2 a2 a1 }
verseOne = \lyricmode {
\once \override LyricText.self-alignment-X = #-1
"really short" list of words
}
verseTwo = \lyricmode {
\once \override LyricText.self-alignment-X = #-1
"really long list of words and" a short one
}
\score {
\context ChoirStaff <<
\context Staff = upper <<
\context Voice = soprano { \musicOne }
\context Lyrics = one \lyricsto soprano { \verseOne }
\context Lyrics = two \lyricsto soprano { \verseTwo }
>>
\context Staff = lower <<
\clef bass
\context Voice = bass { \musicTwo }
>>
>>
\layout {
\context {
\ChoirStaff
\override SpanBar.transparent = ##t
\override BarLine.transparent = ##f
}
\context {
\Lyrics
\consists "Bar_engraver"
\hide BarLine
}
}
}
%%% SNIPPET ENDS
Hope that helps!
Kieren.