| [ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
[ < TextScript ] | [ Up: All layout objects ] | [ Tie > ] |
3.1.145 TextSpanner
Text like ‘rit’, usually
followed by a (dashed) line. See also
DynamicTextSpanner.
TextSpanner objects are created by the following engraver(s): Text_spanner_engraver.
Standard settings:
bound-details(alist, with symbols as keys): '((left (padding . 0.25) (attach-dir . -1)) (left-broken (attach-dir . 1)) (right (padding . 0.25)))An alist of properties for determining attachments of spanners to edges.
dash-fraction(number):
0.2Size of the dashes, relative to
dash-period. Should be between0.1and1.0(continuous line). If set to0.0, a dotted line is produceddash-period(number):
3.0The length of one dash together with whitespace. If negative, no line is drawn at all.
direction(direction):
1If
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.font-shape(symbol):
'italicSelect the shape of a font. Possible values are
upright,italic,oblique, andslanted(which is the same asoblique).left-bound-info(alist, with symbols as keys):
ly:horizontal-line-spanner::calc-left-bound-infoAn alist of properties for determining attachments of spanners to edges.
outside-staff-priority(number):
350If 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-priorityis closer to the staff.right-bound-info(alist, with symbols as keys):
ly:horizontal-line-spanner::calc-right-bound-infoAn alist of properties for determining attachments of spanners to edges.
side-axis(number):
1If the value is
X(or equivalently0), the object is placed horizontally next to the other object. If the value isYor1, it is placed vertically.staff-padding(dimension, in staff space):
0.8Maintain 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:line-spanner::printThe symbol to print.
style(symbol):
'dashed-lineThis setting determines in what style a grob is typeset. Valid choices depend on the
stencilcallback reading this property.Y-offset(number):
#<unpure-pure-container ly:side-position-interface::y-aligned-side ly:side-position-interface::pure-y-aligned-side >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.
This object supports the following interface(s):
font-interface, grob-interface, horizontal-line-spanner-interface, line-interface, outside-staff-interface, side-position-interface and spanner-interface.
This object is of class Spanner (characterized by spanner-interface).
| [ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
[ < TextScript ] | [ Up: All layout objects ] | [ Tie > ] |