2015-01-26 13:45 GMT+01:00 bart deruyter <bart.deruy...@gmail.com>:

> That made it possible for the 'mergeDifferentlyHeadedOn' to show the
> half-note.
>

Ok, now I see, I missed that.
See :
http://lilypond.org/doc/v2.18/Documentation/notation/multiple-voices.html#collision-resolution
(... Known issues and warnings)

So here again, with contexts :

\version "2.18.2"

global = { \clef "G_8" \time 4/4 }

\new Staff <<
  \global
  \context Voice = "high" {
    \voiceOne
    c'2 b4 c'
  }
  \context Voice = "middle" {
    \voiceThree
    %\override NoteColumn.force-hshift = #0
    \override NoteColumn.ignore-collision = ##t
    \mergeDifferentlyHeadedOn
    \override Beam.positions = #'(-.8 . 1.5)
    \once\stemDown
    \tweak NoteHead.stencil #f
    c'8 g e g
    \override Beam.positions = #'(-1.5 . .5)
    \once\stemDown b[ g]
    \override Beam.positions = #'(-1 . .5)
    \once\stemDown c' g
    \revert Beam.position
  }
  \context Voice = "low" {
    \voiceTwo
    e4 e d e
  }
>>

Cheers,
Pierre
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to