I want lyrics to respect bar lines, but I don't want to print bar lines in
the lyrics themselves.
Minimal example:
\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
}
}
}
If you run this, you'll see that the word "and" in the second verse sits
under the bar line. I want it to be to the left.
In addition to the override in the above, I've tried:
\defineBarLine "|-alt" #'(#t #t "")
and variations thereof to no avail. I can get all bar lines printed or none
printed, but not an invisible bar line in the lyrics.