lilypond-user
[Top][All Lists]
Advanced

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

Controlling the length of a broken beam


From: Knute Snortum
Subject: Controlling the length of a broken beam
Date: Sun, 22 Dec 2024 16:54:59 -0800

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:

%%%
\version "2.24.4"
\language "english"

\paper {
  indent = 0
  ragged-right = ##t
}

\relative {
  \time 6/8
  \key cs \minor
  c'8 r <bf a'>[( c]) r
    \alterBroken positions #'((2 . 2) (0 . 0)) Beam % comment this to see default behavior
    <bf g'>[( |
  \bar "||"
  \key af \major
  \break
  c8])
}
%%%

--
Knute Snortum

Attachment: broken-beam-over-key-change.png
Description: PNG image

Attachment: broken-beam-over-key-change-modified.png
Description: PNG image


reply via email to

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