lilypond-user
[Top][All Lists]
Advanced

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

Key change with simultaneous key cancellation


From: Lukas-Fabian Moser
Subject: Key change with simultaneous key cancellation
Date: Tue, 21 Nov 2017 16:06:15 +0100

Hello,

in the following situation


\version "2.19.80"

\layout {
  \context {
    \Staff
   % \consists "Break_align_engraver"
  }
}

\new GrandStaff <<
  \new Staff {
    s1
    \key bes \minor \break
    s1
  }
  \new Staff {
    \key fis \major
    s1
    \key a \minor
    s1
  }
>>

the Key Cancellation in the second staff is printed before (i.e. to the left of) the new key signature in the first staff. Is it possible to get them aligned?

If I put the Break_align_engraver in the \Staff context (uncomment the respective line), I seem to get what I want, but the bar line becomes discontinuous. This problem only occurs if the key change happens at a line break. (Also, moving the engraver naturally destroys the alignment of the time signatures at the beginning of the piece.)


Best
Lukas

reply via email to

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