Am 28.09.2016 um 00:01 schrieb Malte Meyn:

\version "2.19.47"

\new PianoStaff \with {
  \consists #Span_stem_engraver
} <<
  \new Staff { a\harmonic }
  \new Staff { \crossStaff a }


This looks like a Span_stem_engraver bug to me: The NoteHeads don’t
share a stem because of the different note head styles (two regular note
heads → ok, two harmonic note heads → ok, example above → fail). This is
neither a general chord problem nor a HarmonicEvent problem:
    { <a a'\harmonic> }
works fine and
    \override NoteHead.style = #'harmonic a
fails the same way
    a\harmonic
does.

I found a workaround: you can print the harmonic note heads twice; once with default style but hidden and once with #'harmonic style. The span stems will connect to the hidden note heads. I \omitted some things that would otherwise be printed twice, maybe you’ll need here some more.

\version "2.19.47"

\new PianoStaff \with {
  \consists #Span_stem_engraver
} <<
  \new Staff {
    <<
      {
        \hide NoteHead
        a16 b c' d'
      }
      \new Voice {
        \override NoteHead.style = #'harmonic
        \override NoteColumn.ignore-collision = ##t
        \omit Stem
        \omit Beam
        \omit Flag
        \omit Dots
        a16 b c' d'
      }
    >>
  }
  \new Staff {
    \autoBeamOff
    \crossStaff {
      a16 b c' d'
    }
  }
>>

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

Reply via email to