[ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
[ < AccidentalPlacement ] | [ Up : All layout objects ] | [ Ambitus > ] |
3.1.4 AccidentalSuggestion
An annotational accidental as used in musica ficta. Normally positioned above a note.
AccidentalSuggestion
objects are created by: Accidental_engraver
.
Standard settings:
-
after-line-breaking
(boolean): ly:accidental-interface::remove-tied
Dummy property, used to trigger callback for
after-line-breaking
.-
alteration
(number): accidental-interface::calc-alteration
Alteration numbers for accidental.
-
direction
(direction): 1
If
side-axis
is0
(orX
), then this property determines whether the object is placedLEFT
,CENTER
orRIGHT
with respect to the other object. Otherwise, it determines whether the object is placedUP
,CENTER
orDOWN
. Numerical values may also be used:UP
=1
,DOWN
=-1
,LEFT
=-1
,RIGHT
=1
,CENTER
=0
.-
font-size
(number): -2
The font size, compared to the ‘normal’ size.
0
is style-sheet’s normal size,-1
is smaller,+1
is bigger. Each step of 1 is approximately 12% larger; 6 steps are exactly a factor 2 larger. If the context propertyfontSize
is set, its value is added to this before the glyph is printed. Fractional values are allowed.-
glyph-name
(string): accidental-interface::calc-glyph-name
The glyph name within the font.
In the context of (span) bar lines, glyph-name represents a processed form of
glyph
, where decisions about line breaking, etc., are already taken.-
outside-staff-priority
(number): 0
If set, the grob is positioned outside the staff in such a way as to avoid all collisions. In case of a potential collision, the grob with the smaller
outside-staff-priority
is closer to the staff.-
parent-alignment-X
(number): 0
Specify on which point of the parent the object is aligned. The value
-1
means aligned on parent’s left edge,0
on center, and1
right edge, in X direction. Other numerical values may also be specified - the unit is half the parent’s width. If unset, the value fromself-alignment-X
property will be used.-
script-priority
(number): 0
A key for determining the order of scripts in a stack, by being added to the position of the script in the user input, the sum being the overall priority. Smaller means closer to the head.
-
self-alignment-X
(number): 0
Specify alignment of an object. The value
-1
means left aligned,0
centered, and1
right-aligned in X direction. Other numerical values may also be specified - the unit is half the object width.-
side-axis
(number): 1
If the value is
X
(or equivalently0
), the object is placed horizontally next to the other object. If the value isY
or1
, it is placed vertically.-
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 dynamics p and f) on their baselines.
-
stencil
(stencil): ly:accidental-interface::print
The symbol to print.
-
X-offset
(number): ly:self-alignment-interface::aligned-on-x-parent
The horizontal amount that this object is moved relative to its X-parent.
-
Y-extent
(pair of numbers): #<unpure-pure-container #<procedure ly:accidental-interface::height (_)> >
Extent (size) in the Y direction, measured in staff-space units, relative to object’s reference point.
-
Y-offset
(number): #<unpure-pure-container #<procedure ly:side-position-interface::y-aligned-side (_ #:optional _)> #<procedure ly:side-position-interface::pure-y-aligned-side (_ _ _ #:optional _)> >
The vertical amount that this object is moved relative to its Y-parent.
This object supports the following interface(s):
accidental-interface
, accidental-suggestion-interface
, accidental-switch-interface
, font-interface
, grob-interface
, item-interface
, outside-staff-interface
, script-interface
, self-alignment-interface
and side-position-interface
.
This object is of class Item (characterized by item-interface
).
[ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
[ < AccidentalPlacement ] | [ Up : All layout objects ] | [ Ambitus > ] |