lilypond-user
[Top][All Lists]
Advanced

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

Adjusting beam slope with cross-staff notes


From: Javier Ruiz-Alma
Subject: Adjusting beam slope with cross-staff notes
Date: Tue, 29 Jan 2013 21:45:18 -0800 (PST)

I have first beamed note in the bass, and 3 more in the treble staff.  I wish to adjust the beam slope using "\override Beam #'positions", as the automatically-calculated beam slope is overinfluenced by the lone cross-staff note.
However, the adjustment values are anchored relative to the centerline of the (starting) bass staff.  I wish to have the override values anchored to the treble staff. Is it possible?

Here's snippet showing the issue:
__________________________

\version "2.16.1"

staffUp = \change Staff = "upper"
staffDown = \change Staff = "lower"

soprano= \relative c'{
    \time 2/4 s2
    %\override Beam #'positions = #'(1 . 0.7)   %can't adjust beam relative to upper staff centerline (desired)
    \override Beam #'positions = #'(10.5 . 9.5) %values relative to lower staff centerline subject to between-staff distance
    \staffDown g8[ \staffUp e'd c]
}
bass = \relative c{ \clef bass s2 <e c>2}
   
\score{
      \new PianoStaff <<
            \new Staff = "upper" \soprano
            \new Staff = "lower" \bass
      >>
      \layout{}
}
_____________________________
Thx, Javier

Attachment: Selection_002.png
Description: PNG image


reply via email to

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