Next: Key_performer, Previous: Instrument_switch_engraver, Up: Engravers and Performers
Engrave a key signature.
Music types accepted:
Properties (read)
Properties (write)
createKeyOnClefChange(boolean)- Print a key signature whenever the clef is changed.
explicitKeySignatureVisibility(vector)- ‘break-visibility’ function for explicit key changes. ‘\override’ of the
break-visibilityproperty will set the visibility for normal (i.e., at the start of the line) key signatures.extraNatural(boolean)- Whether to typeset an extra natural sign before accidentals changing from a non-natural to another non-natural.
keyAlterationOrder(list)- An alist that defines in what order alterations should be printed. The format is
(step.alter), where step is a number from 0 to 6 and alter from -2 (sharp) to 2 (flat).keySignature(list)- The current key signature. This is an alist containing
(step.alter)or((octave.step) .alter), where step is a number in the range 0 to 6 and alter a fraction, denoting alteration. For alterations, use symbols, e.g.keySignature = #`((6 . ,FLAT)).lastKeySignature(list)- Last key signature before a key signature change.
printKeyCancellation(boolean)- Print restoration alterations before a key signature change.
keySignature(list)- The current key signature. This is an alist containing
(step.alter)or((octave.step) .alter), where step is a number in the range 0 to 6 and alter a fraction, denoting alteration. For alterations, use symbols, e.g.keySignature = #`((6 . ,FLAT)).lastKeySignature(list)- Last key signature before a key signature change.
tonic(pitch)- The tonic of the current scale.
This engraver creates the following layout object(s):
Key_engraver is part of the following context(s): GregorianTranscriptionStaff, MensuralStaff, Staff and VaticanaStaff.
This page is for LilyPond-2.11.58 (development-branch).
Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.
Your suggestions for the documentation are welcome.