MusicXML 4.1 Draft
< >elements
@attributes
MusicXML 4.1 Draft>Elements>The <line-detail> element

The <line-detail> element

Parent element: <staff-details>

If the <staff-lines> element is present, the appearance of each line may be individually specified with a <line-detail> element.

The print-object attribute allows lines to be hidden within a staff. This is used in special situations such as a widely-spaced percussion staff where a note placed below the higher line is distinct from a note placed above the lower line. Hidden staff lines are included when specifying clef lines and determining <display-step> / <display-octave> values, but are not counted as lines for the purposes of the <system-layout> and <staff-layout> elements.

Content

Always empty.

Attributes

NameTypeRequired?(Default)Description
linestaff-lineYesIndicates the staff line affected, numbered from bottom to top.
Indicates the staff line affected, numbered from bottom to top.
colorcolorNoIndicates the color of an element.
Indicates the color of an element.
line-typeline-typeNoSpecifies if the line is solid, dashed, dotted, or wavy.
Specifies if the line is solid, dashed, dotted, or wavy.
print-objectyes-noNoSpecifies whether or not to print an object. It is yes if not specified.
Specifies whether or not to print an object. It is yes if not specified.
widthtenthsNoStaff line width in tenths.
Staff line width in tenths.

Examples

This element is used in the following example:

<line-detail>