lilypond-user
[Top][All Lists]
Advanced

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

Re: moving notes and accidentals


From: Mats Bengtsson
Subject: Re: moving notes and accidentals
Date: Fri, 07 Mar 2008 15:55:40 +0100
User-agent: Thunderbird 2.0.0.5 (X11/20070716)



Valentin Villenave wrote:
2008/3/7, luis jure <address@hidden>:

 the problem was the clash between a and a-flat in the two voices. by
 default lilypond merges the two noteheads, even if they have different
 accidentals. first i found about force-hshift, and managed to move the
 aes to the right. but only the note, the accidental stayed in place.

 the code compiles without complaints and i get what i wanted, but i'm
 not sure if it is a good solution. is there a simpler|better|cleaner
 way to move the note _and_ the accidental to avoid the clash between
 a-natural and a-flat? some part of the documentation i missed?

Hi Luis,

unfortunately, you have stumbled upon a known limitation of LilyPond
(there are very few, and this is probably one of the most annoying):
http://code.google.com/p/lilypond/issues/detail?id=546
http://code.google.com/p/lilypond/issues/detail?id=547

Joe has recently made the situation a little less worse, but this is
still nowhere near perfect. So your workaround is the best solution so
far.

I made a quick attempt to find some alternatives to your very
clever solution. The best I could come up with is

\relative c'' { \clef alto
<< { bes16*11/10[ aes16*9/10 g16 fis] } \\
{ a a a a } >> s2.
}

The following doesn't really solve the problem, but might do it when the
above mentioned fix has been included.

\relative c'' { \clef alto
<< { bes16 aes g fis } \\
{ a <aes \tweak #'transparent ##t a> a a } >> s2.
}


  /Mats




reply via email to

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