Making cross-staff beams look better: Difference between revisions

mNo edit summary
Improve
 
Line 1: Line 1:
Cross-staff beams may not look always good; this snippet demonstrates how to get better results.
Cross-staff beams might be very steep, which can be ugly sometimes.  This snippet demonstrates how to change that.


<lilypond version="2.24">
<lilypond version="2.24">
Line 8: Line 8:
   \context Staff = LH
   \context Staff = LH
     \relative c' {
     \relative c' {
     \stemDown % Change into \stemUp to fix the bug
     \stemDown
     c,8 [ g'
     c,8 [ g'
    \change Staff = RH
      \change Staff = RH
    d' a' e' b' ]
      d' a' e' b' ] |
    % This makes the second beam look much better.
     \override Beam.concaveness = #1
     \override Beam.concaveness = #0
     b [ e, a, d,
     b [ e, a, d,
    \change Staff = LH
      \change Staff = LH
    g, c, ]
      g, c, ] |
   }
   }
   >>
   >>