MusicXML 4.1 Draft
MusicXML 4.1 Draft > MusicXML Reference > Elements > The <lyric-font> element

The <lyric-font> element

Parent element: <defaults>

The <lyric-font> element specifies the default font for a particular name and number of lyric.

Content

Always empty.

Attributes

Name Type Required?(Default) Description
font-family font-family No A comma-separated list of font names.
A comma-separated list of font names.
font-size font-size No One of the CSS sizes or a numeric point size.
One of the CSS sizes or a numeric point size.
font-style font-style No Normal or italic style.
Normal or italic style.
font-weight font-weight No Normal or bold weight.
Normal or bold weight.
name xs:token No The lyric name for which this is the default, corresponding to the name attribute in the <lyric> element.
The lyric name for which this is the default, corresponding to the name attribute in the <lyric> element.
number xs:NMTOKEN No The lyric number for which this is the default, corresponding to the number attribute in the <lyric> element.
The lyric number for which this is the default, corresponding to the number attribute in the <lyric> element.

Examples

This element is used in the following example:

Tutorial: Après un rêve