AccidentalSuggestion - LilyPond program-reference
Description: LilyPond program-reference

Next: Ambitus, Previous: AccidentalPlacement, Up: All layout objects

#### AccidentalSuggestion

AccidentalSuggestion objects are created by: Accidental_engraver

Standard settings:

`stencil` (unknown):
  `ly:accidental-interface::print`

  The symbol to print.

`X-offset` (number):
  `#<simple-closure (#<primitive-generic +> #<simple-closure (#<primitive-procedure ly:self-alignment-interface::centered-on-x-parent>) > #<simple-closure (#<primitive-procedure ly:self-alignment-interface::x-aligned-on-self>) >) >`

  The horizontal amount that this object is moved relative to its X-parent

`self-alignment-X` (number):
  `0`

  Specify alignment of an object. The value -1 means left aligned, 0 centered, and 1 right-aligned in X direction. Values in between may also be specified.

`cautionary` (boolean):
  `#t`

  Is this a cautionary accidental?

`cautionary-style` (symbol):
  `'smaller`

  How to print cautionary accidentals. Choices are `smaller` or `parentheses`.

`Y-offset` (number):
  `ly:side-position-interface::y-aligned-side`

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

`cautionary-style` (symbol):
  `'smaller`

  How to print cautionary accidentals. Choices are `smaller` or `parentheses`.

`direction` (direction):
  `1`

  If side-position is 1 (#X), then this property determines if the object is placed #LEFT, #CENTER or #RIGHT with respect to the other object. Otherwise, it determines if the object is placed #UP #CENTER or #DOWN. Numerical values may also be used. #UP=1, #DOWN=-1, #LEFT=-1, #RIGHT=1, CENTER=0 but also other numerical values are permitted.

`staff-padding` (dimension, in staff space):
  `0.25`

  Maintain this much space between reference points and the staff. Its effect is to align objects of differing sizes (like the dynamic p and f) on their baselines.

`script-priority` (number):
  `0`

  A sorting key that determines in what order a script is within a stack of scripts.

`side-axis` (number):
  `0`

  If the value is #X (or equivalently 1), the object is placed horizontally next to the other object. If the value is #Y or 0, it is placed vertically.

This object supports the following interfaces: side-position-interface, self-alignment-interface, script-interface, item-interface, font-interface, accidental-suggestion-interface, accidental-interface and grob-interface

Next: Ambitus, Previous: AccidentalPlacement, Up: All layout objects

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