The <symbol> element
Parent element: <direction-type>
The symbol element specifies a musical symbol using a canonical SMuFL glyph name. It is used when an occasional musical symbol is interspersed into text. It should not be used in place of semantic markup, such as metronome marks that mix text and symbols. Left justification is used if not specified. Enclosure is none if not specified.
Content
smufl-glyph-nameAttributes
| 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 | |
| id | xs:ID | 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 |
Examples
This element is used in the following example: