KeySignature - LilyPond program-reference
Description: LilyPond program-reference

Next: LaissezVibrerTie, Previous: KeyCancellation, Up: All layout objects

#### KeySignature

KeySignature objects are created by: Key_engraver

Standard settings:

`stencil` (unknown):
  `ly:key-signature-interface::print`

  The symbol to print.

`avoid-slur` (symbol):
  `'inside`

  Method of handling slur collisions. Choices are `around`, `inside`, `outside`. If unset, script and slur ignore eachother.

`space-alist` (list):
  `'((time-signature extra-space . 1.15) (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` (number):
  `ly:staff-symbol-referencer::callback`

  The vertical amount that this object is moved relative to its Y-parent

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

  This key is used for aligning and spacing breakable items.

`break-visibility` (vector):
  `#(#f #f #t)`

  A vector of 3 booleans, #(end-of-line unbroken begin-of-line). #t means visible, #f means killed.

`non-musical` (boolean):
  `#t`

  True if the grob belongs in a NonMusicalPaperColumn.

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

Next: LaissezVibrerTie, Previous: KeyCancellation, Up: All layout objects

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