3.1.1 Accidental

Accidental objects are created by: Accidental_engraver.

Standard settings:

avoid-slur (symbol):

'inside

Method of handling slur collisions. Choices are around, inside, outside. If unset, scripts and slurs ignore each other. around only moves the script if there is a collision; outside always moves the script.

glyph-name-alist (list):

'((0 . accidentals.natural) (-1/2 . accidentals.flat) (1/2 . accidentals.sharp) (1 . accidentals.doublesharp) (-1 . accidentals.flatflat) (3/4 . accidentals.sharp.slashslash.stemstemstem) (1/4 . accidentals.sharp.slashslash.stem) (-1/4 . accidentals.mirroredflat) (-3/4 . accidentals.mirroredflat.flat))

An alist of key-string pairs.

alteration (number):

accidental-interface::calc-alteration

Alteration numbers for accidental.

stencil (unknown):

ly:accidental-interface::print

The symbol to print.

Y-extent (pair of numbers):

ly:accidental-interface::height

Hard coded extent in Y direction.

X-extent (pair of numbers):

ly:accidental-interface::width

Hard coded extent in X direction.

This object supports the following interface(s): item-interface, font-interface, accidental-interface and grob-interface.


Internals Reference