MusicXML 4.1 Draft
MusicXML 4.1 Draft > MusicXML Reference > Elements > The <line> element

The <line> element

Parent elements: <clef><part-clef>

Line numbers are counted from the bottom of the staff. They are only needed with the G, F, and C signs in order to position a pitch correctly on the staff. Standard values are 2 for the G sign (treble clef), 4 for the F sign (bass clef), and 3 for the C sign (alto clef). Line values can be used to specify positions outside the staff, such as a C clef positioned in the middle of a grand staff.

Content

staff-line-position

Attributes

None.

Examples

This element is used in the following examples:

<assess> and <player><attributes><concert-score> and <for-part><double><instrument-change><line-detail><line><measure-distance><part-symbol><pedal> (Lines)<score-timewise><staff-type><staves>Alto ClefBaritone C ClefBaritone F ClefBass ClefBass Clef (Down Octave)Mezzo Soprano ClefSoprano ClefTAB ClefTenor ClefTreble ClefTutorial: Après un rêveTutorial: Chopin PreludeTutorial: Chord SymbolsTutorial: Hello, WorldTutorial: PercussionTutorial: TablatureVocal Tenor Clef