lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: repeated accidental after tie crossing bar


From: Werner LEMBERG
Subject: Re: repeated accidental after tie crossing bar
Date: Fri, 24 Jan 2020 23:26:15 +0100 (CET)

>> 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.

If I do it manually, it works as expected,

  {
    cis'1~ | cis'!2 cis'
  }

giving the correct

          |    |   |
    #o    |   #o   o
     \________/


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]