Try Rune's suggestion from
http://lists.gnu.org/archive/html/lilypond-user/2007-12/msg00147.html
which solves the same problem without any need to manually specify the
position.
/Mats
Trevor Bača wrote:
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] <mailto:[EMAIL PROTECTED]>
------------------------------------------------------------------------
------------------------------------------------------------------------
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user