MusicXML 4.1 Draft
MusicXML 4.1 Draft > MusicXML Reference > Elements > The <staff-layout> element

The <staff-layout> element

Parent elements: <defaults><print>

Staff layout includes the vertical distance from the bottom line of the previous staff in this system to the top line of the staff specified by the number attribute. The optional number attribute refers to staff numbers within the part, from top to bottom on the system. A value of 1 is used if not present.

When used in the defaults element, the values apply to all systems in all parts. When used in the print element, the values apply to the current system only. This value is ignored for the first staff in a system.

Content

<staff-distance>  (Optional)

Attributes

Name Type Required? Description
number staff-number No

Examples

This element is used in the following examples:

<pedal> (Lines)<staff-distance>Tutorial: Après un rêveTutorial: Chopin PreludeTutorial: PercussionTutorial: Tablature