On 01/26/2015 02:29 PM, Pierre Perol-Schneider wrote:
2015-01-26 13:45 GMT+01:00 bart deruyter <bart.deruy...@gmail.com
<mailto: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)

In 2.19.15, the \tweak NoteHead.stencil and NoteColumn.ignore-collision
are unnecessary. However, there are weirdish issues with voices. If the
first
voice is just the "default" voice (no \new or \context), havoc results
if I specify \mergeDifferentlyHeadedOn (or even \time 4/4) *before* the
\voiceOne in that voice, but things are fine if I specify \voiceOne first.
???

Rutger


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