MusicXML 4.1 Draft
MusicXML 4.1 Draft > MusicXML Reference > Elements > The <display-text> element

The <display-text> element

Parent elements: <group-abbreviation-display><group-name-display><notehead-text><part-abbreviation-display><part-name-display>

The formatted-text type represents a text element with text-formatting attributes.

Content

xs:string

Attributes

Name Type Required? Description
color color No
default-x tenths No
default-y tenths No
dir text-direction No
enclosure enclosure-shape 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
justify left-center-right No
letter-spacing number-or-normal No
line-height number-or-normal No
line-through number-of-lines No
overline number-of-lines No
relative-x tenths No
relative-y tenths No
rotation rotation-degrees No
underline number-of-lines No
valign valign No
xml:lang No
xml:space No

Examples

This element is used in the following examples:

<assess> and <player><group-abbreviation-display><group-name-display><instrument-change><notehead-text><part-abbreviation-display><part-link><part-name-display>