Here a generic test-code:
~~~~
\version "2.19.52"
\layout {
\context {
\PianoStaff
\consists #Span_stem_engraver
}
}
A = {
<b d'>4 r d'16\> e'8. g8 r\!
e'8 f' g'4 e'2
}
B = {
\clef bass
\voiceOne
\autoBeamOff
\crossStaff { <e g>4 e, g16 a8. c8 }
\once \override NoteHead.color = #cyan
d
\autoBeamOn
g8 f g4 c2
}
mus =
<<
\new Staff \A
\new Staff \with { \override Flag.color = #red } \B
>>
\markup \wordwrap {
The cyan-colored note-head should have the specified flag-style, beamed
cross-staff stems should have no flag at all.
}
\score {
<<
\new PianoStaff \with { instrumentName = "default"} \mus
#@(map
(lambda (flag)
#{
\new PianoStaff
\with {
\override Flag.stencil = #flag
instrumentName = #(format #f "~a" (procedure-name flag))
}
\mus
#})
(list
modern-straight-flag
old-straight-flag
flat-flag
mensural-flag
normal-flag
default-flag))
>>
\layout { indent = 40 }
}
~~~~
While working on this I noticed wrong behaviour of graces:
Replace the above "B = ..." with
~~~~
B = {
\clef bass
\voiceOne
\autoBeamOff
\crossStaff { <e g>4 e, g16 a8. \grace { c8 } c8 }
\once \override NoteHead.color = #cyan
d
\autoBeamOn
g8 f g4 c2
}
~~~~
to see no Flag for the grace-note.
Worth another ticket.
---
** [issues:#4983] \crossStaff only hides default-style flags**
**Status:** Started
**Created:** Fri Oct 14, 2016 05:42 PM UTC by Simon Albrecht
**Last Updated:** Mon Jan 02, 2017 03:16 PM UTC
**Owner:** Thomas Morley
As reported by Gilberto Agostinho, the default behaviour of `\crossStaff` to
automatically hide flags doesn’t work for styles other than the default.
https://lists.gnu.org/archive/html/bug-lilypond/2016-10/msg00028.html
---
Sent from sourceforge.net because testlilyissues-a...@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/testlilyissues/issues/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is
a mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Testlilyissues-auto mailing list
testlilyissues-a...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto