Hello Gilberto,
thanks for reporting and sorry for the late response.
On 27.10.2015 13:43, Gilberto Agostinho wrote:
- no. 3: when using \crosStaff, one has to manually set \autoBeamOff
when crossing, as well as hiding any tuplet numbers and brackets.
Couldn't this be done automatically? If one wants to use \crossStaff
for a certain passage, then very likely he doesn't want beams and
tuplets displaying there. The reference mentions that one should use
\autoBeamOff but there are no mentions about tuplets.
\version "2.19.28"
\score{
\new PianoStaff <<
\new Staff {c'8 d' \tuplet 3/2 {e' f' g'}}
\new Staff {\clef bass \crossStaff{\stemUp c8 d \tuplet 3/2 {e f g}}}
>>
\layout{
\context {
\PianoStaff
\consists #Span_stem_engraver
}
}
}
I’ve added <https://sourceforge.net/p/testlilyissues/issues/4651/>. In
the meantime, you can easily use a custom version of \crossStaff, as can
be seen in the attachment.
Yours, Simon
\version "2.19.28"
crossStaff =
#(define-music-function (notes) (ly:music?)
(_i "Create cross-staff stems")
#{
\temporary \override Stem.cross-staff = #cross-staff-connect
\temporary \override Flag.style = #'no-flag
\temporary \override TupletBracket.stencil = ##f
\temporary \override TupletNumber.stencil = ##f
\temporary \override Beam.stencil = ##f
#notes
\revert Stem.cross-staff
\revert Flag.style
\revert TupletBracket.stencil
\revert TupletNumber.stencil
\revert Beam.stencil
#})
\score {
\new PianoStaff <<
\new Staff { c'8 d' \tuplet 3/2 {e' f' g'}}
\new Staff {\clef bass \crossStaff{\stemUp c8 d \tuplet 3/2 {e f g}}}
>>
\layout{
\context {
\PianoStaff
\consists #Span_stem_engraver
}
}
}_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond