I think it's a bug in the way the
modern-straight-flag stencil is implemented - it seems to
prevent any Flag.style being interpreted, and so the style of
no-flag is ignored. It's a bit of a faff, but you can fix
this with selected reverts and overrides in the voices:
\version "2.17.18"
upper = \relative c'' {
\clef treble
\voiceOne
\override Flag.stencil = #modern-straight-flag
\autoBeamOff
a8 d e f
\oneVoice
c d e f
}
lower = \relative c {
\clef bass
\voiceOne
\autoBeamOff
\override Flag.stencil = #modern-straight-flag
e8 d
\revert Flag.stencil
\crossStaff { e f }
\override Flag.stencil = #modern-straight-flag
\oneVoice
g8 f g4
}
\score {
\new StaffGroup <<
\new Staff { \upper }
\new Staff { \lower }
>>
\layout {
\context {
\Score
}
\context {
\StaffGroup
\consists #Span_stem_engraver
}
}
}
--
Phil Holmes
----- Original Message -----
Sent: Friday, May 31, 2013
4:10 PM
Subject: Cross staff stems
with modern flags
Greetings List,
If I have modern straight flags turned on and attempt to use
cross-staff stemmed chords, the flags show up on the bottom
stems. What am I doing wrong? Using ordinary default flags, the
problem is not visible.
\version "2.17.18"
upper = \relative c'' {
\clef treble
\voiceOne
a8 d e f
\oneVoice
c d e f
}
lower = \relative c {
\clef bass
\voiceOne
\autoBeamOff
\crossStaff { e8 d e f }
\autoBeamOn
\oneVoice
g8 f g4
}
\score {
\new StaffGroup <<
\new Staff { \upper }
\new Staff { \lower }
>>
\layout {
\context {
\Score
\override Flag #'stencil = #modern-straight-flag
}
\context {
\StaffGroup
\consists #Span_stem_engraver
}
}
}
Andrew
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user