lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: crossStaff beaming not connecting both staves


From: Malte Meyn
Subject: Re: crossStaff beaming not connecting both staves
Date: Wed, 28 Sep 2016 00:20:31 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0



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'
    }
  }
>>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]