Hi.

By default LP will add the new key signature to the end of a line if the
next line has a key signature change (as per this example). Is there an
easy way to suppress this behaviour? For pedagogic exercises like these
scales it is not really needed

TIA!

---[ ex ]---
\version "2.22"

melody = \relative c'' {
  \clef treble
  \time 4/4
  \set Staff.printKeyCancellation = ##f

  \key c   \major c8 d e f g a b c     | \bar "||"
  \key f   \major f,8 e d c bes a g f  | \bar "||"
  \break
  \key bes \major bes8 c d ees f g a bes | \bar "||"
  \key ees \major ees,8 d c bes aes g f ees | \bar "||"
}

\score {
  <<
    \melody
  >>
}
---[ end ex ]---

-- 
-mark.

Reply via email to