Re: repeated accidental after tie crossing bar
David Kastrup writes: > Werner LEMBERG 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
Re: repeated accidental after tie crossing bar
Werner LEMBERG 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
Re: repeated accidental after tie crossing bar
Thomas Morley writes: > Am Fr., 24. Jan. 2020 um 22:42 Uhr schrieb Werner LEMBERG : >> >> >> Folks, >> >> >> 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? >> >> >> Werner >> > > Hi Werner, > > probably: > > { > \override Accidental.after-line-breaking = #'() > cis'1~ cis' > } That is chutzpah. -- David Kastrup
Re: repeated accidental after tie crossing bar
>> 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
Re: repeated accidental after tie crossing bar
Am Fr., 24. Jan. 2020 um 22:42 Uhr schrieb Werner LEMBERG : > > > Folks, > > > 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? > > > Werner > Hi Werner, probably: { \override Accidental.after-line-breaking = #'() cis'1~ cis' } Best, Harm
repeated accidental after tie crossing bar
Folks, 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? Werner