Hi,

Anyone have a smarter way to set Beam #'positions in the third beam grouping
below?


%%% BEGIN %%%

\version "2.11.34"

\new PianoStaff <<
   \new Staff = RH {
      \time 9/8
      \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-10 . 20)
      \override Stem #'direction = #down
      \override Beam #'positions = #'(-7 . -7)

      c'8 [
      c'8
      \once \override Stem #'direction = #up
      \change Staff = LH
      c'8 ]
      \change Staff = RH

      c'8 [
      \once \override Stem #'direction = #up
      \change Staff = LH
      c'8
      \change Staff = RH
      c'8 ]

      \once \override Beam #'positions = #'(7.5 . 7.5)
      \change Staff = LH
      \once \override Stem #'direction = #up
      c'8 [
      \change Staff = RH
      c'8
      c'8 ]
   }

   \new Staff = LH {
      \clef bass
      s1 * 9/8
   }
>>

%%% END %%%


The output is what I want -- flat beams at the exact same vertical position
for all three beam figures.

BUT, what's bothering me is that setting Beam #'positions = #'(7.5 . 7.5)
before the third figure is entirely "by eye". The first note of the third
figure changes to the LH staff and, for this reason, the Beam positions of
the third figure are relative to the LH staff (rather than to the RH staff,
as with the first two figures). What I really want is a way to set Beam
positions for the third figure reltiave to the RH staff rather than the LH
staff (meaning that I wouldn't have to set beam positions by eye at all).

Is this possible? Anyone have a smarter way?





-- 
Trevor Bača
[EMAIL PROTECTED]

<<attachment: flat-beams.png>>

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to