Next: slur-interface, Previous: separation-item-interface, Up: Graphical Object Interfaces
Position a victim object (this one) next to other objects (the support). The property direction signifies where to put the victim object relative to the support (left or right, up or down?)
The routine also takes the size the staff into account if staff-padding is set. If undefined, the staff symbol is ignored.
direction(direction)- If
side-axisis1(or#X), then this property determines whether the object is placed#LEFT,#CENTERor#RIGHTwith respect to the other object. Otherwise, it determines whether the object is placed#UP,#CENTERor #DOWN. Numerical values may also be used:#UP=1,#DOWN=-1,#LEFT=-1,#RIGHT=1,CENTER=0but also other numerical values are permitted.minimum-space(dimension, in staff space)- Minimum distance that the victim should move (after padding).
padding(dimension, in staff space)- Add this much extra space between objects that are next to each other.
side-axis(number)- If the value is
#X(or equivalently1), the object is placed horizontally next to the other object. If the value is#Yor0, it is placed vertically.side-relative-direction(direction)- Multiply direction of
direction-sourcewith this to get the direction of this object.slur-padding(number)- Extra distance between slur and script.
staff-padding(dimension, in staff space)- Maintain this much space between reference points and the staff. Its effect is to align objects of differing sizes (like the dynamic p and f) on their baselines.
direction-source(layout object)- in case side-relative-direction is set, which grob to get the direction from .
quantize-position(boolean)- If set, a vertical alignment is aligned to be within staff spaces.
side-support-elements(unknown)- the support, a list of grobs.
This grob interface is used in the following graphical objects: AccidentalSuggestion, AmbitusAccidental, Arpeggio, BarNumber, BassFigureAlignmentPositioning, CombineTextScript, DoublePercentRepeatCounter, DynamicLineSpanner, Fingering, HorizontalBracket, InstrumentName, InstrumentSwitch, MeasureGrouping, MetronomeMark, MultiMeasureRestNumber, MultiMeasureRestText, OctavateEight, OttavaBracket, PercentRepeatCounter, RehearsalMark, Script, SostenutoPedalLineSpanner, StanzaNumber, StringNumber, StrokeFinger, SustainPedalLineSpanner, SystemStartBar, SystemStartBrace, SystemStartBracket, SystemStartSquare, TextScript, TextSpanner, TrillPitchAccidental, TrillPitchGroup, TrillSpanner, UnaCordaPedalLineSpanner, VoltaBracket and VoltaBracketSpanner
Next: slur-interface, Previous: separation-item-interface, Up: Graphical Object Interfaces
Esta página corresponde a LilyPond-2.11.28 (rama de desarrollo).
Informe de los fallos a http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.
Your suggestions for the documentation are welcome.