lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OverrideBeamSettings


From: Helge Kruse
Subject: OverrideBeamSettings
Date: Fri, 14 Jan 2011 20:46:26 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.1.5) Gecko/20091204 Lightning/1.0b1 Thunderbird/3.0



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.

Best Regards,
Helge


ZweiOben = \relative c' {
  % take this as a place holder, since it does not work at all
  \overrideBeamSettings #'Staff #'(1 . 8) #'end #'((* . (1 1)))
  s2

  \change Staff = "2U" \stemUp <c es f>8

  \change Staff = "2O" \stemDown <g b c>

  \change Staff = "2U" \stemUp <c es f>

  \change Staff = "2O" \stemDown <g b c>

}


ZweiUnten = \relative c' {

   s2

}


\score { % PDF

<<

  \new PianoStaff <<

    \new Staff = "2O" << \global \ZweiOben >>

    \new Staff = "2U" << \global \ZweiUnten >>

  >>

>>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]