Helge Kruse <helge.kr...@gmx.net> writes: > * > > > I have tried to set this excerpt from a score but failed with some > problems: > > 1) As you can see there is a staff change again and again. It's > annoying to switch as shown below. Can this be done better? > > 2) The staff change does not work in the first measure (when you > remove the "s2"). > > 3) I tried a lot with the beaming. But I never managed to get a common > beam for all four chords. I read NR 1.2.3 but did not catch what the > arguments to overrideBeamSettings do. It would be nice if you can give > me a working example. But I am much more interested to _understand_ > this thing.
ud=#(define-music-function (parser location low high) (ly:music? ly:music?) #{ \change Staff = "down" $low \change Staff = "up" $high #}) global={ \key es\major \time 2/4 \override Beam #'auto-knee-gap = #4 } \new StaffGroup << \set StaffGroup.beatStructure = #'(2) \new Staff = "up" { \global s2*3 } \new Staff = "down" { \global \relative c' { \repeat unfold 2 { \ud <c es f>8 <g bes c> } \repeat unfold 2 { \ud <c es f> <as bes c> } \repeat unfold 2 { \ud <c es f> <g bes c> } } } >> -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user