Hi all,
I'm encountering issues with cross-staff chords (using the \crossStaff
command and the Span_stem_engraver) and flags/beams which display
improperly. I came upon this while attempting to reproduce the following
measure:
[image: image.png]
Example code below should immediately show the issue (which also appears
when there is more than one isolated note, i.e. the beam will not show at
all):
\version "2.24.4"
\language "deutsch"
\score {
<<
\new PianoStaff <<
\new Staff = "rh" {
\new Voice {
\key e \major
\clef "treble" \relative c' { \crossStaff { e8 } s s s r fis[( a dis,] | e)
} %%\bar"|."
}
}
\new Staff = "lh" {
\new Voice {
\key e \major
\clef "bass" \relative c' { << { \crossStaff { <gis h>8 } <gis h>[ <gis h>
<gis h>] <a h> <a h> <a h> <a h> } \\ { <e, h'>8 <e h'> <e h'> <e h'> <e
h'> <e h'> <e h'> <e h'> } >> | s8 } %%\bar"|."
}
}
>>
>>
\layout {
\context {
\PianoStaff
\consists "Span_stem_engraver"
}
}
}
Now it is possible to somewhat circumvent this in other cases where there
is more than one 8th note by manually setting the beaming using square
brackets will also fix it; though that obviously can't help me here.
Hopefully I'm not the first to encounter this and there is some way to
resolve it without just doing away with the cross staff chord?
Cheers,
Aleksa Jakovljevic,
harpsichordist / organist / musicologist
Montreal, Quebec, Canada