Le 18/10/2022 à 07:19, Jeff Olson a écrit :
I'm transcribing an SA-TB piece with lyrics between the two staves and
using a ChoirStaff so there are no spanning bar lines between the
staves that would interfere with the lyrics. But my source does add
spanning bar lines at the end of each system.
How can I get bar lines in a ChoirStaff to span staves only at the end
of each system?
See attached MWE-ChoirStaff-end-bars.ly
Interesting, I had never heard about this convention. Try
adding this:
\version "2.22.1"
\layout {
\context {
\ChoirStaff
\consists Span_bar_engraver
\override SpanBar.break-visibility = ##(#t #f #f)
}
}
A full example:
\version "2.22.1"
\layout {
\context {
\ChoirStaff
\consists Span_bar_engraver
\override SpanBar.break-visibility = ##(#t #f #f)
}
}
\new ChoirStaff <<
\new Staff { c'1 1 \break 1 1 \bar "|." }
\new Staff { c'1 1 1 1 }
>>
Best,
Jean