lilypond-user
[Top][All Lists]
Advanced

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

accidental spacing issue


From: Jonathan Kulp
Subject: accidental spacing issue
Date: Tue, 16 Dec 2008 16:53:04 -0600
User-agent: Thunderbird 2.0.0.18 (X11/20081125)

I'm having trouble making the spacing of accidentals right under the following circumstance, where there's a note with an accidental tied across a barline and a note in a voice below it also has an accidental. The tied note c-sharp doesn't have an accidental because it's tied, but the invisible accidental is still taking up space and forcing the a-sharp below it to the left.

Is there a way to make the invisible sharp symbol take up no space so that the whole chord moves to the left where it ought to be?

I've tried this to no avail:

  \override Staff.AccidentalPlacement #'ignore-collision = ##t

I can't find anything else that looks promising. Extra-offset can fix the placement of the a-sharp, but it'll still leave the chord too far to the right of the barline. If I change the c-sharp to a c-natural, then the placement is correct but the tie disappears. Do I need to do something with an extra invisible voice?

Here's a minimal code example and png.

Jon

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\relative c'' {
<< { cis1 ~ cis2 r } \\ { R1 <fis,, ais'>2 r } >>
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


--
Jonathan Kulp
http://www.jonathankulp.com

Attachment: accidental-placement.png
Description: PNG image


reply via email to

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