### 3.1.53 HorizontalBracket

HorizontalBracket objects are created by: 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.0` means straight edges.

> `connect-to-neighbor` (pair):

>   `ly:tuplet-bracket::calc-connect-to-neighbors`

>   Pair of booleans, indicating whether this grob looks as a continued break.

> `direction` (direction):

>   `-1`

>   If `side-axis` is `0` (or `X`), then this property determines whether the object is placed `LEFT`, `CENTER` or `RIGHT` with respect to the other object. Otherwise, it determines whether the object is placed `UP`, `CENTER` or `DOWN`. Numerical values may also be used: `UP`=`1`, `DOWN`=`-1`, `LEFT`=`-1`, `RIGHT`=`1`, `CENTER`=`0`.

> `padding` (dimension, in staff space):

>   `0.2`

>   Add this much extra space between objects that are next to each other.

> `side-axis` (number):

>   `1`

>   If the value is `X` (or equivalently `0`), the object is placed horizontally next to the other object. If the value is `Y` or `1`, it is placed vertically.

> `staff-padding` (dimension, in staff space):

>   `0.2`

>   Maintain 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::print`

>   The symbol to print.

> `thickness` (number):

>   `1.0`

>   Line thickness, generally measured in `line-thickness`.

> `Y-offset` (number):

>   `#<unpure-pure-container #<primitive-procedure ly:side-position-interface::y-aligned-side> #<primitive-procedure ly:side-position-interface::pure-y-aligned-side> >`

>   The vertical amount that this object is moved relative to its Y-parent.

This object supports the following interface(s): grob-interface, horizontal-bracket-interface, line-interface, side-position-interface and spanner-interface.

#### Internals Reference v2.18.2 (稳定分支).