### 3.1.69 MeasureGrouping

MeasureGrouping objects are created by: Measure_grouping_engraver.

Standard settings:

> `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`.

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

>   `2.0`

>   Height of an object in `staff-space` units.

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

>   `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):

>   `3`

>   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:measure-grouping::print`

>   The symbol to print.

> `thickness` (number):

>   `1`

>   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, measure-grouping-interface, side-position-interface and spanner-interface.

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