Next: , Previous: InstrumentName, Up: All layout objects



KeySignature

KeySignature objects are created by: Key_engraver

Standard settings:

print-function (procedure):
Key_signature_interface::print

Function taking grob as argument, returning a Stencil object.

space-alist (list):
'((time-signature extra-space . 1.25) (staff-bar extra-space . 1.1) (right-edge extra-space . 0.5) (first-note fixed-space . 2.5))

A table that specifies distances between prefatory items, like clef and time-signature. The format is an alist of spacing tuples: (break-align-symbol type . distance), where type can be the symbols minimum-space or extra-space.

Y-offset-callbacks (list):
'(#<primitive-procedure Staff_symbol_referencer::callback>)

see X-offset-callbacks.

break-align-symbol (symbol):
'key-signature

This key is used for aligning and spacing breakable items.

break-visibility (procedure):
begin-of-line-visible

A function that takes the break direction and returns a cons of booleans containing (transparent . empty). The following variables are predefined: all-visible, begin-of-line-visible, end-of-line-visible, begin-of-line-invisible, end-of-line-invisible, all-invisible.

breakable (boolean):
#t

Can this object appear at a line break, like clefs and bar lines?

This object supports the following interfaces: item-interface, break-aligned-interface, font-interface, key-signature-interface and grob-interface

Read comments on this page, or add one.

This page is for LilyPond-2.2.6 (stable-branch).

Report errors to <bug-lilypond@gnu.org>.