On 17/05/2025 16:46, tim...@bitstream.net via LilyPond user discussion wrote:
For jazz lead sheets, I frequently want to place a coda at the beginning of a 
line following a \break, centered over the barline (which may be implied unless 
the line begins with a repeat barline).  I use manual breaks to force four bars 
to the line for readability. Getting the coda glyph in the right place has been 
difficult throughout my use of Lilypond.

Printing of objects attached to barlines is controlled by a a parameter break-visibility. The object can be printed over the barline at the end of a system, over the (notional) barline at the beginning of the next system, or both. Printing over barlines in the middle of a syztem can be switched on or off as required. See https://lilypond.org/doc/v2.24/Documentation/notation/visibility-of-objects#using-break_002dvisibility.

I think this is the solution for your situation.

\version "2.24.0" { c''1 1 1 1 \break \once \override Score.CodaMark.break-visibility = ##(#f #f #t) \codaMark \default d''1 1 1 1 }

--
Timothy Lanfear, Bristol, UK.

Reply via email to