[ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
[ < key-cancellation-interface ] | [ Up : Graphical Object Interfaces ] | [ kievan-ligature-interface > ] |
3.2.71 key-signature-interface
A group of accidentals, to be printed as signature sign.
User-settable properties:
alteration-alist
(association list (list of pairs))List of
(pitch . accidental)
pairs for key signature.alteration-glyph-name-alist
(association list (list of pairs))An alist of key-string pairs.
flat-positions
(list)Flats in key signatures are placed within the specified ranges of staff positions. The general form is a list of pairs, with one pair for each type of clef, in order of the staff position at which each clef places C:
(alto treble tenor soprano baritone mezzosoprano bass)
. If the list contains a single element it applies for all clefs. A single number in place of a pair sets accidentals within the octave ending at that staff position.non-default
(boolean)Set for manually specified clefs and keys.
padding
(dimension, in staff space)Add this much extra space between objects that are next to each other.
padding-pairs
(association list (list of pairs))An alist of padding pairs for key signatures (and key cancellations). Each alist entry has the form
((left-glyph-name . right-glyph-name) . dist)specifying the padding dist between two adjacent key signature elements. If there is no entry in the alist for a given pair, the padding value given by the
padding
property of theKeySignature
(orKeyCancellation
) grob is used instead.A special feature is the handling of adjacent naturals (to be more precise, the handling of glyph
accidentals.natural
): If there is no ‘natural-natural’ entry inpadding-pairs
explicitly overriding it, LilyPond adds some extra padding (in addition to the grob’spadding
value) to avoid collisions.sharp-positions
(list)Sharps in key signatures are placed within the specified ranges of staff positions. The general form is a list of pairs, with one pair for each type of clef, in order of the staff position at which each clef places C:
(alto treble tenor soprano baritone mezzosoprano bass)
. If the list contains a single element it applies for all clefs. A single number in place of a pair sets accidentals within the octave ending at that staff position.
Internal properties:
c0-position
(integer)An integer indicating the position of middle C.
This grob interface is used in the following graphical object(s): KeyCancellation
and KeySignature
.
[ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
[ < key-cancellation-interface ] | [ Up : Graphical Object Interfaces ] | [ kievan-ligature-interface > ] |