5 Key signatures may appear on key changes, even without a barline.
6 In the case of a line break, the restoration accidentals are printed at
7 end of a line. If @code{createKeyOnClefChange} is set, key signatures
8 are created also on a clef change.
20 \set Staff.createKeyOnClefChange = ##t
22 % \key c \major % \minor
23 \key es \major % \minor
26 \key bes \major % \major
27 c2 \clef alto c2 \key d \major \clef treble c2
28 \set Staff.keySignature = #'((2 . -1) (6 . 3) (4 . -2))