lilypond-user
[Top][All Lists]
Advanced

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

Re: accidental too far away from notehead


From: David Kastrup
Subject: Re: accidental too far away from notehead
Date: Sun, 13 Jan 2013 12:12:41 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Werner LEMBERG <address@hidden> writes:

> Please consider this code:
>
>   \version "2.17.10"
>
>   \relative c''' {
>     << { <gis cis eis gis>2 } \\
>        { eis,2              } >>
>   }
>
> Attached you can find an image.  I think this is a formatting bug of
> lilypond: The e sharp in the second voice should be directly placed in
> front of the notehead since it is not part of the chord.  However, I'm
> not sure, thus I'm writing to this mailing list :-)
>
> Is there a possibility to make lilypond automatically move the
> accidental in the lower voice to the right so that it is not aligned
> with the accidentals of the upper voice?

\version "2.17.10"

\relative c''' {
  << { <gis cis eis gis>2 } \\
     { eis,2              } >>
}

\layout {
  \context {
    \Staff
    \remove "Accidental_engraver"
  }
  \context {
    \Voice
    \consists "Accidental_engraver"
  }
}

But obviously the accidental engraver should subdivide its input into
vertically separate clusters and typeset each of them independently.

-- 
David Kastrup




reply via email to

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