MusicXML 4.1 Draft
MusicXML 4.1 Draft > MusicXML Reference > Elements > The <measure-numbering> element

The <measure-numbering> element

Parent element: <print>

measure-numbering

The measure-numbering type describes how frequently measure numbers are displayed on this part. The text attribute from the measure element is used for display, or the number attribute if the text attribute is not present. Measures with an implicit attribute set to “yes” never display a measure number, regardless of the measure-numbering setting.

The optional staff attribute refers to staff numbers within the part, from top to bottom on the system. It indicates which staff is used as the reference point for vertical positioning. A value of 1 is assumed if not present.

The optional multiple-rest-always and multiple-rest-range attributes describe how measure numbers are shown on multiple rests when the measure-numbering value is not set to none. The multiple-rest-always attribute is set to yes when the measure number should always be shown, even if the multiple rest starts midway through a system when measure numbering is set to system level. The multiple-rest-range attribute is set to yes when measure numbers on multiple rests display the range of numbers for the first and last measure, rather than just the number of the first measure.

Content

measure-numbering-value

Attributes

Name Type Required? Description
color color No
default-x tenths No
default-y tenths No
font-family font-family No
font-size font-size No
font-style font-style No
font-weight font-weight No
halign left-center-right No
multiple-rest-always yes-no No
multiple-rest-range yes-no No
relative-x tenths No
relative-y tenths No
staff staff-number No The staff element is defined within a group due to its use by both notes and direction elements.
system system-relation-number No
valign valign No

Examples

This element is used in the following examples:

<attributes><instrument-change><measure-numbering>Tutorial: Après un rêveTutorial: Chopin PreludeTutorial: Chord SymbolsTutorial: PercussionTutorial: Tablature