| [ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
[ < TextSpanner ] | [ Up: All layout objects ] | [ TieColumn > ] |
3.1.146 Tie
A tie. See also
TieColumn, LaissezVibrerTie, and
RepeatTie.
Tie objects are created by the following engraver(s): Completion_heads_engraver and Tie_engraver.
Standard settings:
avoid-slur(symbol):
'insideMethod of handling slur collisions. Choices are
inside,outside,around, andignore.insideadjusts the slur if needed to keep the grob inside the slur.outsidemoves the grob vertically to the outside of the slur.aroundmoves the grob vertically to the outside of the slur only if there is a collision.ignoredoes not move either. In grobs whose notational significance depends on vertical position (such as accidentals, clefs, etc.),outsideandaroundbehave likeignore.control-points(list of number pairs):
ly:tie::calc-control-pointsList of offsets (number pairs) that form control points for the tie, slur, or bracket shape. For Béziers, this should list the control points of a third-order Bézier curve.
details(alist, with symbols as keys):'((between-length-limit . 1.0) (center-staff-line-clearance . 0.6) (dot-collision-clearance . 0.25) (dot-collision-penalty . 0.25) (height-limit . 1.0) (horizontal-distance-penalty-factor . 10) (intra-space-threshold . 1.25) (min-length . 1.0) (min-length-penalty-factor . 26) (multi-tie-region-size . 3) (note-head-gap . 0.2) (outer-tie-length-symmetry-penalty-factor . 10) (outer-tie-vertical-distance-symmetry-penalty-factor . 10) (outer-tie-vertical-gap . 0.25) (ratio . 0.333) (same-dir-as-stem-penalty . 8) (single-tie-region-size . 4) (skyline-padding . 0.05) (staff-line-collision-penalty . 5) (stem-gap . 0.35) (tie-column-monotonicity-penalty . 100) (tie-tie-collision-distance . 0.45) (tie-tie-collision-penalty . 25.0) (tip-staff-line-clearance . 0.45) (vertical-distance-penalty-factor . 7) (wrong-direction-offset-penalty . 10))An alist of parameters for detailed grob behavior. See All layout objects for more information on the available parameters and their default values of a particular grob’s
detailsproperty. See Graphical Object Interfaces for documentation of the available parameters. Supporting interfaces can be found at the bottom of a grob’s description section.direction(direction):
ly:tie::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.font-size(number):
-6The font size, compared to the ‘normal’ size.
0is style-sheet’s normal size,-1is smaller,+1is bigger. Each step of 1 is approximately 12% larger; 6 steps are exactly a factor 2 larger. If the context propertyfontSizeis set, its value is added to this before the glyph is printed. Fractional values are allowed.line-thickness(number):
0.8For slurs and ties, this is the diameter of the virtual “pen” that draws the two arcs of the curve’s outline, which intersect at the endpoints. This property is expressed as a multiple of the current staff-line thickness (i.e., the visual output is influenced by changes to
Staff.StaffSymbol.thickness).neutral-direction(direction):
1Which direction to take in the center of the staff.
springs-and-rods(boolean):
ly:spanner::set-spacing-rodsDummy variable for triggering spacing routines.
stencil(stencil):
ly:tie::printThe symbol to print.
thickness(number):
1.2For grobs made up of lines, this is the thickness of the line. For slurs and ties, this is the distance between the two arcs of the curve’s outline at its thickest point, not counting the diameter of the virtual “pen” that draws the arcs. This property is expressed as a multiple of the current staff-line thickness (i.e., the visual output is influenced by changes to
Staff.StaffSymbol.thickness).vertical-skylines(pair of skylines):
#<unpure-pure-container ly:grob::vertical-skylines-from-stencil ly:grob::pure-simple-vertical-skylines-from-extents >Two skylines, one above and one below this grob.
This object supports the following interface(s):
bezier-curve-interface, grob-interface, spanner-interface and tie-interface.
This object is of class Spanner (characterized by spanner-interface).
| [ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
[ < TextSpanner ] | [ Up: All layout objects ] | [ TieColumn > ] |