| [ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
| [ < All layout objects ] | [ Up: All layout objects ] | [ AccidentalCautionary > ] |
3.1.1 Accidental
An accidental. Horizontal
padding and configuration between accidentals is controlled
by the AccidentalPlacement grob.
Accidental objects are created by the following engraver(s): Accidental_engraver.
Standard settings:
after-line-breaking(boolean):
ly:accidental-interface::remove-tiedDummy property, used to trigger callback for
after-line-breaking.alteration(number):
accidental-interface::calc-alterationAlteration numbers for accidental.
avoid-slur(symbol):
'insideMethod of handling slur collisions. Choices are
inside,outside,around, andignore.insideadjusts the slur if needed to keep the grob inside the slur.outsidemoves the grob vertically to the outside of the slur.aroundmoves the grob vertically to the outside of the slur only if there is a collision.ignoredoes not move either. In grobs whose notational significance depends on vertical position (such as accidentals, clefs, etc.),outsideandaroundbehave likeignore.extra-spacing-width(pair of numbers): '(-0.2 . 0.0)In the horizontal spacing problem, we pad each item by this amount (by adding the ‘car’ on the left side of the item and adding the ‘cdr’ on the right side of the item). In order to make a grob take up no horizontal space at all, set this to
(+inf.0 . -inf.0).glyph-name(string):
accidental-interface::calc-glyph-nameThe glyph name within the font.
In the context of (span) bar lines or clefs, glyph-name represents a processed form of
glyph, where decisions about line breaking, etc., are already taken.horizontal-skylines(pair of skylines):
#<unpure-pure-container ly:accidental-interface::horizontal-skylines >Two skylines, one to the left and one to the right of this grob.
stencil(stencil):
ly:accidental-interface::printThe symbol to print.
vertical-skylines(pair of skylines):
#<unpure-pure-container ly:grob::vertical-skylines-from-stencil ly:grob::pure-simple-vertical-skylines-from-extents >Two skylines, one above and one below this grob.
X-offset(number):
ly:grob::x-parent-positioningThe horizontal amount that this object is moved relative to its X-parent.
Note that many objects have special positioning considerations, which cause any setting of
X-offsetto be ignored or modified, even though the object supports theself-alignment-interface.Y-extent(pair of numbers):
#<unpure-pure-container ly:accidental-interface::height >Extent (size) in the Y direction, measured in staff-space units, relative to object’s reference point.
This object supports the following interface(s):
accidental-interface, accidental-switch-interface, font-interface, grob-interface, inline-accidental-interface and item-interface.
This object is of class Item (characterized by item-interface).
| [ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
| [ < All layout objects ] | [ Up: All layout objects ] | [ AccidentalCautionary > ] |