[Top][All Lists]

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

Re: key change at end of snippet

From: Thomas Morley
Subject: Re: key change at end of snippet
Date: Sat, 25 Jan 2020 09:16:56 +0100

Am Sa., 25. Jan. 2020 um 06:31 Uhr schrieb Werner LEMBERG <address@hidden>:
> 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


 \relative c' {
  \override Staff.StaffSymbol.break-align-symbols =
  #'(time-signature key-cancellation key-signature staff-bar break-alignment)
    \key d \major
    \tweak X-extent #'(0.25 . 2.4)
    \key c \major

The StaffSymbol being too short is a consequence of a bug-fix some
time ago, though in this case the cure isn't nice either.
Furthermore you need to add some padding to the right manually.


reply via email to

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