Werner LEMBERG <w...@gnu.org> writes: >>> some publishers repeat accidentals not only if a tie gets broken >>> between staves but also if it crosses a bar line: >>> >>> | | | >>> #o | #o >>> \________/ >>> >>> Is there a property in LilyPond to automatically activate this? >> >> probably: >> >> { >> \override Accidental.after-line-breaking = #'() >> cis'1~ cis' >> } > > Thanks for the suggestion. Unfortunately, it doesn't really work if > there are more accidentals following. For example, this code > > { > \override Accidental.after-line-breaking = #'() > cis'1~ | cis'2 cis' > } > > yields > > | | | > #o | #o #o > \________/ > > In other words, the repeat accidental is printed, but the note after > it gets another accidental.
It works just as well as when breaking across a line. { cis'1~ \break | cis'2 cis' } also has three accidentals. Yes, this is a bug (and has been assigned some issue a long time ago) but this kind of ripple effect is very hard to avoid. -- David Kastrup