MusicXML 4.1 Draft
< >elements
@attributes
MusicXML 4.1 Draft>Elements>The <measure-style> element

The <measure-style> element

Parent element: <attributes>

The <measure-style> element indicates a special way to print partial to multiple measures within a part. This includes multiple rests over several measures, repeats of beats, single, or multiple measures, and use of slash notation.

The <multiple-rest> and <measure-repeat> elements indicate the number of measures covered in the element content. The <beat-repeat> and <slash> elements can cover partial measures. All but the multiple-rest element use a type attribute to indicate starting and stopping the use of the style.

Content

Attributes

NameTypeRequired?(Default)Description
colorcolorNoIndicates the color of an element.
Indicates the color of an element.
font-familyfont-familyNoA comma-separated list of font names.
A comma-separated list of font names.
font-sizefont-sizeNoOne of the CSS sizes or a numeric point size.
One of the CSS sizes or a numeric point size.
font-stylefont-styleNoNormal or italic style.
Normal or italic style.
font-weightfont-weightNoNormal or bold weight.
Normal or bold weight.
idxs:IDNoSpecifies an ID that is unique to the entire document.
Specifies an ID that is unique to the entire document.
numberstaff-numberNoAllows a measure style to apply to only the specified staff in the part. If absent, the measure style applies to all staves in the part.
Allows a measure style to apply to only the specified staff in the part. If absent, the measure style applies to all staves in the part.

Examples

This element is used in the following examples:

<beat-repeat><except-voice><measure-repeat><multiple-rest><slash-type> and <slash-dot><slash>Tutorial: Percussion