| [ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
[ < StrokeFinger ] | [ Up: All layout objects ] | [ SustainPedalLineSpanner > ] |
3.1.135 SustainPedal
A sustain pedal mark. See also
SustainPedalLineSpanner, PianoPedalBracket,
SostenutoPedal, and UnaCordaPedal.
SustainPedal objects are created by the following engraver(s): Piano_pedal_engraver.
Standard settings:
extra-spacing-width(pair of numbers): '(+inf.0 . -inf.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).padding(dimension, in staff space):
0.0Add this much extra space between objects that are next to each other.
parent-alignment-X(number):
#fSpecify on which point of the parent the object is aligned. The value
-1means aligned on parent’s left edge,0on center, and1right edge, in X direction. Other numerical values may also be specified - the unit is half the parent’s width. If not a number, align on the parent’s reference point. If unset, the value fromself-alignment-Xproperty will be used.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.stencil(stencil):
ly:sustain-pedal::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):
ly:self-alignment-interface::aligned-on-x-parentThe 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.
This object supports the following interface(s):
font-interface, grob-interface, item-interface, piano-pedal-interface, piano-pedal-script-interface, self-alignment-interface and text-interface.
This object is of class Item (characterized by item-interface).
| [ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
[ < StrokeFinger ] | [ Up: All layout objects ] | [ SustainPedalLineSpanner > ] |