Werner,

Perhaps using

\once \override Score.BreakAlignment #'break-align-orders = #(make-vector 3
'( staff-bar clef span-bar  breathing-sign  .  .  key  time-signature)),

To insert the key change before the bar.

Mark



-----Original Message-----
From: lilypond-user
[mailto:[email protected]] On Behalf Of
Werner LEMBERG
Sent: Friday, January 24, 2020 9:30 PM
To: [email protected]
Subject: key change at end of snippet


I have to typeset a snippet that is an excerpt of a longer piece, and this
snippet ends with a key change:

  \relative c' {
    \key d \major
    d1
    \key c \major
  }

However, the staff stops right before the key change, see attached image.
What can I do to avoid that?


    Werner


Reply via email to