![]() The symbols DOWN,ĬENTER, and UP may be substituted for -1,īy setting both X-offset and Y-offset, an object mayīe aligned in both directions simultaneously. Parent, and a value of 1 aligns the top edge of the object The reference point of the parent object, a value of 0Īligns the center of the object with the reference point of the Is usually quite small, so quite large numbers may be required.Ī value of -1 aligns the lower edge of the object with The units are just half the vertical extent of the object, which This may make adjusting the value of some objects tricky. Value of Y-offset is just one variable taken into account. ![]() Other mechanisms are often involved in vertical alignment: the Ly:self-alignment-interface::y-aligned-on-self. Them horizontally if the Y-offset property is set to Objects may be aligned vertically in an analogous way to aligning Value of self-alignment-X, but the \tweak commandĬan be used to separately align several annotations on a singleĪ' -\tweak self-alignment-X # -1 ^"left-aligned" -\tweak self-alignment-X # 0 ^"center-aligned" -\tweak self-alignment-X # RIGHT ^"right-aligned" -\tweak self-alignment-X # -2.5 ^"aligned further to the right" Normally the \override command would be used to modify the The symbols LEFT,ĬENTER, and RIGHT may be used instead of the values Left edge of the object on the reference point of its parent,Īnd a value of 1 aligns the right edge of the object on the Reference point of its parent, a value of -1 aligns the Negative values move the object to the right, positive Real value, in units of half the total X extent of the Ly:self-alignment-interface::x-aligned-on-self. The self-alignment-X property, provided the object’s Self-alignment-interface is controlled by the value of The horizontal alignment of an object which supports the Using the self-alignment-interface Self-aligning objects horizontally Place the object to the top or bottom of the parent according This procedure will return the correct value of Y-offset to The procedure ly:side-position-interface::y-aligned-side. When side-axis is 1, Y-offset should be set to Place the object to the left or right side of the parent according This procedure will return the correct value of X-offset to The procedure ly:side-position-interface::x-aligned-side. When side-axis is 0, X-offset should be set to The values of the side-axis and direction propertiesĭetermine where the object is to be placed, as follows: The parent cannot be specified it is determined by the order ofĮlements in the input stream. ![]() Placed above, below, to the right or to the left of the parent. The specified edges of the two objects touch. Notes with the default fingering position and the positions with X-offsetĪ' -3 a' -\tweak X-offset # 0 -\tweak Y-offset # 0 -3 a' -\tweak X-offset # -1 -\tweak Y-offset # 1 -3Īn object which supports the side-position-interface can be Numerical values may be given to the X-offset and Y-offset ThereĪre special properties to be found in the break-aligned-interfaceįor positioning rehearsal marks on such objects. Lines, clef symbols, time signature symbols and key signatures. Rehearsal marks may be aligned with breakable objects such as bar Y-offset but any changes to X-offset have no effect. Self-alignment property to be disregarded.įor example, an accidental can be repositioned vertically by setting Or Y-offset properties to a fixed value causes the respective Ignored or modified, even though the object supports the Note: Many objects have special positioning considerations whichĬause any setting of X-offset or Y-offset to be ![]() To achieve alignment with the parent object. The values of X-offset and Y-offset mayīe set directly or may be set to be calculated by procedures in order Y-offset gives the displacement from the center line of the The reference point of the parent object, and the value of X-offset gives the displacement from the X coordinate of Point to the bottom and top edges, displacements down being negative.Īn object’s position on a staff is given by the values of the The verticalĮxtent is a pair of numbers giving the displacement from the reference Right edges, displacements to the left being negative. Giving the displacements from the reference point of the left and The horizontal extent is a pair of numbers Self-alignment-interface and side-position-interface.Īll graphical objects have a reference point, a horizontal extent and a Graphical objects which support the self-alignment-interfaceĪnd/or the side-position-interface can be aligned to a previously
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |