lilypond-user
[Top][All Lists]
Advanced

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

Re: Accidental placement in voiceTwo vs. another staff


From: Eluze
Subject: Re: Accidental placement in voiceTwo vs. another staff
Date: Thu, 27 Jun 2013 04:41:18 -0700 (PDT)

Janek Warchoł-2 wrote
> Hi,
> 
> 2013/6/27 Eluze <

> eluzew@

> >:
>> James Harkins-2 wrote
>>> Is this a known bug?
>>>
>>> It looks like LP is trying to avoid a collision between the natural sign
>>> in the top staff's voiceTwo and the sharp sign in the bottom staff. But
>>> of
>>> course they are nowhere near touching, so there should be no need for
>>> collision avoidance.
>>
>> reducing your code to one polyphonic staff and omitting the tie shows
>> what
>> happens:
>>
>> \include "english.ly,,"
>> \new Staff <<
>>   \new Voice \relative {
>>     \key ef \major
>>     \voiceOne
>>     df''1 %~
>>     df
>>   }
>>   \new Voice \relative c'' {
>>     \voiceTwo
>>     r1
>>     b_"b's natural sign is too far left"
>>   }
>>>>
>>
>> the accidental is repeated because we are in a new measure and the
>> natural
>> sign avoids the accidental of the top voice.
>>
>> when the notes are tied the accidental is not repeated but it seems like
>> LilyPond still reserves some space for it.
> 
> precisely.
> 
> And yes, i think this is exactly issue 3106.

the only workaround I could find is to tweak manually where necessary:

\tweak Accidental #'extra-offset #'(1 . 0) b

hope this is useful

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Accidental-placement-in-voiceTwo-vs-another-staff-tp147446p147453.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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