Hi Helge, hi Kieren, > 1. \consists Span_bar_engraver to the ChoirStaff (not the Staff!) > 2. \omit it right off the top > 3. \undo the \omit just before the final barline
alternatively consist Span_bar_engraver to ChoirStaff, default
Staff.BarLine.allow-span-bar = ##f and override Staff.BarLine.allow-span-bar =
##t before the barline you want the span (this needs to be done in all staves
where a span should descend from, so you do not actually need this in the
bottom staff). Or even override the value on ChoirStaff level.
In fact you could also do it say dependent on the type:
%%%
\new ChoirStaff <<
\new Staff
\relative c'' {
\time 2/4
c4 d e f \bar ".|:" c d e f \bar ":|." c d e f \bar "|."
}
\new Staff
\relative c' {
g4 a b c \bar ".|:" g a b c \bar ":|." g a b c \bar "|."
}
>>
\layout {
\context {
\ChoirStaff
\consists Span_bar_engraver
\override BarLine.allow-span-bar =
#(lambda (grob)
(member (ly:grob-property grob 'glyph) '("|." ".|:" ":|." ":|.|:")))
}
}
%%%
Cheers,
Tina
signature.asc
Description: This is a digitally signed message part.
