| [ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
[ < Hairpin ] | [ Up: All layout objects ] | [ HorizontalBracketText > ] |
3.1.64 HorizontalBracket
A horizontal bracket between
notes. See also HorizontalBracketText and
MeasureSpanner.
HorizontalBracket objects are created by the following engraver(s): Horizontal_bracket_engraver.
Standard settings:
bracket-flare(pair of numbers): '(0.5 . 0.5)A pair of numbers specifying how much edges of brackets should slant outward. Value
0.0means straight edges.break-overshoot(pair of numbers):
horizontal-bracket::calc-break-overshootA pair of numbers specifying how much a broken spanner sticks out of its bounds horizontally on the broken side(s). For broken beams and broken tuplet brackets, the bounds are given by the prefatory matter on the left and/or the rightmost column on the right. For broken horizontal brackets, the bounds are the leftmost and/or rightmost column; for broken measure spanners, the left and/or right edge of the staff.
connect-to-neighbor(pair):
ly:spanner::calc-connect-to-neighborsPair of booleans, indicating whether this grob looks as a continued break.
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.outside-staff-priority(number):
800If 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.padding(dimension, in staff space):
0.2Add this much extra space between objects that are next to each other.
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.2Maintain 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:horizontal-bracket::printThe symbol to print.
thickness(number):
1.0For 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.
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):
grob-interface, horizontal-bracket-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 >> ] |
[ < Hairpin ] | [ Up: All layout objects ] | [ HorizontalBracketText > ] |