4 lsrtags = "tweaks-and-overrides, pitches, staff-notation, contexts-and-engravers"
7 LilyPond supports custom key signatures. In this example, print for D
8 minor with an extended range of printed flats.
10 doctitle = "Creating custom key signatures"
14 \override StaffSymbol.line-count = #8
15 \override KeySignature.flat-positions = #'((-7 . 6))
16 \override KeyCancellation.flat-positions = #'((-7 . 6))
17 % presumably sharps are also printed in both octaves
18 \override KeySignature.sharp-positions = #'((-6 . 7))
19 \override KeyCancellation.sharp-positions = #'((-6 . 7))
21 \override Clef.stencil = #
22 (lambda (grob)(grob-interpret-markup grob
24 \musicglyph #"clefs.C"
25 \translate #'(-3 . -2)
26 \musicglyph #"clefs.F"
30 middleCClefPosition = #3