[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: repeated accidental after tie crossing bar
From: |
David Kastrup |
Subject: |
Re: repeated accidental after tie crossing bar |
Date: |
Fri, 24 Jan 2020 23:32:53 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
David Kastrup <address@hidden> writes:
> Werner LEMBERG <address@hidden> 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.
I mean, this kind of ripple effect is very hard to implement.
--
David Kastrup