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: Sat, 15 Jan 2011 07:03:22 +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.

Are there changes to the syntax in the current version of Lilypond?

Best Regards,
Helge

\version "2.13.11"
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>>
   >>


Attachment: moz-screenshot-3.png
Description: PNG image


reply via email to

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