| [ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
[ < RestCollision ] | [ Up: All layout objects ] | [ ScriptColumn > ] |
3.1.112 Script
An articulation (staccato,
accent, etc.). See also ScriptColumn,
ScriptRow, and MultiMeasureRestScript.
Script objects are created by the following engraver(s): Drum_notes_engraver, New_fingering_engraver and Script_engraver.
Standard settings:
add-stem-support(boolean):
#tIf set, the
Stemobject is included in this script’s support.direction(direction):
ly:script-interface::calc-directionIf
side-axisis0(orX), then this property determines whether the object is placedLEFT,CENTERorRIGHTwith respect to the other object. Otherwise, it determines whether the object is placedUP,CENTERorDOWN. Numerical values may also be used:UP=1,DOWN=-1,LEFT=-1,RIGHT=1,CENTER=0.extra-spacing-height(pair of numbers):
horizontal-script::extra-spacing-heightIn the horizontal spacing problem, we increase the height of each item by this amount (by adding the ‘car’ to the bottom of the item and adding the ‘cdr’ to the top of the item). In order to make a grob infinitely high (to prevent the horizontal spacing problem from placing any other grobs above or below this grob), set this to
(-inf.0 . +inf.0).font-encoding(symbol):
'fetaMusicThe font encoding is the broadest category for selecting a font. Currently, only lilypond’s system fonts (Emmentaler) are using this property. Available values are
fetaMusic(Emmentaler),fetaBraces,fetaText(Emmentaler).horizon-padding(number):
0.1The amount to pad the axis along which a
Skylineis built for theside-position-interface.self-alignment-X(number):
0Specify alignment of an object. The value
-1means left aligned,0centered, and1right-aligned in X direction. Other numerical values may also be specified - the unit is half the object width. If not a number, align on the object’s reference point.slur-padding(number):
0.2Extra distance between slur and script.
staff-padding(dimension, in staff space):
0.25Maintain 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:script-interface::printThe symbol to print.
vertical-skylines(pair of skylines):
#<unpure-pure-container ly:grob::vertical-skylines-from-stencil >Two skylines, one above and one below this grob.
X-offset(number):
script-interface::calc-x-offsetThe 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:grob::stencil-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 at lily/output-lib.scm:1923:11 (grob . rest)> >The vertical amount that this object is moved relative to its Y-parent.
Note that many objects have special positioning considerations, which cause any setting of
Y-offsetto be ignored or modified, even though the object supports theself-alignment-interface.
Remarks:
- The
ledger-positionsproperty holds positions that are taken as-is. Ledger lines may be placed on staff lines. Ifledger-positionsis not set for this grob but forNoteHead, use the latter one. If this isn’t set either, use either the value set viaStaffSymbolor fall back to the standard value.
This object supports the following interface(s):
font-interface, grob-interface, item-interface, ledgered-grob-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 >> ] |
[ < RestCollision ] | [ Up: All layout objects ] | [ ScriptColumn > ] |