Making cross-staff beams look better: Difference between revisions
m New category Tags: Mobile edit Mobile web edit |
Improve |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
Cross-staff beams | Cross-staff beams might be very steep, which can be ugly sometimes. This snippet demonstrates how to change that. | ||
<lilypond version="2.24"> | |||
\score { | \score { | ||
\new PianoStaff << | \new PianoStaff << | ||
| Line 11: | Line 8: | ||
\context Staff = LH | \context Staff = LH | ||
\relative c' { | \relative c' { | ||
\stemDown | \stemDown | ||
c,8 [ g' | c,8 [ g' | ||
\change Staff = RH | |||
d' a' e' b' ] | | |||
\override Beam.concaveness = #1 | |||
\override Beam.concaveness = # | |||
b [ e, a, d, | b [ e, a, d, | ||
\change Staff = LH | |||
g, c, ] | | |||
} | } | ||
>> | >> | ||
| Line 26: | Line 22: | ||
% Prevent bad cropping. | % Prevent bad cropping. | ||
\markup \null | \markup \null | ||
</lilypond> | </lilypond> | ||