I am working on a Debussy prelude and I have an odd measure where the
up-stem quarter note is merge with the down-stem sixteenth (first beat, see
attached picture).


​
I have gotten this far with typesetting it, but as you can see, the stems
aren't merged.


​Any ideas on how to get this to work?  Might source file is below:

\version "2.19.15"
\language "english"

upperStaffTop = \relative c' {
  cs4 <cs' cs'> <cs' cs'> |
}

upperStaffBottom = \relative c' {
  cs16 d fs gs cs d fs gs cs gs fs d |
}

lowerStaffTop = \relative c {
  <<
    \new Voice {
      \voiceThree \crossStaff { cs4 } s2 |
    }
    \new Voice {
      \voiceFour cs16 d fs gs \stemUp cs \clef treble d fs gs cs gs fs d |
    }
  >>
}

lowerStaffBottom = \relative c,, {
  <cs cs'>4 <cs'' cs'> \clef treble <cs' cs'> |
}

% --- Biolerplate

global = {
  \key a \major
  \time 3/4
}

upperStaff = {
  \clef treble
  \global
  <<
    \new Voice { \voiceOne \upperStaffTop }
    \new Voice { \voiceTwo \upperStaffBottom }
  >>
}

lowerStaff = {
  \clef bass
  \global
  <<
    \new Voice { \voiceThree \lowerStaffTop }
    \new Voice { \voiceFour \lowerStaffBottom }
  >>
}

\score {
  \new PianoStaff {
    <<
      \new Staff \upperStaff
      \new Staff \lowerStaff
    >>
  }
  \layout {
    \context {
      \PianoStaff
      \consists #Span_stem_engraver
    }
  }
}

Knute Snortum
(via Gmail)
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to