lilypond-user
[Top][All Lists]
Advanced

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

Re: Differently headed does not merge.


From: Urs Liska
Subject: Re: Differently headed does not merge.
Date: Thu, 13 Nov 2014 11:19:06 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.6.0


Am 13.11.2014 10:05, schrieb Peter Terpstra:
Dear People,
Found a problem with merging differently headed in the next example:

\version "2.18.2"
\relative c {
  \key d \major
  \clef "treble_8"
  \mergeDifferentlyHeadedOn
  \mergeDifferentlyDottedOn
<< { <a''-2>2 ~ a8<d-4>8<cis-3><a-4> }\\
   { d,,,8 a' <fis'-2><cis'-3> b2 }\\
   { d,,2 s } >>
}

Is there a solution to this?

Yes.
As the documentation says on http://lilypond.org/doc/v2.18/Documentation/notation/multiple-voices.html
you have to take extra precautions when there are more than two notes in one note column.
Against the example of the manual it doesn't suffice to \shiftOn for the top voice but you have also to do \shiftOff for the third voice in your context.

\version "2.18.2"

\relative c {

\key d \major

\clef "treble_8"

\mergeDifferentlyHeadedOn

% \mergeDifferentlyDottedOn

<<

{ \shiftOn <a''-2>2 ~ a8<d-4>8<cis-3><a-4> }\\

{ d,,,8 a' <fis'-2><cis'-3> b2 }\\

{ \shiftOff d,,2 s }

>>

}


Actually I don't like the output with the shifted a'', but fortunately you can fix that with

\once \override NoteColumn.force-hshift = #0


in before that note. This will move the a'' to another note column but will graphically move it back to the original position.

Best
Urs



Many thanks in advantage.

Peter


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

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