Am 01.09.2015 um 19:17 schrieb Simon Albrecht:
Am 01.09.2015 um 14:15 schrieb Michael Gerdau:
Dear Simon,

in a Mendelssohn score I encountered a problem on which I’m biting my
teeth off. Have a look at the attachments – that’s easier than making
many words. As you can imagine, the span stem should connect the two
middle voices and the top two voices not collide (no matter in which
direction), but I couldn’t yet figure out how: no combination of
NoteColumn.force-hshift and NoteColumn.ignore-collision that I tried
gave the intended result.
At least optically I can trick the collision away...
Thanks, that’s a good workaround.

Upon a close look it appeared that there was still a little displacement between the stems, so I had to adapt the values a little.

All the best, Simon
\version "2.19.25"
#(set-global-staff-size 40)

\score {
  \new PianoStaff \with { \consists #Span_stem_engraver }
  <<
    \new Staff
    <<
      \repeat tremolo 4 {
        a'16 bes'16
      }
      \\
      {
        \voiceFour \crossStaff {
          \once\override Stem.length = 12
          <g' e'>4.
        }
      }
    >>
    \new Staff
    <<
      \clef bass
      { \voiceFour \tweak NoteColumn.force-hshift 0.995 cis'4. }
      \\
      { \voiceTwo a,2 }
    >>
  >>
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to