3.2.24 centered-text-interface

A spanner that interprets a markup centered between two columns.

User settable properties:

self-alignment-X (number)

Specify alignment of an object. The value -1 means left aligned, 0 centered, and 1 right-aligned in X direction. Other numerical values may also be specified - the unit is half the object width.

spacing-pair (pair)

A pair of alignment symbols which set an object’s spacing relative to its left and right BreakAlignments.

For example, a MultiMeasureRest will ignore prefatory items at its bounds (i.e., clefs, key signatures and time signatures) using the following override:

\override MultiMeasureRest.spacing-pair =
             #'(staff-bar . staff-bar)

This grob interface is used in the following graphical object(s): CenteredBarNumber and MeasureCounter.


Internals Reference v2.23.4 (development-branch).