[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Controlling the length of a broken beam
From: |
Yoshiaki Onishi |
Subject: |
Controlling the length of a broken beam |
Date: |
Mon, 23 Dec 2024 00:47:57 -0500 |
> I have a Chopin piece where the notes form a broken beam across a key change
> and break (see first attachment broken-beam-over-key-change.) LilyPond has
> drawn the stem and beam long in the upper right-hand corner to avoid the key
> change. I'm not sure I like that and I'm trying to change it. I can shorten
> the stem with the \alterBroken command but then the beam collides with the
> key change (see second attachment broken-beam-over-key-change-modified.)
>
> Is there a way to shorten the upper right-hand broken beam? Below is the MWE:
>
Dear Knute,
Adding the following just under your \alterBroken line:
\alterBroken break-overshoot #'((2 . -8) (0 . 0)) Beam
…does seem to do the trick. Reference is:
https://lilypond.org/doc/v2.24/Documentation/internals/beam_002dinterface
All the best,
Yoshi