Creating custom key signatures: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
LilyPond supports custom key signatures. In this example, print for D minor with an extended range of shown flats. | LilyPond supports custom key signatures. In this example, print for D minor and D major with an extended range of shown flats. | ||
<lilypond version="2.24"> | <lilypond version="2.24"> | ||
| Line 6: | Line 6: | ||
\override KeySignature.flat-positions = #'((-7 . 6)) | \override KeySignature.flat-positions = #'((-7 . 6)) | ||
\override KeyCancellation.flat-positions = #'((-7 . 6)) | \override KeyCancellation.flat-positions = #'((-7 . 6)) | ||
\override KeySignature.sharp-positions = #'((-6 . 7)) | \override KeySignature.sharp-positions = #'((-6 . 7)) | ||
\override KeyCancellation.sharp-positions = #'((-6 . 7)) | \override KeyCancellation.sharp-positions = #'((-6 . 7)) | ||
| Line 24: | Line 23: | ||
{ | { | ||
\key d\minor | \key d\minor f bes, f bes, | | ||
\key d\major fis b, fis b, | | |||
} | } | ||
</lilypond> | </lilypond> | ||