Am 19.05.2025 um 19:33 schrieb Michael Werner:
...
\layout {
   \context {
     \ChoirStaff
     \consists Span_bar_engraver
     \override SpanBar.break-visibility = ##(#t #f #t)
   }
}

The SpanBar.break-visibility is what's taking care of this. The 3 boolean values are basically beginning, middle, and end of line. A value of #t means show the item, while #f means don't. Have a look at https://lilypond.org/doc/v2.24/Documentation/notation/visibility-of- objects#using-break_002dvisibility <https://lilypond.org/doc/v2.24/ Documentation/notation/visibility-of-objects#using-break_002dvisibility>
for more details.
--

This solution draws a connected bar line at each line end. This might be good. In the current notes to write I want only the final bar line at the end of the piece.

With Kierens approach I can control where to write the connected bar lines. The drawback is that the notes are moved a bit from the place where the connected bar lines would appear but are \omitted. This is a not a problem in my case. So I prefer that solution.

Thanks to both of you
Helge


Reply via email to