Sure it is, see: \version "2.18.2"
global = { \clef "G_8" \time 4/4 } \new Staff << \global { c'2 b4 c' } \\ { \mergeDifferentlyHeadedOn \stemUp \once\override Beam.positions = #'(-.8 . 1.5) \once\stemDown c'8 g e g \once\override Beam.positions = #'(-1.5 . .5) \once\stemDown b[ g] \once\override Beam.positions = #'(-1 . .5) \once\stemDown c' g } \\ { \stemDown \once\override NoteColumn.force-hshift = #0 e4 e d e } >> Cheers, Pierre 2015-01-26 13:45 GMT+01:00 bart deruyter <bart.deruy...@gmail.com>: > thanks for the quick solution. > > I've adapted the example of Pierre, to a score without the use of contexts > and omitted assigning a voice to the 'voiceTwo' part. That made it possible > for the 'mergeDifferentlyHeadedOn' to show the half-note. Using contexts > lilypond threw an error when not assigning that voice. > > I don't know if it's good practice, but it works... > > thanks again :-) > > grtz, > > Bart > > http://www.bartart3d.be/ > On facebook <https://www.facebook.com/pages/BartArt3D/169488999795102> > On Twitter <https://twitter.com/#%21/Bart_Issimo> > On Identi.ca <http://identi.ca/bartart3d> > On Google+ <https://plus.google.com/u/0/b/116379400376517483499/> > > 2015-01-26 13:27 GMT+01:00 Brian Barker <b.m.bar...@btinternet.com>: > >> At 12:55 26/01/2015 +0100, you wrote: >> >>> I'm typesetting something from Heinrich Albert and one exercise has >>> three voices. To avoid collisions, they switch the direction of the stems >>> within one voice and I haven't found how to achieve it. >>> >> >> The voices have their own stem directions, of course. You can disable >> this and allow stems to go either way with \stemNeutral - but that probably >> won't help you here. Otherwise you can use \stemDown and \stemUp directly. >> Will those work for you? >> >> Brian Barker - privately >> > > > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > >
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user