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>>

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to